Create architectural decision records (ADRs), system documentation, API documentation, and operational runbooks. Use when capturing design decisions, documenting system architecture, creating API references, or writing operational procedures.
/plugin marketplace add rsmdt/the-startup/plugin install team@the-startupThis skill inherits all available tools. When active, it can use any tool Claude has access to.
templates/adr-template.mdtemplates/system-doc-template.mdA development skill for creating and maintaining technical documentation that preserves knowledge, enables informed decision-making, and supports system operations. This skill provides templates and patterns for common documentation needs.
ADRs capture the context, options considered, and rationale behind significant architectural decisions. They serve as a historical record that helps future developers understand why the system is built a certain way.
When to create an ADR:
See: templates/adr-template.md
System documentation provides a comprehensive view of how a system works, its components, and their relationships. It helps new team members onboard and serves as a reference for operations.
Key elements:
See: templates/system-doc-template.md
API documentation describes how to interact with a service, including endpoints, request/response formats, authentication, and error handling.
Key elements:
Runbooks provide step-by-step procedures for operational tasks, from routine maintenance to incident response.
Key elements:
Always document the context and constraints that led to a decision before stating the decision itself. Future readers need to understand the "why" before the "what."
## Context
We need to store user session data that must be:
- Available across multiple application instances
- Retrieved in under 10ms
- Retained for 24 hours after last activity
Our current database is PostgreSQL, which would require additional
infrastructure for session management.
## Decision
We will use Redis for session storage.
Documentation should be updated as part of the development process, not as an afterthought. Integrate documentation updates into your definition of done.
Tailor documentation depth to its intended audience:
| Audience | Focus | Detail Level |
|---|---|---|
| New developers | Onboarding, getting started | High-level concepts, step-by-step guides |
| Experienced team | Reference, troubleshooting | Technical details, edge cases |
| Operations | Deployment, monitoring | Procedures, commands, expected outputs |
| Business stakeholders | Capabilities, limitations | Non-technical summaries, diagrams |
Use diagrams to communicate complex relationships. A well-designed diagram can replace pages of text and is easier to maintain.
Recommended diagram types:
Where possible, make documentation executable or verifiable:
ADRs follow a specific lifecycle:
When superseding an ADR:
templates/adr-template.md - Architecture Decision Record templatetemplates/system-doc-template.md - System documentation templateThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.