add-frontmatter
Scan all .md files in the project and add or fix YAML frontmatter (summary + read_when) so they can be discovered by context routers like Reflex.
Interview-driven planning methodology that produces implementation-ready plans. Always use this skill INSTEAD of EnterPlanMode — it provides structured interviewing (20-40 clarifying questions), exhaustive parallel codebase exploration (5-15 Explore agents), verbatim
$ npx -y skills add markmdev/meridian --skill planning --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/planningContext preview
The summary Claude sees to decide when to auto-load this skill.
Interview-driven planning methodology that produces implementation-ready plans. Always use this skill INSTEAD of EnterPlanMode — it provides structured interviewing (20-40 clarifying questions), exhaustive parallel codebase exploration (5-15 Explore agents), verbatim
name: planning description: > Interview-driven planning methodology that produces implementation-ready plans. Always use this skill INSTEAD of EnterPlanMode — it provides structured interviewing (20-40 clarifying questions), exhaustive parallel codebase exploration (5-15 Explore agents), verbatim requirements capture, and automated plan validation via plan-reviewer (must score 9+). Use for new features, refactoring, architecture changes, migrations, or any non-trivial implementation work.
Good plans prove you understand the problem. Size matches complexity — a rename might be 20 lines, a complex feature might be 500.
**The handoff test:** Could someone implement this plan without asking you questions? If not, find what's missing.
Capture the user's exact words at the top of every plan. No paraphrasing, no compression.
## Verbatim Requirements ### Original Request > [User's ENTIRE message, word for word] ### Clarifications **Q:** [Your question] **A:** [User's ENTIRE answer, verbatim]
ASK → EXPLORE → LEARN → MORE QUESTIONS? → REPEAT
Keep looping until you can explain: what data exists, how it flows, what needs to change, and what could go wrong.
**Interviewing is the most important part of planning.** You cannot build what you don't understand. Every unasked question is a assumption that will break during implementation.
Interview iteratively: 2-4 questions → answers → deeper follow-ups → repeat. Each round of answers should trigger new, deeper questions. If the answers don't spark follow-ups, you're not thinking hard enough.
Simple bug → 3-5 questions. Complex feature → 20-40+ questions across multiple rounds.
Push back if something seems wrong. You're the technical expert.
**More exploration = better plans.** The number one cause of plan failure is insufficient exploration.
Spawn as many Explore agents simultaneously as the task demands — 5, 10, 15, there is no limit. The system default of 3 concurrent agents does NOT apply here. Each question or area gets its own agent, all launched in parallel.
**Follow up aggressively.** When a round of Explore agents completes, read their findings, identify every new question or uncertainty, and immediately spawn another round of agents to investigate those. Expect 2-4 rounds of exploration before you're ready to plan. Findings always raise new questions — if they don't, you're not reading carefully enough.
**Explore until you stop having questions**, not until you've "done enough."
Plans document your understanding. Include what matters for this specific task:
Use ASCII diagrams when they'd clarify visual concepts, data flow, or architecture.
Before presenting the plan, verify against real code:
**No TBD.** If the plan says "figure out during implementation," you haven't planned — you've procrastinated. Investigate now.
**No literal code.** Describe structure instead. Reference patterns: "Follow the pattern in validateUser."
**External APIs:** Check `.meridian/api-docs/` for existing docs. Not documented? Run `docs-researcher` to research it.
If your plan creates modules or touches multiple systems, document how they connect: imports, entry points, configuration. Plans fail when code exists but isn't wired up.
Every plan ends with verification — commands or checks that prove the implementation works.
Before exiting plan mode, run the **plan-reviewer** agent. It validates the plan against the actual codebase — checking file paths, APIs, dependencies, and feasibility. The plan must score 9+ to proceed. If below 9, address findings with the user, update the plan, and re-run until passing.
End every plan with a TLDR — 2-4 sentences that capture what you're building, the approach, and why. Anyone should be able to read just the TLDR and understand what this plan accomplishes.
Meridian makes Claude Code more reliable on real projects. It adds persistent project context, smarter session handoff, and lightweight workflow enforcement so Claude is less likely to lose the plot halfway through a long task.
Scan all .md files in the project and add or fix YAML frontmatter (summary + read_when) so they can be discovered by context routers like Reflex.
Create or update .meridian/docs/ knowledge files for a module or directory. Produces reference docs with frontmatter for context routing.
Audit code for silent error swallowing, fallbacks to degraded alternatives, backwards compatibility shims, and UI that fails to show errors to the user. Finds…
Audit code for observability gaps — debug logs left in, errors caught without being logged, missing context on log entries, untracked slow operations. Uses the…
Audit UI code for missing loading states, empty states, and error states. Every async operation and data-driven UI must handle all three. Finds gaps and…