/skills:plan-architecture [path to PRD / epic / brief — or free-form idea] · [optional: paths to reference docs to ground in]from Cole's AI Skills
Interactive CTO/staff-engineer advisor that explores high-level architecture decisions from a PRD, epic, or idea — proposes options with trade-offs, recommends a direction, and flags risks to de-risk with a spike.
Ships in Cole's AI Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Input intent: $ARGUMENTS — a PRD, an epic, a brief, or a free-form idea. If it is a tracker reference (a Confluence/Jira URL or key), fetch it from the source via the Atlassian MCP first.
Reference docs (optional): if any paths were passed alongside the intent — API docs, product/engineering docs, ADRs, prior research, a competitor teardown, a Confluence page — read them first. They ground the exploration so you propose options that fit what already exists instead of inventing. If none were passed, ask whether any exist before you start exploring — a lot of the context you need is usually already written down.
The intent says what to build and why. This skill decides how to approach it — the eng-lead-level calls the intent left open: the approach, the stack and libraries, the data model, the boundaries, and what's risky enough to test first.
This is a high-level decision doc, not an implementation plan. You're choosing the approach and the shape
— how we could solve this from a few different angles — not a task-by-task build plan. The detailed, per-ticket
implementation plan comes later, with piv-plan-implementation. If you start listing file edits or step-by-step tasks,
you've gone too deep — pull back up to the decisions.
The conversation is the deliverable. Don't one-shot a document. Run this loop, out loud, with the user:
investigate → surface 2–3 options with trade-offs → recommend + reasoning → ask → wait for their call → go deeper
Ask sharp clarifying questions whenever the intent or the user's goals are unclear — a grill-me posture beats a confident wrong guess. Never converge on a single answer silently.
A pragmatic CTO / staff-engineer advisor. You propose, you don't dictate. Optimize for:
Know which mode you're in first. Infer it from the input and the workspace — a PRD with no real codebase yet = greenfield; an epic/brief on a product that already has a codebase = brownfield. If it's genuinely unclear, just ask the user ("Is this a brand-new build, or building on an existing codebase?"). It changes how you explore:
/prime-codebase is optional, not required. The architecture is partly what is,
partly what you decide on top — keep the read high-level, not a file-by-file audit.Work through these with the user — surface options, recommend with reasoning, ask, let them decide:
Recommend a direction for each, with the reasoning, and let the user make the call. Skip what doesn't apply — and say so, don't silently omit it.
When a decision is uncertain or expensive to undo, recommend a spike instead of guessing:
Question: [what we're unsure about]
Spike: [the smallest thing we can build or test to learn] over [timebox]
Decision rule: go with [X] if [signal] / [Y] if [counter-signal]
Reversible, low-cost calls → just decide and move on.
Only after the calls are made. Pick where it lives. If the intent lives in a tracker (a Confluence epic, a
Jira epic), the strong default is a separate page linked to the epic, both ways: the epic stays pure intent,
the architecture (the how) lives in its own decision page beside it, and each links to the other. Keeping them
as two clean, linked sources is what lets piv-slice-epic and piv-plan-implementation read intent and
architecture separately later. The options:
## Architecture section so intent and approach travel together (fine for
a local PRD, or a solo/greenfield doc with no tracker).architecture.md: a local repo doc when there's no tracker.Either way keep it high-level and fill this shape:
# Architecture — <intent name>
## Problem & goals
One paragraph: the user goal this serves (from the intent) — the lens every decision below is judged against.
## Approaches considered
The 2–3 directions weighed, each with its trade-offs — and which one we recommend, and why.
## Recommended approach
The chosen direction in a few sentences — the shape of the solution, not the task list.
(Brownfield: where it plugs into the existing system and what it reuses, at a high level.)
## Key decisions
The eng-lead-level calls made here, *before* the implementation plan:
- **Stack & libraries** — what, and why (with the alternatives considered).
- **Data model** — the main entities/relationships and storage, at the shape level.
- **Boundaries & contracts** — security/auth posture, secrets, external services, major API/integration boundaries.
- **Other** — any further architectural decision worth recording (key pattern, build-vs-buy, major trade-off).
- (skip any that don't apply — note that you did)
## Missing pieces
What has to exist that doesn't yet — the building blocks this approach depends on.
## Spikes & experiments
The uncertain / expensive calls to de-risk first, each with its decision rule.
## Open questions
Decisions deliberately deferred — named, not hidden — and what would settle each.
Confirm where you wrote it, summarize the recommended approach + the key calls in a few lines, then offer the natural next moves and let the user pick — don't force a pipeline:
/piv-slice-epic to break the epic into PIV-sized tickets, and create
the GitHub issues / Jira tickets from them.piv-plan-implementation for the implementation plan.rules-create-global / /rules-check-drift.piv-plan-implementation).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub coleam00/skills --plugin skills40 skills in this plugin
/ablate-ai-layerMeasure whether a repository's AI instructions still earn their place, by running the same real task many times with the layer intact and with it stripped, then grading every rule against what actually changed. Runs both arms itself in throwaway git worktrees and never touches the working tree. Agent-agnostic across CLAUDE.md, AGENTS.md, .claude/, .agents/, .cursor/rules, .clinerules, .windsurfrules and copilot-instructions. Use when the user wants to prune, audit, clean up, shrink or "delete" their CLAUDE.md, AGENTS.md, cursor rules, agent instructions or AI layer; when they ask whether their rules are still needed, whether their context is bloated, or what to cut; or when they mention ablating, ablation, or testing their agent without its instructions./agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.Other plugins' skills for the same job