SKILL

init

Scaffold the host-repo conventions the hane skills expect — doc directories, document templates, a process.md skeleton, and optionally status labels and a rules directory. Trigger when the user says: "hane init", "init", "初期設定", "セットアップ", "scaffold", "hane を導入", "ディレクトリ構造をセットアップ", "set up hane", or similar phrases requesting host-repo setup for the hane skills.

Original · translation did not pass checks

Target: Office & team collaboration. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original Japanese text

Topics in the source

  • Host Repo Init Skill
  • 手順
  • 1. 前提確認
  • 2. 既存状態のスキャン
  • 3. 選択をユーザーに確認
  • 4. scaffold する
  • テンプレートアセットのコピー元
  • tpl.config.json の生成

hane の各 skill(start-dev / design-doc / acceptance-test / qa など)は、 host repo が一定のディレクトリ・ドキュメント慣習を採用していることを 前提に動く。このスキルは、その初期セットアップを対話で行う。 このスキルの価値は「固定のファイルを置くこと」ではなく、repo ごとに異なる選択を 対話で決め、hane が前提とする慣習の単一の出所になることにある。選択肢を持たず 固定構造を吐くだけならテンプレート repo やシェルスクリプトで足りる。 カレントが git repo であることを確認する(でなければ git init を提案する)。 .gitignore に .claude/worktrees/ が含まれているか確認する。無ければ追記を 提案する(start-dev / ship / design-doc がここに worktree を作るため)。 docs/{design,adr,acceptance,test-perspectives}/、docs/process.md、.claude/rules/、 tpl.config.json、status: ラベルの有無を調べる。このスキルは冪等で、既に存在するものは 上書きせず skip する。スキャン結果を踏まえて次の質問を出す。 以下を対話で確認する(既に存在するものは「採用済み」として扱い、質問から除いてよい)。 1. 採用するドキュメントディレクトリ — docs/design/(Design Doc)/ docs/adr/(ADR)/ docs/acceptance/(受け入れテスト)/ docs/test-perspectives/(TPL)のうちどれを採用するか。複数選択可。 2. ADR のファイル名規約 — GitHub 番号ベース( -slug.md、hane の既定。 ADR-8 参照)か、日付ベース(YYYYMMDD-NN-slug.md)か。 docs/adr/ を採用する場合のみ訊く。 3. TPL の id 形式: issue-number(TPL- 。ADR・AT と同じ GitHub 番号ベースで、 hane の既定)か、date-sequence(TPL-YYYYMMDD-NN。tpl-tools の既定)か。 docs/test-perspectives/ に TPL がまだ無い場合のみ訊く。TPL がある repo、tpl.config.json が ある repo、tpl を --config 付きで呼んでいる repo(package.json の scripts 等)では訊かない (既存の運用を作り変えない)。 4. status: ラベル運用 — start-dev / ship が I

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
kompiro/hane
Source file
skills/init/SKILL.md
Fixed revision
e43182fb7d2abb7ea0ffb21f030479966cd2ee05
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: kompiro/hane · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T09:01:55.353Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.