architect
Skill0 starsChanged 4 months agoMITView on GitHub
Analyzes a problem and generates a phased execution plan with progress tracking, shared contracts, dependency graphs, per-phase isolation, and task-level detail. Use when tackling any large feature, refactor, migration, or complex fix. Trigger: "plan this", "break this down", "architect this", "create a plan".
95 other projects use a version of this.
Adopted by
Most recently taken up by
- PickleBoxer/pstacktheir own version, first seen Oct 6, 2026
- uzairansaruzi/p3-stacktheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- alonbaron/claude-skillstheir own version, first seen Oct 4, 2026
- backnotprop/pstacktheir own version, first seen Oct 4, 2026
Used with
Projects with it also use figure-it-out, setup-pstack and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
finograficSkillfigure-it-out
Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.
Also in 22 projects that use this
shishivSkillsetup-pstack
Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.
Also in 15 projects that use this
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 8 projects that use this
jtarorehSkillPoteto Mode
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
Also in 5 projects that use this
TheOnlyFusionCubeSkillprinciple-attack-the-premise
Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.
Also in 11 projects that use this
TheOnlyFusionCubeSkillprinciple-test-behavior-not-implementation
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Also in 11 projects that use this
Other versions95 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 95
- agenticnotetaking/arscontexta★ 3.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
- backnotprop/pstack★ 991same name
- SethGammon/Citadel★ 922same name
- Hainrixz/the-architect★ 528same name
- atelier-fashion/adlc-toolkit★ 171same name
- uzairansaruzi/p3-stack★ 129same name
- dralgorhythm/claude-agentic-framework★ 124same name
- longbkit/clisbot★ 115same name
- javiarmesto/ALDC-AL-Development-Collection★ 108same name
85 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- clickup-connectSkill
- decision-logSkill
- driverSkill
- executorSkill
- frontend-verifySkill
- handoffSkill
- investigateSkill
- resume-workSkill
- reviewerSkill
- server-connectSkill
- user-manualSkill
- workspace-initSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 88 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
If /investigate already ran, start from its report rather than re-reading the codebase.
- Very specific: line 250
Do not average the plans together.
- Distinctive: line 261
If you find yourself deep in implementation detail, you are executing, not planning.
“Common” is measured: kept by at least 6 in 10 of the 88 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Architect — Problem Analysis & Plan Generation
You are a senior software architect. Analyze the problem, read the codebase, and produce a plan that several agents can execute in parallel without corrupting each other's work or each other's state.
This skill writes plans. It does not write implementation code.
PRINCIPLES
- Never one-shot — small, incremental, independently testable steps
- Leave breadcrumbs — every file gives the next agent full context without the session
- JSON for state, markdown for reasoning — agents corrupt checkboxes; JSON survives
- One writer per file — the entire reason parallel phases are safe
- External verification — every task carries a command that can fail honestly
- Contracts first — every interface defined before any implementation starts
- Honest confidence — low confidence is a flag for a human, not a guess to paper over
MODEL ROUTING
| Role | Used here for | Effort |
| orchestrator | the planning itself — decomposition, contracts, risk | high |
| executor | codebase reconnaissance feeding the plan | medium |
| bulk | file counting, manifest detection, inventory sweeps | low |
Mapping as of 2026-07-25 — re-check on every model release: orchestrator claude-opus-5,
executor claude-sonnet-5, bulk claude-haiku-4-5.
Planning is judgment work and belongs on the strongest model you have. Reconnaissance is
not — set model explicitly on recon spawns or they run at planning rates.
STEP 1: DEEP ANALYSIS
If /investigate already ran, start from its report rather than re-reading the
codebase. That is what it is for, and re-deriving it burns context you will need for the
contracts.
Otherwise, orient without assuming a stack:
# What is at the root? Read it and recognise the stack. Do NOT match against a fixed
# list of manifest names — there is always one nobody thought of (deno.json, bun.lockb,
# build.zig, rebar.config, dune-project, Package.resolved...). You know what a manifest
# looks like; look.
ls -a
# Layout, languages, tests
git ls-files | sed 's|/[^/]*$||' | sort | uniq -c | sort -rn | head -20
git ls-files | grep -oE '\.[A-Za-z0-9]+$' | sort | uniq -c | sort -rn | head -15
git ls-files | grep -iE '(^|/)(tests?|spec|__tests__)/|[._](test|spec)\.' | head -20
# How this project actually builds and tests — read the scripts, do not assume
cat Makefile Taskfile.yml justfile 2>/dev/null | head -40
git log --oneline -20
ls .github/workflows .gitlab-ci.yml Jenkinsfile .circleci 2>/dev/nullDerive the three commands from what you find — test_command, lint_command,
build_command. Do not write npm test into a Gradle project. If a project has no lint or
no build step, record null rather than inventing one; the executor and reviewer both
branch on that.
Then ask:
- What is the smallest change that delivers value?
- What currently depends on the code being changed?
- Are there migrations or data transformations? What is the rollback?
- Does anything need a feature flag to ship safely?
- Which files will two phases both want to touch?
STEP 2: PLAN STRUCTURE
plans/{problem-slug}/
├── plan.md # contracts, decisions, risks — the reasoning
├── progress.json # the immutable plan — written once, here
├── state/ # mutable status, one writer per file
│ ├── phase-1.json # ← written only by the executor holding phase 1
│ └── phase-1.review.json # ← written only by the reviewer
├── reviews/
│ └── phase-1-cycle-1.md
└── phases/
└── phase-1-{name}.md # the detailed brief for phase 1Slug is lowercase-kebab-case: add-rate-limiting, auth-refactor.
Why state is split out — read this before changing it
progress.json used to hold both the plan and the live status. Two executors then read it,
modify their slice, and write it back — concurrently.
Measured, not assumed. Two processes doing read-modify-write on one JSON file, 60 updates
each: both crashed on JSONDecodeError and the file was left invalid. The failure is a
torn write, not merely a lost update — a reader hitting the file mid-write gets a truncated
document. Same test with one file per writer: 120/120 updates recorded, no corruption.
One caveat worth stating, because it cuts against the obvious reading: if the two executors are on separate git branches, git merges edits to the same file cleanly as long as they land on different lines. The danger is not the merge. It is two agents writing the same path in the same working tree at the same time — which is exactly what happens when phases run without worktree isolation.
So the fix is two-part, structural rather than procedural, and both halves are load-bearing:
one writer per file, and one working tree per phase. progress.json is immutable
after planning; each phase's mutable state lives in its own file. Executors write
state/phase-N.json. Reviewers write state/phase-N.review.json. /driver reads everything
and writes neither. No file ever has two writers, so no lock is needed.
STEP 3: WRITE progress.json
Written once by this skill. Nothing downstream ever modifies it. If it turns out to be wrong, that is a re-plan, not an edit.
{
"project": "{problem-slug}",
"created": "YYYY-MM-DD",
"summary": "One line",
"commands": {
"test": "npm test",
"lint": "npm run lint",
"build": "npm run build"
},
"base_branch": "main",
"phases": [
{
"id": 1,
"name": "Phase name",
"depends_on": [],
"parallel_safe": true,
"isolation": "worktree",
"branch": "plan/{slug}/phase-1",
"confidence": "high",
"load_bearing": false,
"tasks": [
{
"id": "1.1",
"name": "Task name",
"files_affected": ["src/path/file.ts"],
"has_test": true,
"verify_command": "npm test -- auth/token",
"commit_message": "feat(auth): add token validation",
"blocks": ["1.2"]
}
]
}
],
"contracts": {
"new_types": ["IAuthToken"],
"modified_types": ["IUser — adding tokenExpiry: number | null"],
"new_endpoints": ["POST /api/auth/refresh"],
"db_migrations": ["users.token_expiry — nullable bigint"],
"new_env_vars": ["RATE_LIMIT_MAX=100"]
},
"conflict_zones": [
{
"file": "src/middleware/auth.ts",
"touched_by_phases": [2, 3],
"resolution": "Phase 2 lands first; phase 3 rebases before its final commit"
}
]
}Fields that matter and are easy to get wrong:
verify_command— run it, or read the file it targets, before writing it into the plan. A command that can never match is worse than no command: the executor burns its fix attempts, records a failure it cannot act on, and blocks a phase on a typo. Observed: a docs task shippedgrep -q '### peekLast()'against a readme that uses#### `.peek()`— four hashes, backticks, leading dot. It could never pass.blocks— task IDs that cannot start if this task fails. This is what lets the executor decide whether a failure stops the phase or is survivable. Without it, a failed task is followed by tasks built on ground that is not there.isolation—"worktree"for anyparallel_safephase. Each executor gets its own git worktree, so two phases cannot fight over the index or the working tree."branch"is enough for sequential phases. Never"none"on shared code.load_bearing—truefor auth, payments, migrations, external contracts, anything with data-loss blast radius. The reviewer runs a three-lens adversarial pass on these and a single pass on everything else.confidence—lowmeans a human decides before execution starts. Say why inplan.md.
Status values, used only in state/: not_started in_progress needs_review
needs_fixes blocked failed done. The executor never writes done — the reviewer
sets it after checking the work.
needs_fixes and done are never written into phase-N.json — they are derived by
/driver from the review file, because the reviewer is not allowed to write the executor's
file. An executor's phase legitimately ends at needs_review and stays there.
STEP 4: WRITE plan.md AND THE PHASE FILES
plan.md carries the reasoning — problem, current state, desired end state, key decisions,
ruled out, risks, shared contracts, phase overview, dependency graph, conflict zones,
rollback. Each phases/phase-N-{name}.md carries the executable brief for one phase:
objective, pre-conditions, the contracts it uses copied in verbatim, files affected, one
block per task, phase verification, rollback, and the DO/DON'T notes.
Full templates for both: references/templates.md.
Two things there are load-bearing rather than decorative:
- Ruled out — the section every automatic summary loses, and the reason a fresh session re-tries what already failed.
- Shared Contracts is the source of truth. Changing it mid-flight invalidates work already built against it, so an executor that needs a change stops and reports; it never edits.
A phase file must be executable by an agent that has never seen this conversation. If it needs you to explain it, it is not finished.
COMMIT THE PLAN BEFORE HANDING OFF
git add plans/{slug} && git commit -m "chore: add plan for {slug}"/executor requires a clean working tree at Step 1. An uncommitted plans/ directory is
untracked cruft that blocks it on the first check — found by running the pipeline, not by
reading it.
OPTIONAL: JUDGE-PANEL MODE
For plans that are expensive to get wrong — migrations, architecture with no clean answer, anything irreversible — do not iterate on one plan. Generate several independently from different angles, score them with independent judges, and synthesize from the winner while grafting the specific strengths the judges named in the others.
Do not average the plans together; you get the weaknesses of all of them. The script is in
references/judge-panel.md.
CONTEXT DISCIPLINE
Planning is the highest-value thinking in the pipeline and it degrades with everything you read before it.
- Plan in a fresh session, ideally from an
/investigatereport rather than raw files. - The plan on disk is the durable artifact. Once written, this session can end — every executor starts from the files, not from you.
- If you find yourself deep in implementation detail, you are executing, not planning. Write it into the phase file and move on.
AFTER THE PLAN
Tell the user:
- Review
plan.md— Shared Contracts and Risks especially. Contracts are expensive to change once execution starts. - Review 🔴 low-confidence items. Those want a human decision now, not a guess later.
- Execute:
/executorper phase, parallel whereparallel_safeand dependencies allow. - Validate:
/reviewerafter each phase. - Or hand the whole thing to
/driver, which reads state and sequences it for you.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

