Three skill files automate the QA and gap-tracking loop that keeps TiffinConnect's 40+ screens from accumulating hidden technical debt.
prompt-master.SKILL.md — fires automatically on vague messages, collects missing context in one structured question burst instead of multiple back-and-forth turns.
audit-oq.md — scans src/ for mocks, hardcodes, stubs, and dead navigation links, then registers each new gap as a tracked entry in docs/open-questions.md.
resolve-oq.md — closes a specific tracked gap by reading the OQ entry, finding the source file, implementing the real solution, and updating all three tracking docs atomically.
The loop: /audit-oq surfaces gaps → /resolve-oq OQ-XX closes them one at a time. Never resolve what has not been audited first — you might duplicate an existing OQ entry.
02 — prompt-master.SKILL.md
Safety Net for Vague Instructions
Wired into CLAUDE.md under Mandatory Rules. You never call it directly — Claude picks it up automatically.
The skill checks nine dimensions of a prompt: task clarity, target file, output shape, constraints, design reference, route, Redux slice, acceptance criteria, and edge cases. It only activates when two or more of those are missing. A message like "build the earnings screen" is specific enough to skip it. "Add a state" triggers it because target and purpose are both unclear.
When it fires, Claude asks up to three focused questions in a single message — not one at a time across multiple turns. Answer them properly and the next response will have a complete picture of the task.
✓
Trust the pause
If it asks a question, answer it fully. The output will be significantly better than if you type "just guess."
✗
Fight it
Re-sending the same vague message will trigger the same skill. Add context — a file path or component name usually resolves ambiguity entirely.
03 — audit-oq.md
On-Demand Gap Scanner
Invocation: /audit-oq. Lives at .claude/commands/audit-oq.md. Scans src/ and registers new gaps.
markdown
---
name: audit-oq
description: Scan src/ for mocks, stubs, and hardcodes. Register new gaps in docs/open-questions.md.
---
## Steps
1. Scan src/ for these patterns:
- // TODO, // FIXME, // HACK comments
- "mock" / "hardcoded" / "dummy" in comments
- Math.random() in components or slices
- setTimeout() inside Redux thunks
- router.push() to a route with no page.tsx
- Non-empty initialState arrays in Redux slices
2. For each hit, check if an OQ with matching description already exists.
- If yes → skip (no duplicate)
- If no → assign next ID (OQ-N), add row to docs/open-questions.md
3. Output summary: X new OQs registered, Y already tracked, Z skipped (intentional seeds)
Run /audit-oq periodically — not just before release. Catching gaps early means you know what you are building on top of. Always review the output before accepting new OQs: some scanner hits are intentional design seeds, not defects.
04 — resolve-oq.md
Closing a Gap Atomically
Invocation: /resolve-oq OQ-08. Reads the entry, implements the fix, updates three tracking docs in one pass.
Every screen built with mocked data gets its limitations logged in docs/open-questions.md with an ID. When the real backend is ready, resolve-oq closes the gap without missing a step. Example: the OTP screen has IS_NEW_USER hardcoded as true. When a real verifyOtp response returns { isNewUser: boolean }, running /resolve-oq OQ-08 will:
Read OQ-08 to understand what is mocked and why
Find the page file containing the hardcode
Check docs/api-integration.md to confirm the correct apiFetch pattern
Replace the hardcoded constant with the real API field
Mark OQ-08 closed in open-questions.md, SCREEN_MAP.md, and PROJECT_REF.md
Always use the OQ-ID format (OQ-08, not "the OTP thing"). The skill reads the tracker by ID. Resolve one OQ per run — the skill is not designed for batch resolution.
05 — References
Further Reading
Primary sources for this module.
skills/prompt-master.SKILL.md — clarification workflow for vague prompts
.claude/commands/audit-oq.md — gap scanner skill source
.claude/commands/resolve-oq.md — gap resolution skill source
docs/open-questions.md — the live gap tracker (32 entries at last audit)
docs/prompt-questions.md — Claude's cheat sheet, paired with prompt-master
docs/api-integration.md — apiFetch pattern used by resolve-oq
Check your understanding
1. Which skill activates automatically without being called directly by the developer?
Correct.Not quite — the correct answer is highlighted above.
2. What does /audit-oq do when it finds a code pattern that already has a matching OQ entry?
Correct.Not quite — the correct answer is highlighted above.
3. How many tracking documents does /resolve-oq update when it closes a gap?
Correct.Not quite — the correct answer is highlighted above.