Skip to content
Back to skills

Architecture Docs

ASecurity

Where architecture documents live, what each contains, and the conformance report format.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
developmentapidatabase

Works with

  • claude code
  • api

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add Dev-Toolbelt/dev-team-agents --skill architecture-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architecture Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Architecture Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dev-toolbelt-architecture-docs/badge)](https://www.skillsdirectory.com/skills/dev-toolbelt-architecture-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: architecture-docs
description: Where architecture documents live, what each contains, and the conformance report format.
---

# Architecture Documents

Canonical location, content contract, and conformance reporting format for the documents an
architect produces. Load when writing, updating, or validating any of them.

---

## Document Location Rule — CRITICAL

**All architecture documents MUST be written to `docs/development/` at the project root.**

| Document | Location |
|----------|----------|
| Architecture design | `docs/development/architecture.md` |
| Tech stack decisions | `docs/development/tech-stack.md` |
| Code standards | `docs/development/code-standards.md` |
| Database decisions | `docs/development/database.md` |
| API contracts | `docs/development/api-contracts.md` |
| ADRs | `docs/development/adrs/NNNN-*.md` |
| Conformance reports | `docs/development/conformance-report.md` |

**NEVER write architecture documents to:**

- `.opencode/` — opencode configuration only
- `.claude/` — Claude Code configuration only
- `.dev-team-agents/` — the framework installation directory
- Any hidden directory (starting with `.`)

---

## Content Contract per Document

| Document | Must contain |
|----------|--------------|
| `architecture.md` | System design, layers, component boundaries, integration patterns, and the layer depth chosen **per domain area**. Every significant decision also gets an ADR. |
| `tech-stack.md` | Chosen technologies with rationale, including what was considered and **rejected**. |
| `code-standards.md` | Patterns, naming conventions, linting rules, and design patterns — specific to this project's stack, not generic advice. |
| `database.md` | Database choice, schema strategy, migration approach, indexing guidelines. Finalize only after `database-specialist` review. |
| `api-contracts.md` | API style (REST/GraphQL/RPC), versioning policy, auth model, response and error envelope. |

**Spec self-review before handing off** — silently check every document for: placeholders and
TODOs, contradictions between documents, ambiguous decisions, YAGNI violations, and scope creep.
Fix inline before asking the user to review.

---

## Conformance Report

Produced or updated after each Quality Gate run. Flag every finding with one tag:

| Tag | Meaning |
|---|---|
| `[ARCH-DEVIATION]` | The code does not follow the decided architecture |
| `[TECH-DEBT]` | Acceptable shortcut, but it must be tracked |
| `[CONFORMANT]` | This is correct |

Write to `docs/development/conformance-report.md`. **This file accumulates across sprints —
append, never overwrite.**

```markdown
## Conformance Report — [Sprint / Date]

### Summary
[Overall conformance posture — 1-2 sentences]

### Deviations
| File / Area | Deviation | Severity | Action |
|---|---|---|---|
| service/OrderService.js | Business logic in controller | HIGH | Refactor before next sprint |

### Tech Debt Tracked
| Item | Introduced | Owner | Target Sprint |
|---|---|---|---|

### Conformant Areas
[List areas that were reviewed and passed]
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.