design-architecture
Skill10 starsChanged 31 days agoApache-2.0View on GitHub
Write the architecture design document from the SRS, SDS and code, check every id, and render it to .docx.
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- etr/groundworktheir own version, first seen Nov 8, 2026
- Omerfaruk-aydn/Agent_OStheir own version, first seen Jul 20, 2026
- evgenii-studitskikh/Claude-Code-SaaS-Studiotheir own version, first seen Jun 10, 2026
- SenolIsci/mykgtheir own version, first seen May 27, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- SenolIsci/mykg★ 81same name
- etr/groundwork★ 45same name
- evgenii-studitskikh/Claude-Code-SaaS-Studio★ 1same name
- Omerfaruk-aydn/Agent_OS★ 1same name
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 repository21 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- commitSkill
- design-apiSkill
- design-erdSkill
- design-sdsSkill
- design-srsSkill
- design-tableSkill
- doc-syncSkill
- flow-initSkill
- flowSkill
- flow-uninstallSkill
- harness-authoringSkill
- harness-deploymentsSkill
- harness-initSkill
- harness-insightSkill
- integrationSkill
- performanceSkill
- playwright-scaffoldSkill
- prose-reviewSkill
- release-commitSkill
- wiki-initSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
When the second prints missing: ..., ask the user (structured choice) whether to install them, showing the command.
- Distinctive: line 47
Read every SDS module and list the deployable units, processes and external systems the code and deployment files show.
- Very specific: line 53
Read docs/srs/ and docs/sds/.
- Very specific: line 81
When flow-config.wiki is enabled, rebuild the graph so the new node is in it, and tell the user to stage graph.yaml with the document:
“Common” is measured: kept by at least 6 in 10 of the 3 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
Design-Architecture
Writes <docs>/architecture.md against the host's architecture.template.md, then
renders <output>/architecture.docx. Conventions:
design-docs.md.
Precondition: .claude/harness-tier/scripts/design_doc_check.py must exist. If it
doesn't, tell the user to run /flow-init and stop.
Interaction. Wherever this skill asks the user something, use the host's blocking question tool already in your tool list, matched by capability rather than by a host-specific name; if it is listed but not loaded, load it first with the host's tool-discovery primitive; only when no such tool is listed, or a question call errors, offer numbered options in chat and end your turn to wait for the reply — never answer the question yourself or skip it.
1. Resolve paths and dependencies
python3 .claude/harness-tier/scripts/design_doc_check.py --paths
python3 .claude/harness-tier/scripts/design_doc_render.py --check-depsWhen the second prints missing: ..., ask the user (structured choice) whether to install them,
showing the command. Yes → run python3 -m pip install python-docx markdown-it-py and
continue. No → stop; the check steps below still run without them if the user asks.
2. Check the templates
python3 .claude/harness-tier/scripts/design_doc_check.py --templatesAny violation → relay the list and stop. A template is the consumer's; do not edit it.
3. Survey the components
Read every SDS module and list the deployable units, processes and external systems the code and deployment files show. Run the listing as one command and keep it: it grounds the component and deployment sections below.
4. Write the document
Read docs/srs/ and docs/sds/. Write <docs>/architecture.md in the template's shape:
every template heading in order, every table with the template's header, one CMP-NNN per
component, one IF-NNN per interface, the context/component/deployment/sequence diagrams,
and the traceability table. Every FR and every numbered NFR in the SRS must appear in the
traceability table or a component row — the check lists each one that does not. When the
file exists, update it: keep every id, number new components and interfaces after the
highest, and append one revisions row. Get wiki_id from:
python3 .claude/harness-tier/scripts/design_doc_check.py --wiki-id architecture5. Check the document
python3 .claude/harness-tier/scripts/design_doc_check.py --doc architectureFix what it names and run it again, at most three rounds. Relay every violation still
standing and every note: line; do not render over a violation without the user's
go-ahead: ask the user (structured choice).
6. Render
python3 .claude/harness-tier/scripts/design_doc_render.py architectureWhen flow-config.wiki is enabled, rebuild the graph so the new node is in it, and tell
the user to stage graph.yaml with the document:
python3 .claude/harness-tier/scripts/wiki_graph.py --build7. Report
The .docx path, the violation count, and every warning: line (a diagram left as code).
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.

