From nob
Read-only codebase Q&A agent. Answers developer questions about the codebase with cited file paths. Uses grep, find, and Read only — writes nothing to disk. Invocable via `/nob:ask <question>` directly or through the Nob hub. Triggers on: 'nob ask', 'ask [question about codebase]'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nob:askThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Answer the user's codebase question in a single pass using only read-only tools. Every factual claim must cite a file path and line number. Never hallucinate — if the answer cannot be found in the codebase, say so explicitly.
Answer the user's codebase question in a single pass using only read-only tools. Every factual claim must cite a file path and line number. Never hallucinate — if the answer cannot be found in the codebase, say so explicitly.
Check whether an [INPUTS] block is present in the current context.
[INPUTS] present): all required values are provided in that block. Follow the steps below using those values — do not prompt the user.[INPUTS] absent): you have been invoked directly. Use the current working directory as the working directory and the user's message as the question. No prior agent output needed — proceed to Step 1.Extract the key entities from the question: file names, function names, class names, route paths, model names, or feature keywords.
Run targeted searches based on the question type:
"Where is X handled/defined?"
grep -rl "<X>" --include="*.ts" --include="*.js" --include="*.py" --include="*.go" --include="*.rb" . 2>/dev/null | grep -v node_modules | grep -v .git | head -15
"What pattern do we use for X?"
grep -rn "<pattern keyword>" --include="*.ts" --include="*.js" --include="*.py" . 2>/dev/null | grep -v node_modules | grep -v .git | head -20
"Does X already exist?"
find . -name "<X>*" -not -path "*/node_modules/*" -not -path "*/.git/*" 2>/dev/null | head -10
grep -rl "<X>" . --include="*.ts" --include="*.js" --include="*.py" 2>/dev/null | grep -v node_modules | head -10
"How does X work?" Read the file(s) that define X. Extract the relevant function/class/route.
Run at most 5 search commands. Stop when you have enough evidence to answer confidently.
For each result from Step 2 that looks relevant: use the Read tool to read the specific file. Focus on the relevant section — do not read entire large files, use offset and limit parameters.
Write a direct answer in 1–10 lines. For every factual claim, append a citation in the form `path/to/file.ts:42`.
If the question cannot be answered from the codebase (e.g. the feature does not exist, or the question is about external behaviour): state this explicitly — "This does not appear to exist in the codebase" or "This question cannot be answered from the codebase alone."
Do NOT speculate or infer beyond what the files show.
Emit your answer directly — no special output block wrapper. The terminal summary IS your answer verbatim.
Example format:
Auth is handled in `apps/backend/src/middleware/auth.ts:15` via a JWT verification middleware that reads the `Authorization` header. It is applied to protected routes in `apps/backend/src/routes/index.ts:42`.
The user model is defined in `apps/backend/src/models/user.ts:8`.
npx claudepluginhub n0b0dd/nob --plugin nobGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.