ワンクリックで
documentation-patterns
ADR templates, API documentation standards, technical writing voice, changelog patterns, and code comment guidelines
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
ADR templates, API documentation standards, technical writing voice, changelog patterns, and code comment guidelines
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Resolving PR review comments and merging stacked PRs — gathering all feedback, addressing every finding, delegating to expert subagents, managing review states, and merging bottom-to-top
Stacked PR workflow with vanilla Git — creating and managing PR stacks, parallel stacks with git worktrees, propagating fixes up a stack, and safe merging bottom-to-top
Resolving PR review comments and merging stacked PRs — gathering all feedback, addressing every finding, delegating to expert subagents, managing review states, and merging bottom-to-top
Stacked PR workflow with vanilla Git — creating and managing PR stacks, parallel stacks with git worktrees, propagating fixes up a stack, and safe merging bottom-to-top
GitHub development workflow — issue discipline, commit format, pre-PR conformance gate, gh CLI recipes, and PR review handling
Writing well-structured GitHub issues — standard templates, removal issue discipline, design doc references, test update requirements, epic sizing, and dependency declaration
| name | documentation-patterns |
| description | ADR templates, API documentation standards, technical writing voice, changelog patterns, and code comment guidelines |
ADRs capture significant architectural decisions with their context, rationale, and consequences. They answer "what were we thinking when we designed this?"
docs/decisions/NNNN-short-title.mddocs/decisions/0001-use-langgraph-for-agent-orchestration.mddocs/decisions/0002-adopt-dual-model-strategy.mddocs/decisions/0003-github-discussions-for-deliberation.mdProposed → Accepted → [Deprecated | Superseded by NNNN]
Never edit an accepted ADR. If a decision changes:
| Situation | Create ADR? |
|---|---|
| New library/framework adoption | Yes |
| Architectural pattern change | Yes |
Deliberation outcome (/deliberate-summarize) | Yes — link the Discussion |
| Bug fix | No |
| Minor refactoring | No |
| New feature (standard pattern) | No |
| New feature (novel approach) | Yes |
| Changing an existing ADR | Yes — supersede |
# NNNN. Short Decision Title
## Status
Proposed | Accepted | Deprecated | Superseded by [NNNN](NNNN-short-title.md)
## Context and Problem Statement
What is the issue that we're seeing that motivates this decision?
## Decision Drivers
- [driver 1]
- [driver 2]
## Considered Options
1. Option A
2. Option B
3. Option C
## Decision Outcome
Chosen: **Option B**, because [justification].
### Consequences
- Good: [positive]
- Bad: [negative]
- Neutral: [trade-off]
## Links
- Discussion: [#N](url) — if from deliberation
- PR: [#N](url) — implementing PR
- Related: [NNNN](path) — related ADRs
Every public function, method, and class must have a docstring:
def function_name(param1: Type, param2: Type = default) -> ReturnType:
"""One-line summary (imperative mood).
Extended description if needed. Explain non-obvious behavior,
algorithms, or side effects.
Args:
param1: Description of param1.
param2: Description of param2. Defaults to X.
Returns:
Description of return value.
Raises:
SpecificError: When this specific condition occurs.
Example:
>>> result = function_name("input", param2=42)
>>> assert result.status == "ok"
"""
Type hints ARE documentation. Prefer:
def process(items: list[Document], config: ProcessConfig) -> list[Chunk]:
Over vague types that require reading the docstring to understand.
| Audience | Style |
|---|---|
| API users | Formal, complete, examples-first |
| Team developers | Concise, assume project context |
| Future self | Explain WHY, link to discussions/issues |
| New contributors | Explicit prerequisites, step-by-step |
# Increment counter above counter += 1# TODO: fix this — link an issue instead# Workaround for LangChain issue #12345
# See: https://github.com/langchain-ai/langchain/issues/12345
# ADR: docs/decisions/0005-custom-retry-logic.md
Commits following conventional format are auto-processed by semantic-release:
| Prefix | Changelog Section | Version Bump |
|---|---|---|
feat: | Features | Minor |
fix: | Bug Fixes | Patch |
docs: | (usually excluded) | None |
refactor: | (usually excluded) | None |
BREAKING CHANGE: | Breaking Changes | Major |
feat: add multi-agent deliberation with heterogeneous models
Support architectural deliberation using Claude Opus 4.6, Gemini 3 Pro,
and GPT-5.2 in parallel rounds. Each agent independently investigates
the codebase and posts analysis to a GitHub Discussion.
Closes #42