Communityライティング&編集github.com

gener8v/gener8v.claude-skills.engineering

プロジェクトのドキュメントセットを作成または拡充します。既存ドキュメントを一覧表示し、ユーザーが追加するドキュメントタイプを選択し、コードから共有ファクトシートを収集し、複数ある場合は並行してドキュメントを書き、最後に相互およびコードと照合します。'ドキュメントをブートストラップして'、'ドキュメントを開始して'、'READMEやARCHITECTUREがない'、'不足しているドキュメントを埋めて'と依頼されたときに使用します。コミットごとの既存ドキュメント更新(documentation-sync)や、gener8vパイプラインドキュメント(gener8v:brownfield および gener8v:planning が生成)には使用しません。

gener8v.claude-skills.engineering とは?

このスキルは、プロジェクトのドキュメントセットを一から作成または大幅に拡充するためのバルクタスクです。README、CONTRIBUTING、CHANGELOG、ARCHITECTURE、決定記録、CLAUDE.md、SECURITY.md、LICENSE、APIリファレンス、設定リファレンス、ラン​​ブックなど、プロジェクトに必要な主要ドキュメントのインベントリを取得し、各ドキュメントの状態(存在、薄い、欠落)を評価します。ユーザーが選択したドキュメントタイプについて、コードとgit履歴から収集した事実(プロジェクト名、バージョン、言語、フレームワーク、コマンド、コンポーネント、環境変数、重要日付など)を元に、複数ドキュメントを並行して作成します。作成後は一貫性チェックを行い、問題を修正してからブランチにコミットし、PRを開きます。このスキルはClaude CodeやCline等のAIエージェント向けに設計されており、ドキュメントが不足しているプロジェクトのセットアップを効率化します。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gener8v/gener8v.claude-skills.engineering/tree/HEAD/skills/documentation-bootstrap

Installed? Explore more ライティング&編集 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ドキュメントブートストラップ

これは不定期に行う一括タスクです。この後の変更には engineering:documentation-sync を使用してください。

1. インベントリを取得する

存在するドキュメントを一覧表示し、それぞれを 存在、薄い(存在するがほとんど空か古い)、または 欠落 とマークします。少なくとも以下を確認してください:

README.md, CONTRIBUTING.md, CHANGELOG.md, ARCHITECTURE.md または docs/architecture/、決定記録、CLAUDE.md, SECURITY.md, LICENSE、APIリファレンス、設定リファレンス、ラン​​ブック。

git ls-files '*.md' | grep -v node_modules

2. ユーザーに選択させる

resources/doc-catalog.md のメニューを表示します。各タイプを存在、薄い、または欠落としてマークします。この種のプロジェクトに推奨するタイプをマークします。

  • 存在するドキュメントは書き換えません。ユーザーは薄いものに対して「改訂」を選択できます。
  • ユーザーが選択します。ユーザーが選択しなかったタイプは書きません。

3. ファクトシートを作成する

誰かが書き始める前に、複数のドキュメントで使用される事実を収集します。コードとgitから取得し、記憶からは取得しません。それらをスクラッチファイルに書き込みます。

事実ソース
プロジェクト名と一文の目的README、マニフェスト、ユーザー
現在のバージョンマニフェスト、最新タグ(git describe --tags --abbrev=0)
言語、フレームワークとそのバージョンマニフェストとロックファイル
インストール、テスト、リンター、ビルド、実行コマンドengineering:development-commands
コンポーネントとその名前ディレクトリ構造、エントリポイント、Composeファイル
環境変数と設定.env.example、および設定を読み取るコード(process.env、os.environ、getenv を検索)
重要な日付最初のコミット(git log --reverse)、タグ
今日動作しているもの、動作していないものユーザー、オープンなIssue

2つのソースが矛盾する場合は、ユーザーに尋ねてください。黙って一方を選ばないでください。すべての執筆者はファクトシートとコードのみを使用します。

4. 執筆

  • 3文書以下: 自分で順番に書きます。
  • 4文書以上: 各文書または小さなグループに対して1つのサブエージェントを起動し、最大同時に4つとします。各サブエージェントに以下を渡します:
    • それが担当する正確なファイルと、他のファイルを変更してはならないというルール;
    • ファクトシート;
    • resources/doc-catalog.md にあるそのタイプのセクション概要;
    • Simplified Technical English で書くという指示(simple-english スキルがインストールされている場合);
    • 必要だが発見できなかった事実を、捏造する代わりに報告するという指示。

履歴、数値、ユーザー、機能を捏造しないでください。「TBD」と書き、それをユーザーにリストアップしてください。

5. セットをチェックする

resources/consistency-check.md に従ってください。続行する前にすべての問題を修正してください。

6. コミット

ドキュメントをブランチに配置し(engineering:git-branching)、PRを開きます(engineering:github-pr-merge)。PR本文に、新しい各ドキュメントと、ユーザーからの回答が必要な各「TBD」をリストアップしてください。

関連スキル

  • engineering:documentation-sync: この後、これらのドキュメントを正しく保ちます。
  • gener8v:brownfield: 既存のコードベースを gener8v パイプラインにオンボーディングします。これは .gener8v/ コンテキストを書き、これらのプロジェクトドキュメントは書きません。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

gener8v/gener8v.claude-skills.engineering

Find and run a project's test, lint, type-check, build and dev-server commands, read the results correctly, and seed a throwaway database when UI work needs realistic data. Never seeds the project's real or default database. Use before 'run the tests', 'lint this', 'does it build', 'start the app so I can see it', 'seed some demo data', and before you claim that a change works. Not for deployment or CI pipeline design; use the project's own deploy tooling for those.

gener8v/gener8v.claude-skills.engineering

Before a commit, find every document that describes what the change touched and update it in the same commit, or confirm in one line that no document needs a change. Catches stale text, missing documentation and facts kept in two places. Use before any commit or PR, and when asked 'are the docs up to date', 'update the docs for this change' or 'did I miss a README change'. Not for creating a documentation set or filling large gaps (documentation-bootstrap), and not for gener8v pipeline documents under .gener8v/, which the pipeline skills own.

gener8v/gener8v.claude-skills.engineering

Put work on the correct branch before the first edit. Finds the base branch, starts a well-named branch from the current remote tip, and sets up one worktree per agent for parallel work. Use at the start of any change to a tracked file, such as 'start on issue 42', 'fix this typo', 'set up branches for these three tickets', or before you start sub-agents that edit code. Not for opening or merging a PR (github-pr-merge) or for history rewrites and other risky git commands (git-safety).

gener8v/gener8v.claude-skills.engineering

Approval gate for git commands that destroy work or skip checks: force-push, --no-verify, signing bypass, reset --hard, clean -f, discarding uncommitted edits, branch or tag deletion, rewriting pushed commits and push --mirror. Each one needs the user's explicit approval at that moment; an earlier approval never carries over. Also covers a secrets check before a commit and what to do when a secret is already committed. Use before any of these commands, or when asked to 'force push', 'skip the hooks', 'throw away my changes' or 'delete that branch'. Not for normal branching (git-branching) or the PR flow (github-pr-merge).

関連スキル