.github/skills/docs/SKILL.md
Create, update, audit, and maintain documentation for the Conscius monorepo. Use this skill when writing or editing guides, API references, Architecture Decision Records (ADRs), spec documents, package READMEs, or the docs index. Triggers on tasks involving docs, documentation, guides, ADRs, API reference, README updates, or doc audits. Supported slash commands: /new-guide, /update-guide, /new-adr, /update-adr, /new-api-ref, /docs-audit, /docs-index, /help /docs
npx skillsauth add jwill9999/conscius docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Maintain comprehensive, accurate, and up-to-date documentation for the Conscius monorepo — a plugin-based framework that provides persistent cognitive context for AI agents.
docs/
├── README.md # Navigation index — links to all docs
├── specs/ # Architecture specification pack (design artefacts)
│ └── agent_architecture_documentation_pack/
├── guides/ # Developer how-to guides
│ ├── getting-started.md
│ ├── adding-a-plugin.md
│ └── publishing.md
├── adr/ # Architecture Decision Records
│ └── NNNN-<slug>.md
├── api/ # Package-level API reference
│ ├── agent-types.md
│ └── agent-core.md
└── planning/ # Feature index and backlog (managed by planning skill)
├── index.md
└── backlog.md
| Folder | Purpose | Managed by |
| ---------------- | ---------------------------------------------------- | --------------------- |
| docs/README.md | Navigation index | /docs-index |
| docs/guides/ | Developer and user how-to guides | /new-guide |
| docs/adr/ | Architecture Decision Records | /new-adr |
| docs/api/ | Package-level API reference | /new-api-ref |
| docs/specs/ | Architecture spec pack — design artefacts, immutable | Manual / spec authors |
| docs/planning/ | Feature index and backlog | planning skill |
/new-guideParameters: name (required), description (required), audience (developer/user, required), relatedPackage (optional)
Action: Scaffold a new guide in docs/guides/<slug>.md. Prompt for missing details. Confirm with engineer before writing.
Example: /new-guide name="Adding a Plugin" description="How to scaffold and register a new Conscius plugin" audience=developer relatedPackage=agent-core
/update-guideParameters: file (required), changes (required description of what to update)
Action: Locate the guide in docs/guides/, apply the requested changes. Confirm with engineer before saving.
Example: /update-guide file="getting-started.md" changes="Update install instructions for Node 24"
/new-adrParameters: title (required), status (proposed/accepted/deprecated/superseded, required), context (required), decision (required), consequences (required)
Action: Auto-number the next ADR in docs/adr/ (format: NNNN-<slug>.md), scaffold using the standard ADR template. Confirm with engineer before saving.
Example: /new-adr title="Use Nx for monorepo tooling" status=accepted context="Need a monorepo build system" decision="Adopt Nx with first-party plugins" consequences="Nx caching, affected commands, plugin ecosystem"
/update-adrParameters: id (required, e.g. 0001), changes (required description)
Action: Locate docs/adr/NNNN-*.md, apply changes (status change, addendum, supersession note). Confirm with engineer.
Example: /update-adr id=0001 changes="Mark as superseded by ADR-0005"
/new-api-refParameters: package (required, e.g. agent-core), description (required summary of what to document)
Action: Scaffold docs/api/<package>.md with exports, interfaces, and usage examples. Pull from source types where available. Confirm with engineer.
Example: /new-api-ref package=agent-core description="Document AgentContext, plugin lifecycle hooks, and CLI"
/docs-auditParameters: none
Action: Review all docs/ files for: stale @coreai references, broken internal links, missing sections, outdated version numbers, and out-of-sync package names. Produce a report listing file, issue, and recommended fix. Confirm with engineer before making changes.
Example: /docs-audit
/docs-indexParameters: none
Action: Regenerate docs/README.md with an up-to-date navigation table linking to all docs files grouped by category (Guides, Specs, ADRs, API Reference, Planning). Confirm with engineer before saving.
Example: /docs-index
docs/guides/)npm install…"getting-started.md, adding-a-plugin.mddocs/adr/)NNNN-<slug>.md — e.g. 0001-nx-monorepo.md, auto-numbered sequentially from 0001Standard ADR template:
# ADR-NNNN: <Title>
**Date:** YYYY-MM-DD
**Status:** proposed | accepted | deprecated | superseded by ADR-XXXX
## Context
<What problem or situation required a decision>
## Decision
<What was decided>
## Consequences
<Trade-offs, implications, and follow-on actions>
docs/api/)agent-core.md, agent-types.md)docs/specs/)typescript, bash, json)| Event | Action required |
| --------------------------------- | ------------------------------------------------- |
| New package added | Add package README + /new-api-ref |
| Plugin interface changes | Update docs/api/agent-core.md, spec, and ADR |
| Architectural decision made | /new-adr |
| Package renamed or restructured | /docs-audit to catch stale references |
| New developer workflow introduced | /new-guide or /update-guide |
| Epic completed | Update planning docs, close feature in index.md |
When working on this project:
/docs-audit after any rename, restructure, or major refactordocs/README.md current — regenerate with /docs-index after structural changesdocs(<scope>): <description>docs(<scope>): <description>
Examples:
docs(guides): add getting-started guidedocs(adr): add ADR-0003 plugin interface decisiondocs(api): update agent-core API reference for v0.3docs(audit): fix stale @coreai references across specstesting
Manage SESSION.md and SUMMARY.md for the Conscius project. USE WHEN: user says 'update session', 'update SESSION.md', 'end of session', 'taking a break', 'stepping away', 'compress conversation', 'add summary', or when completing an epic/task and session state needs recording. EXAMPLES: 'update the session', 'let's update session.md', 'add a summary segment', 'I am done for today'.
testing
PR review workflow for the Conscius project. USE WHEN: user opens a pull request, asks to check CI status, mentions SonarCloud or Sourcery feedback, asks if a PR is ready to merge, or needs to resolve a merge conflict. EXAMPLES: 'check if the PR is ready', 'CI failed on my PR', 'SonarCloud flagged something', 'is this ready to merge?', 'fix merge conflict', 'review PR feedback'.
tools
Plan, document, and manage epics, features, tasks, and backlog items for the Conscius project. Creates entries in both the markdown planning docs (docs/planning/) and the Beads task graph (bd CLI). Use this skill for all planning work. Supported slash commands: /new-epic, /new-feature, /add-task, /update-status, /close-feature, /archive-feature, /new-backlog, /move-to-feature, /list-features, /list-backlog, /sync-beads, /help /planning
development
Explore and understand Nx workspaces. USE WHEN answering questions about the workspace, projects, or tasks. ALSO USE WHEN an nx command fails or you need to check available targets/configuration before running a task. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What depends on library Y?', 'What targets can I run?', 'Cannot find configuration for task', 'debug nx task failure'.