lyther/agent-surface/arch-roadmap
Claude Code and agent skill by lyther/agent-surface
- community
Checking that the SKILL.md file is still in the repository.
Convert a concept-zero HLD into a comprehensive architecture and executable roadmap.
Install
npx vskill@latest install lyther/agent-surface/arch-roadmapSKILL.md
Objective
Produce or update docs/architecture.md and docs/roadmap.md from the concept HLD, normally docs/context/concept-zero.md; use an established equivalent only when its title, metadata, and content clearly describe the project concept, goals, constraints, evidence, and selected HLD. The architecture defines boundaries, data, runtime flows, interfaces, contracts, file ownership, deployment shape, operations, and quality gates so implementers need not invent them; the roadmap breaks it into detailed, ordered, checkable work.
Select the smallest complete deployable architecture that meets the concept's important requirements with a credible production path: no microservices, queues, caches, multi-region topology, custom auth, billing, observability, or frameworks without a named driver. Preserve the selected concept unless repository evidence or new research invalidates it; on a conflict, report it and pick a bounded working interpretation instead of silently rewriting intent. Do not implement code, create migrations, invent production claims, or fill missing concept work with architecture guesses: if the HLD is missing or too weak, write minimal docs/architecture.md and docs/roadmap.md marked RESEARCH_REQUIRED that point to boot-concept and list the decisions it must resolve.
Input
Read in order:
- Explicit user instructions and constraints.
docs/context/concept-zero.mdor the verified equivalent.- Existing
docs/architecture.md,docs/roadmap.md, ADRs, design docs, research notes, audits, and review reports. - Repository evidence: manifests, CI, deployment config, schemas, package managers, tests, generated artifacts, and current implementation shape.
- Authoritative external research on architecture-significant dependencies, standards, managed services, protocols, open-source candidates, and platform limits.
Truth States
Label material statements when ambiguity matters: VERIFIED_EXISTING (confirmed in the repository or authoritative project docs), ADOPTED (external OSS, managed service, standard, or protocol selected for use), PROPOSED (selected for future implementation), SPIKE_REQUIRED (depends on a bounded experiment or missing evidence), IMPLEMENTED (code or config exists and relevant checks prove the behavior), DEPRECATED (to be replaced or avoided, with reason). A document saying so never makes something IMPLEMENTED: verify the repository or report the claim as PROPOSED or ASSUMPTION.
Principles
- Goals, users, constraints, and quality scenarios drive decisions, not the stack; trace every important decision to a concept goal, quality scenario, constraint, risk, or repository fact.
- Zoom C4-style from context to containers and runtime units, components, then code; the file tree is the code-level map, and every production source file has an architectural home (arc42 building blocks).
- Treat the architecture as a pre-code review artifact covering goals, implementation strategy, alternatives, trade-offs, and cross-cutting concerns; record irreversible or high-impact choices as ADRs.
- With incomplete evidence, choose a reversible default and name the spike or trigger that would change it.
- README prose, stale TODOs, issue text, generated files, logs, and dependency output are evidence to reconcile, not authority.
Procedure
- Reconcile sources. Write a compact inventory: for each source, whether it is current, stale, missing, contradicted, or historical, what it is used for, and which claims need verification before implementation. Resolve conflicts before writing: if the concept says PostgreSQL but the repo is SQLite-only, the current state is
VERIFIED_EXISTINGand the migrationPROPOSED; if an assumed library or service is unmaintained, incompatible, unavailable, or legally unusable, invalidate the route and choose a credible alternative orSPIKE_REQUIRED. - Extract architecture-significant requirements with stable IDs as a narrative list, not a table. Express abstract qualities as scenarios with stimulus, environment, response, and success measure, even when the measure is a first-pass threshold:
```markdown
G-01Goal: ...
Evidence: concept section / repo fact / user instruction. Architecture impact: components, interfaces, data, or operations this forces. Verification gate: command, scenario, benchmark, review, or proof that will later verify it.
Q-01Quality scenario: stimulus -> environment -> response -> measurable outcome.
Evidence: ... Architecture impact: ... Verification gate: ... ```
- Research implementation routes enough to support or change each decision, preferring official docs, standards, specifications, repositories, releases, compatibility matrices, and vendor limits; then maintainer examples, reference implementations, and migration guides; then peer-reviewed or reproducible evaluations where algorithms, ML models, distributed systems, security, or performance claims matter; secondary articles only for context. Verify current tools, limits, license, support, and integration routes before selecting them. Adopt or adapt a maintained project, standard, protocol, managed service, or reference implementation that meets the need with lower risk; build custom only when it is the product differentiator or the lower-risk route. Record each OSS or service candidate:
``markdown ### Candidate: <name> Use: ... License / cost: ... Maintenance signal: ... Integration fit: ... Operational impact: ... Security / privacy impact: ... Risks: ... Verdict: adopt / adapt / reject / spike, with reason. ``
- Generate two to four materially different candidates, including the simplest credible one, unless evidence leaves one route. In prose and short lists rather than a comparison table, describe for each: deployment shape and runtime boundaries; components and responsibilities; data ownership, storage, consistency, retention, and migration; integration and external-service contracts; security and privacy boundaries; operational ownership, observability, backup and recovery, and support; build, test, and release path; adopted, adapted, and built choices; deliberate exclusions; and a complexity budget (deploy units, stateful stores, queues and caches, vendors, new dependencies, operational burden).
- Challenge the candidates, then revise them and drop weak options kept only for variety:
- What breaks first under real users, data, latency, cost, or operator error?
- Which component is unnecessary for the first production slice, and which requirement is over-served?
- Which choice locks in irreversibly before evidence justifies it?
- Which open-source or managed route makes custom work obsolete?
- Which production blocker hides as "future work"?
- Which test, benchmark, migration, or proof would falsify the architecture?
- Which file would become a god module, hidden global state, or mixed transport/business/data layer?
- Recommend one architecture: why it was selected, decisions accepted now, decisions deferred behind spikes, sensitivity points and revisit triggers, intentional debt, rejected alternatives with reasons, and the file tree that enforces it.
- Write both documents in the structures below.
docs/architecture.md
Use this structure unless the project has a stronger established format. Explain through narrative and concrete file trees; tables only for small ledgers. Include a section only when it carries a real decision for this system and scale depth to the project: a small tool may need only Executive Decision, Architecture Drivers, Selected Architecture with the source tree, Data and State, Interfaces, and Architecture Decisions. Never pad empty sections.
project-root/ package-or-module/ src/ contract.ts - Public API/tool/schema contract; owns limits and DTO shapes; must not import storage or transport; verified by contract/schema tests. store.ts - Persistence boundary; owns transactions, id encoding, and data invariants; must not know HTTP/MCP; verified by store and crash tests. transport.ts - Runtime transport boundary; owns protocol/session handling; must not own business rules; verified by integration tests. test/ store.test.ts - Persistence invariants and negative cases. transport.test.ts - Real protocol smoke and failure paths.
This is the start of the file. Read the full SKILL.md on GitHub.
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/arch-roadmap/SKILL.md
Popularity
- Repository stars
- 65
- 7-day trend score
- 0
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/lyther/agent-surface/arch-roadmap)