jtaroreh/agystack/architect
Claude Code and agent skill by jtaroreh/agystack
- community
Checking that the SKILL.md file is still in the repository.
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape.
Install
npx vskill@latest install jtaroreh/agystack/architectSKILL.md
The same SKILL.md was published earlier as jtaroreh/agystack/architect.
Architect
Design before implementing. Sketch caller usage, types, function signatures, and module boundaries with not implemented bodies before writing logic. Open a todolist with all five phases before starting so none disappear silently: 1. Ground, 2. Sketch, 3. Agree, 4. Implement, 5. Scrap.
Phase A: Ground
Build a traced mental model of every system the change touches via the how skill. Naming files is not grounding. Run why when redefining ownership or layering, and interrogate when existing structure is the constraint. Skip Phase A only for genuinely greenfield work. If requirements are completely ambiguous upfront, the human may run /grill-me; once /architect begins, explore autonomously against code ground truth.
Phase B: Sketch
Write the caller's usage first, then derive types, function signatures, and module boundaries from it.
Design it twice: produce at least two structurally distinct whole-shape candidates before choosing (per principle-exhaust-the-design-space), not point fixes inside one shape. For large or contested designs, route candidate exploration through the arena skill using configured arena runners (translating Gemini 4 effort-suffixed entries to pro, inherit, flash, falling back to inherit on single-tier accounts or HTTP 429).
Screen every candidate against Ousterhout design red flags before selecting or synthesizing, rejecting or revising violations:
- Shallow modules. Large public surface hiding little complexity; prefer deep interfaces that concentrate capability over deep call chains.
- Information leakage. Multiple modules sharing an internal representation, protocol, or wire format; parse external data at the boundary and keep internals private.
- Temporal decomposition. Splitting modules by execution order (load, validate, save) instead of domain knowledge and single state ownership.
- Pass-through methods. Forwarding layers that add no policy, adaptation, or abstraction; collapse them or move responsibility.
Phase C: Agree (Opt-in)
Default: proceed directly to Phase D with no human checkpoint. Pause for sign-off only when the invoker explicitly requests a checkpoint (for example, "/architect with checkpoint"). The chosen sketch can ship as its own scaffold commit (per principle-foundational-thinking and principle-outcome-oriented-execution). Run interrogate on the sketch when adversarial pressure is warranted. Treat human pushback as Phase A evidence: re-ground and re-sketch.
Phase D: Implement
Fill in not implemented bodies against the sketch contract. Treat deviations as signal, not friction to absorb silently. When a function needs an unanticipated parameter or branch, surface whether the sketch was wrong, a requirement was missed, or the implementation is overreaching.
Phase E: Scrap
When implementation reveals a pattern of friction the sketch cannot absorb, throw it out rather than bolting on fixes (per principle-redesign-from-first-principles and principle-fix-root-causes). Concrete triggers:
- The same workaround shape repeating across unrelated code.
- Multiple unrelated edge cases requiring special-case branches.
- Escape hatches (
any, casts, always-set optionals) needed just to compile. - Reaching for locks when the sketch assumed unshared state.
- Callers needing internal rules to use the abstraction.
- Two or more independent Phase D deviations of the same shape.
Recovery loop:
- Re-run how over what was built so implementation lessons enter as ground truth.
- Redesign as if the new constraints were day-one assumptions.
- Subtract before adding (per principle-subtract-before-you-add): the new sketch starts smaller than the old one.
- Return to Phase B (and
/arenaif large or contested).
Output
Publish the caller-first usage sketch, type/signature definitions, module map, red-flag check, and synthesis decision to <appDataDir>/brain/<conversation-id>/architecture_design.md (ArtifactMetadata: { Summary: "...", UserFacing: true, RequestFeedback: true }).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/architect/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 2
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jtaroreh/agystack/architect)