feature-documentation

A project-documentation skill that records features, services, requirements, assumptions, system structure, and project-specific design decisions in lasting documents.

In plain words
What is it for?
Use it when adding or changing features, services, project assumptions, or system structure. It creates new documentation or updates existing documentation.
Why use it?
It prevents important context from being buried in chat history, pull requests, or changelogs. Future developers and coding agents can understand what the system does and why it works that way.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/crearize/ai-dev-helm/feature-documentation
Any agent
npx skills add Crearize/ai-dev-helm --skill feature-documentation
Clone the repo
git clone --depth 1 https://github.com/Crearize/ai-dev-helm

Made for: Claude Code, Codex.

Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00077 $0.03927
Opus 5 $0.00039 $0.01963
Sonnet 5 $0.00015 $0.00785
Haiku 4.5 $0.00008 $0.00393

Measured yesterday against content hash ecb42c870d1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

feature-documentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/project/feature-documentation/SKILL.md · 309 lines

How it starts

The opening of the file, as written. The whole thing — 309 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Feature Documentation Skill - 機能・サービス・知識ドキュメント化

目的

プロジェクトに関する 「あとから読めば分かる」資産 を蓄積するためのスキル。

会話履歴・PR description・CHANGELOG はあくまで「いつ・誰が・何をしたか」の記録に過ぎず、「この機能は何で、なぜそうなっているのか」を後から再構築するのは難しい。 本スキルは、機能や前提条件などを 永続ドキュメント として残し、「次に触る人(人間でも AI でも)が単独で理解できる状態」を維持することを目的とする。


適用範囲(何を書くか)

このスキルは「機能詳細だけ」のものではなく、以下のすべてを対象とする:

種別
機能 / サービス 認証機能、決済サービス、通知バッチ など
業務要件 / ユースケース ユーザー登録フロー、注文確定フロー など
プロジェクト前提条件 想定ユーザー、対応ブラウザ、SLA、想定負荷 など
全体像 / README 的な内容 システム構成、リポジトリ構成、用語集、ドメイン語彙 など
横断的なルール / 設計判断 例外設計方針、リトライ戦略、命名規約のうち本プロジェクト固有のもの

開発プロセスや汎用的なコーディング規約は documents/development/ 配下のドキュメントを使う。本スキルが扱うのは「このプロジェクト固有の事実・判断」。


発火タイミング(必須)

以下のいずれかに該当する場合、本スキルを必ず実行する

自動発火(AI 側で判断して実行)

  1. 新しい機能・サービスを実装したとき
    • 例: 新しい API エンドポイント群、新しいバッチ、新しい画面 / 機能ブロック
  2. 既存の機能・サービスの仕様 / 振る舞いを変更したとき
    • 例: API レスポンス形式の変更、認可ルールの変更、外部サービス連携の変更
  3. プロジェクトの前提条件 / 構成が変わったとき
    • 例: 採用技術の変更、依存サービスの追加、対応ブラウザの更新
  4. executing-plans / subagent-driven-development の各タスク完了時
    • タスクが「機能の追加・変更」を含むなら、本スキルを呼び出してから次のタスクに進む
  5. quality-check 実行時の前提条件
    • quality-check は本スキルが完了している(または対象なしと判断されている)ことを前提とする

手動発火

  • ユーザーが feature-documentation スキルを明示的に呼び出した場合
  • ユーザーが「このプロジェクトの〜をドキュメントにまとめて」と依頼した場合

実行フロー

Step 1: ドキュメント対象の特定
  ↓
Step 2: 保存場所の決定(既存ドキュメントの探索)
  ↓
Step 3: 新規作成 or 更新の判断
  ↓
Step 4: ドキュメントの作成 / 更新
  ↓
Step 5: 関連ドキュメントとの整合性チェック
  ↓
Step 6: ユーザー確認 + コミット提案

Step 1: ドキュメント対象の特定

直近の変更(または会話の文脈)から、ドキュメント化すべき対象を 1 件以上特定する。

判断基準:

  • git diff origin/main...HEAD --name-only で得られるファイルのうち、以下に該当するものは対象候補
    • 新規追加された機能ファイル群(同一ディレクトリ配下にまとまっている場合は 1 機能として扱う)
    • 公開 API / 公開インターフェースの追加・変更
    • 設定ファイル / インフラ定義の意味のある変更
  • 単純なリファクタリング・バグ修正・依存パッケージのバージョンアップは 対象外 としてよい(ただし振る舞いが変わる場合は対象)

判断に迷う場合は対象としてユーザーに確認する。 過不足は後で調整可能だが、書かれていないことは検出できない。

複数の対象がある場合は、対象ごとに Step 2 以降を繰り返す。


Step 2: 保存場所の決定

2-1. 既存ドキュメントの探索

以下を順に検索し、対象に関連する既存ドキュメントがあるか確認する:

# プロジェクトでよく使われるドキュメントディレクトリを検索
ls -la documents/ docs/ 2>/dev/null

# 対象機能名・関連キーワードで全文検索
git ls-files '*.md' | xargs grep -l "<キーワード>" 2>/dev/null

Read the full file on GitHub · 309 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 309 lines · 77 tokens per session scan A ecb42c870d1e

Subscribe to this mod's changes

feature-documentation is a skill published in the GitHub repository Crearize/ai-dev-helm (4 stars, last pushed 6d ago), licensed MIT. It adds 77 tokens to every session and 3,927 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens