/research:doc-architectfrom research
Use when generating or revising a project's triple-layer AGENTS.md documentation from observed workspace structure, technology, data, and planning evidence; do not use for general technical documentation or a single ad hoc README edit.
Ships in research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Acknowledgement: Shared by Peter Bamuhigire, techguypeter.com, +256 784 464178.
doc-architect or would be better handled by a more specific companion skill.references, templates, protocols only as needed.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.| Category | Artifact | Format | Example |
|---|---|---|---|
| Release evidence | Triple-Layer AGENTS.md output | Generated AGENTS.md covering project tech stack, data directory, and planning directory layers | AGENTS.md |
references/ directory for deep detail after reading the core workflow below.templates/ directory when the task needs a structured deliverable.protocols/ directory for formal execution order or handoff rules.Design and generate a portable Triple-Layer AGENTS.md documentation set that reflects the project’s real structure and constraints.
When generated documentation must describe system boundaries, workflows, requirements, data architecture, interfaces, states, business rules, or design-system conventions, load systems-process-requirements and use its artifact router before writing the docs.
Modularize Instructions (Token Economy): Avoid consolidating all AI/dev guidance into a single CLAUDE.md. Prefer smaller, focused docs (e.g., docs/setup.md, docs/api.md, docs/workflows.md) and reference them only when needed.
Documentation Standards (MANDATORY): ALL generated markdown files must follow strict formatting rules:
doc-standards.md for complete requirements| Input | Source/provider | If absent |
|---|---|---|
| Repository structure, manifests, existing instructions | Workspace inspection | Mark the technology or directory unknown; do not invent it |
| Authority to create or update AGENTS.md files | Requester | Return a plan only |
Inspection is read-only by default. Creating directories or changing instruction files requires explicit authority; deletion and unrelated documentation changes are out of scope.
Without full workspace access, produce a partial documented map with unknown areas named; do not claim the three layers are complete.
| Choice | Action | Failure/risk avoided |
|---|---|---|
| Data directory is evidenced | Place data instructions there | Arbitrary path |
| No planning directory exists | Propose location before creation | Unauthorised structure |
| Rules conflict | Escalate and preserve both sources | Silent contradiction |
If no schema directory exists, the output proposes a data-layer location and records the gap instead of creating one silently.
Produce three aligned AGENTS.md files:
The skill should activate when the user asks to:
Scan the workspace
Identify the environment
Set up plan grouping (first-time)
docs/plans/<module>/ subdirectories for each discovered module/area.docs/plans/AGENTS.md with the current module list.docs/plans/INDEX.md as the master plan status index.docs/plans/AGENTS.md updated whenever plans are added or their status changes.docs/plans/AGENTS.md and update it when requested.Generate Triple-Layer docs
If a project uses Laravel + MySQL with docs/plans and database/schema:
When generating AGENTS.md files, be aware of the complete SDLC documentation ecosystem:
| Skill | Phase | Documents Generated | When to Reference |
|---|---|---|---|
sdlc-planning | Planning | Vision, SDP, SRS, SCMP, QA Plan, Risk Plan, Feasibility | When plans directory contains SDLC planning docs |
sdlc-design | Design | SDD, Tech Spec, ICD, Database Design, API Docs, Code Standards | When referencing architecture and design decisions |
sdlc-testing | Testing | Test Plan, Test Cases, V&V Plan, Test Report, Peer Reviews | When referencing testing and quality standards |
sdlc-user-deploy | Delivery | User Manual, Ops Guide, Training, Release Notes, Maintenance, README | When referencing deployment and user documentation |
| Skill | Purpose | Relationship |
|---|---|---|
project-requirements | Raw requirements interview | Input source for SDLC planning docs |
systems-process-requirements | Systems/process/requirements modeling | Supplies boundary, workflow, state, interface, data, business-rule, and traceability discipline for documentation |
feature-planning | Feature-level specs + implementation plans | Stored in docs/plans/ (planning directory) |
manual-guide | End-user manuals and guides | Stored in /manuals/ (separate from AGENTS.md) |
update-claude-documentation | Keep project docs (README, CLAUDE.md) updated | Maintains project-level docs after changes |
When scanning for documentation, expect this structure in projects using SDLC skills:
docs/
├── planning/ # sdlc-planning output (7 docs)
├── design/ # sdlc-design output (6 docs)
├── testing/ # sdlc-testing output (5 docs)
├── user-deploy/ # sdlc-user-deploy output (6 docs)
├── plans/ # feature-planning output
│ ├── AGENTS.md # Plans directory index (doc-architect manages this)
│ ├── INDEX.md # Plan status tracker
│ └── specs/ # Feature specifications
└── project-requirements/ # project-requirements output
Integration Rule: When generating the Planning AGENTS.md (docs/plans/AGENTS.md), include references to any SDLC documentation directories that exist alongside the plans directory.
| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Root, data, and planning AGENTS.md set | Repository agents and maintainers | Each rule is evidence-based, scoped, non-conflicting, linked, and within limits |
Without full workspace access, return a qualified partial map, preserve unassessed directories, and do not claim the three-layer set is complete.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-research-engine --plugin research59 skills in this plugin
/00-meta-initializationUse when starting a scaffolded research workspace that needs an explicit project profile, methodology, audience-output matrix, wave roadmap, and dispatch gate; do not use for routine work inside an already initialised project./academic-reporting-standardsUse when an academic paper, thesis, dissertation, journal article, systematic review, or examinable artefact must follow a named reporting or examination standard; use academic-writing instead for prose craft without a reporting-standard decision./academic-writingUse when drafting or revising an academic paper, essay, thesis, or dissertation with source-away composition, originality, citation, synthesis, voice, and register controls; use academic-reporting-standards for selecting formal study-reporting rules.Other plugins' skills for the same job