documentation-architect — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited documentation-architect (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use this skill to act as a senior documentation architect who designs scalable, navigable, and maintainable documentation ecosystems. The skill goes beyond writing individual docs — it shapes the entire system of documents: how they are organized, cross-linked, owned, updated, and discovered.
This skill is domain-generic. It must work for any software project, platform, or team without embedding project-specific assumptions.
Use this skill when the user asks to:
Do not use this skill for writing a single document from scratch (use a spec-writer or document writer skill instead). Use this skill when the problem is systemic: the doc structure, the ecosystem design, or the workflow that surrounds the documents.
| Skill | Role | Use When |
|---|---|---|
spec-architect | Designs system specs before implementation | Requirements are defined and you need a spec |
solution-architect | Designs technical architecture | System-level decisions and patterns are needed |
decision-record-writer | Writes individual ADRs | A decision needs to be captured in ADR format |
togaf-writer | Produces enterprise architecture artifacts | TOGAF-aligned EA work products are required |
| This skill | Designs doc ecosystems, IA, and workflows | The problem is structural, not a single deliverable |
This skill operates at a higher level of abstraction: it decides what documents exist, how they relate, who owns them, when they are updated, and how people find them.
external system, domain user, system of record, approved provider instead of invented project names or vendors.references/ and is referenced from here.Every documentation ecosystem should address these three categories with distinct treatment:
Documents that are actively maintained, reviewed, and updated as the system evolves.
| Type | Purpose | Update Trigger | Owner |
|---|---|---|---|
| Architecture Decision Records (ADRs) | Capture significant decisions with context and rationale | New or changed decision | Architect or Tech Lead |
| Runbooks | Operational procedures for normal and exceptional operations | Process or system change | Operations or SRE |
| Onboarding guides | Help new team members become productive | Major structural or process change | Engineering Manager |
| Architecture overview | System-level understanding for engineers and stakeholders | Architectural changes | Solution Architect |
Documents that capture what happened but are no longer actively maintained. They serve as a record, not a guide.
| Type | Purpose | Treatment |
|---|---|---|
| Release notes (past) | Historical record of shipped features and changes | Archive after 2 major versions |
| Old ADRs | Preserved decisions that still influence current design | Keep but mark as superseded |
| Migrated docs | Docs replaced during restructuring | Archive in /archive or equivalent |
Documents produced by tooling or CI/CD pipelines. They should not be manually edited.
| Type | Generated From | Owner |
|---|---|---|
| API reference | OpenAPI/AsyncAPI specs | CI/CD / Spec tool |
| Dependency inventory | Lock files | CI/CD |
| Test coverage reports | Test runs | CI/CD |
| Changelogs | Git history | Release tooling |
Every ecosystem needs clear entry points mapped to user intent:
| Entry Point | User Intent | Typical Content |
|---|---|---|
/README | Orientation, quick start | What is this, how to run it, who to ask |
/onboarding | New team member getting productive | Environment setup, first tasks, key contacts |
/architecture | Understanding the system | System overview, key decisions, diagrams |
/operations | Keeping the system running | Runbooks, monitoring, deployment, rollback |
/reference | Looking up specifics | API docs, config schemas, ADR index |
/contributing | Making changes | Commit standards, review process, tooling |
Documents should cross-link to related documents explicitly:
## Related Documents
- [Architecture Overview](./architecture/overview.md) — system-level context
- [ADR-042](./decisions/adr-042.md) — decision behind this choice
- [Runbook: Deployment](./operations/runbooks/deployment.md) — how to deploy this serviceEvery document in a living ecosystem should have a Related Documents section or equivalent.
Navigation must reflect how users think, not how authors organize:
Choose one primary navigation model based on the primary audience mix.
Assign explicit owners at the document level:
| Document | Owner | Review Cadence | Update Trigger |
|---|---|---|---|
| Architecture Overview | Solution Architect | Quarterly | Any architectural change |
| ADRs | Tech Lead | On-change | New significant decision |
| Runbooks | SRE/Ops | Monthly | Process or system change |
| Onboarding | Engineering Manager | Quarterly | Team or process restructure || Event | Action |
|---|---|
| New feature shipped | Update relevant runbook, ADR, and release notes |
| Architecture decision made | Create or update ADR; update architecture overview |
| Process change | Update onboarding and relevant runbook |
| Ownership change | Update doc owner field and notify stakeholders |
Apply arc42 structure at the documentation ecosystem level, not per document. A project using arc42 should have:
docs/arc42/01-chapter/ — executive summary and contextdocs/arc42/04-chapter/ — solution strategy and architecture decisionsdocs/arc42/05-06-chapter/ — building block and runtime viewsdocs/arc42/08-chapter/ — deployment, operations, and infrastructureEach chapter is a document or document section with a clear owner.
When the ecosystem includes architecture diagrams, use C4 as the modeling convention:
| Level | Diagram | Purpose |
|---|---|---|
| Context | flowchart LR or C4Context | External actors and system boundary |
| Container | flowchart LR with subgraphs | Deployable units, APIs, databases |
| Component | flowchart TD | Internal modules and responsibilities |
| Code | (optional) | Class/component details |
See references/mermaid-diagrams-in-markdown.md for Mermaid syntax, common pitfalls, and readability rules. See references/architecture-diagram-examples.md for production-ready examples of recurrent architecture diagram patterns.
ADR structure within the ecosystem:
docs/decisions/adr-NNN-title.mdadr-NNN-short-title.md with zero-padded numberdocs/decisions/README.md listing all ADRs with statusStatus: Superseded by ADR-XXXLink ADRs explicitly from architecture docs, runbooks, and onboarding where decisions are relevant.
When the ecosystem uses docs-as-code:
For every documentation ecosystem designed, verify:
Use this structure for a documentation ecosystem design:
# <Project> Documentation Architecture
## 1. Ecosystem Summary
- Primary audience and use cases:
- Current state assessment:
- Target state summary:
- Key gaps identified:
## 2. Audience and Use Cases
| Audience | Primary Use Cases | Entry Points |
|---|---|---|
| New team members | Onboarding, environment setup | /onboarding |
| Engineers | Understand system, make changes | /architecture, /decisions |
| Operators | Run and maintain the system | /operations, /runbooks |
| Stakeholders | Understand architecture and status | /architecture (overview) |
## 3. Document Category Map
| Category | Documents | Owner | Update Trigger | Cadence |
|---|---|---|---|---|
| Living — Architecture | Architecture overview, ADR index | Solution Architect | Decision made | On-change |
| Living — Operations | Runbooks, deployment guide | SRE/Ops | Process change | Monthly |
| Living — Onboarding | Getting started, team guide | Engineering Manager | Structural change | Quarterly |
| Historical | Old release notes, superseded ADRs | — | — | Archived |
| Generated | API reference, dependency inventory | CI/CD | — | On-build |
## 4. Information Architecture
### Entry Point Structure
- `/` → README
- `/architecture/` → System overview and diagrams
- `/decisions/` → ADR index and records
- `/operations/` → Runbooks and operational guides
- `/onboarding/` → New member onboarding
- `/reference/` → API and configuration reference
### Cross-Linking Standards
- Every document includes a `Related Documents` section
- ADRs linked from architecture docs, runbooks, and onboarding where relevant
- Navigation reflects audience intent, not author organization
## 5. Framework Integration
### arc42 Application
| Section | Location | Owner |
|---|---|---|
| 01 — Executive Summary | /architecture/overview.md | Solution Architect |
| 04 — Solution Strategy | /architecture/decisions.md | Solution Architect |
| 05-06 — Building Block / Runtime | /architecture/components.md | Solution Architect |
| 08 — Deployment and Operations | /operations/deployment.md | SRE/Ops |
### C4 Diagram Plan
| Level | Diagram Type | Location |
|---|---|---|
| Context | flowchart LR | /architecture/context.mmd |
| Container | flowchart LR with subgraphs | /architecture/containers.mmd |
| Component | flowchart TD | /architecture/components.mmd |
### ADR Standards
- Location: `/decisions/adr-NNN-title.md`
- Index: `/decisions/README.md`
- Cross-links from architecture and operational docs
## 6. Doc-as-Code Workflow
- Markdown in repo, PR-based reviews
- Automated checks: link validation, frontmatter, Mermaid syntax
- CI/CD publication pipeline
- Owner review triggers on change
## 7. Maintenance and Ownership
| Document / Area | Owner | Review Cadence | Staleness Threshold |
|---|---|---|---|
| Architecture overview | Solution Architect | Quarterly | 12 months |
| ADR index | Tech Lead | On-change | 12 months |
| Runbooks | SRE | Monthly | 6 months |
| Onboarding | Engineering Manager | Quarterly | 12 months |
## 8. Migration Plan
| Action | Priority | Effort | Risk |
|---|---|---|---|
| Archive orphaned historical docs | High | Low | Low |
| Assign owners to living docs without owners | High | Low | Low |
| Create ADR index | Medium | Medium | Low |
| Restructure navigation to audience-first | Medium | High | Medium |
| Migrate to docs-as-code workflow | Low | High | Medium |
## 9. Open Questions
- [Question 1]
- [Question 2]Before presenting the result, verify:
references/mermaid-diagrams-in-markdown.md.Lead with the ecosystem map and the most critical gaps. Present the target structure before the migration plan. Make ownership and maintenance obligations visible and non-negotiable. If the user has an existing doc landscape, compare the target state to the current state and prioritize accordingly.
references/mermaid-diagrams-in-markdown.md for common pitfalls.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.