File contents Implementing Features
プロジェクトの開発標準に従い、TDDで機能実装・バグ修正・リファクタリングを行う。
CLAUDE.md の方針を厳守すること。プロジェクト固有のコードパターンは docs/development-patterns.md を参照。
基本姿勢
実務でそのまま使えるコードを書く(擬似コード禁止、TODOで逃げない)
仕様が曖昧な場合は実装前に質問する(推測で進めない)
設計を勝手に変えない、過剰な抽象化をしない
仕様書にない機能を追加しない
ユーザーデータの暗黙的な削除・上書きをしない
実装ワークフロー(TDD)
仕様確認 — 曖昧な点があれば選択肢を示して質問
テスト作成 — Vitest + Testing Library で正常系・異常系・境界値を書く
最小実装 — テストが通るコードを書く
リファクタリング — テストが通ったまま整理
検証 — npm run test:run && npm run check && npm run build && npx depcruise src --config
※ 上記検証コマンドは .husky/pre-push と同等。push時に自動実行されるが、
コミット前に手動確認したい場合に使用する
ドキュメント更新 — 下記「ドキュメント同期」に従い docs/ を更新
出力フォーマット
実装時は以下の順で出力:
実装方針(簡潔に)
テストコード
本体コード
アーキテクチャ準拠
Feature-Sliced Design : src/features/{feature}/ 配下に components, pages, utils
状態管理 : Zustand 5 + persist middleware(セレクタの注意点は docs/development-patterns.md 参照)
バリデーション : Zod スキーマで型安全に(src/shared/types/)
UI : Tailwind CSS 4 + shadcn/ui、ダークモード必須
パスエイリアス : @/ → src/
データモデル変更時
Zodスキーマを先に定義
既存 DatabaseSchema との後方互換を維持(optional追加)
localStorage永続化層(jsonStorage)への影響を確認
ドキュメント同期
実装変更後、影響を受ける docs/ ファイルを必ず更新する。
ドキュメントの正確性は実装と同等の品質基準で扱う。
更新トリガーと対象ファイル
変更内容
更新対象
ルート追加・変更・削除
docs/project.md
Zustandストア追加・変更・削除
docs/project.md
npmスクリプト追加・変更
docs/project.md
依存パッケージ追加・バージョン変更
docs/project.md
feature追加・削除・リネーム
docs/architecture.md
コンポーネント追加・削除
docs/architecture.md
テストファイル追加・削除
docs/architecture.md
shared/infrastructure変更
docs/architecture.md
コードパターン・落とし穴の発見/変更
docs/development-patterns.md
Zodスキーマのフィールド追加・変更
docs/data-model.md
バリデーションルール変更
docs/data-model.md
フォームスキーマ追加・変更
docs/data-model.md
更新手順
変更した実装コードを読み、影響を受ける docs/ ファイルを特定する
対象ファイルの該当箇所を実装に合わせて更新する
更新内容を品質レポートの変更影響範囲に含める
テストポリシー
テストは「仕様を説明するもの」
重要なロジックには必ずテストケースを用意
カバレッジ80%以上を目標
describe / it の説明文は日本語で振る舞いを明記
ユニットテストカバレッジのレポートをファイル出力し提示
依存方向の検証
実装完了時に npx depcruise src --config を実行し、以下のルール違反がないことを確認する:
features/X → features/Y の直接依存がないこと
shared → features の依存がないこと
infrastructure → features の依存がないこと
stores → features の依存がないこと
循環依存がないこと
Git操作
--no-verify は使用禁止(pre-commit / pre-pushフックを迂回しない)
フック失敗時はエラーの原因を修正する
--force は原則禁止
禁止事項
Zustandセレクタ内での .filter() / .map() / .sort()(無限ループの原因)
仕様書にない機能の追加
ユーザーデータの暗黙的な削除・上書き
--no-verify によるフック迂回
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1 --- 2 name: froggugugugu-resource-planner-implementing-features 3 description: Implementing Features 4 --- 5 6 # Implementing Features 7 8 プロジェクトの開発標準に従い、TDDで機能実装・バグ修正・リファクタリングを行う。 9 `CLAUDE.md` の方針を厳守すること。プロジェクト固有のコードパターンは [docs/development-patterns.md](../../../docs/development-patterns.md) を参照。 10 11 ## 基本姿勢 12 13 - 実務でそのまま使えるコードを書く(擬似コード禁止、TODOで逃げない) 14 - 仕様が曖昧な場合は実装前に質問する(推測で進めない) 15 - 設計を勝手に変えない、過剰な抽象化をしない 16 - 仕様書にない機能を追加しない 17 - ユーザーデータの暗黙的な削除・上書きをしない 18 19 ## 実装ワークフロー(TDD) 20 21 1. **仕様確認** — 曖昧な点があれば選択肢を示して質問 22 2. **テスト作成** — Vitest + Testing Library で正常系・異常系・境界値を書く 23 3. **最小実装** — テストが通るコードを書く 24 4. **リファクタリング** — テストが通ったまま整理 25 5. **検証** — `npm run test:run && npm run check && npm run build && npx depcruise src --config` 26 ※ 上記検証コマンドは `.husky/pre-push` と同等。push時に自動実行されるが、 27 コミット前に手動確認したい場合に使用する 28 6. **ドキュメント更新** — 下記「ドキュメント同期」に従い `docs/` を更新 29 30 ## 出力フォーマット 31 32 実装時は以下の順で出力: 33 1. 実装方針(簡潔に) 34 2. テストコード 35 3. 本体コード 36 37 ## アーキテクチャ準拠 38 39 - **Feature-Sliced Design**: `src/features/{feature}/` 配下に components, pages, utils 40 - **状態管理**: Zustand 5 + persist middleware(セレクタの注意点は [docs/development-patterns.md](../../../docs/development-patterns.md) 参照) 41 - **バリデーション**: Zod スキーマで型安全に(`src/shared/types/`) 42 - **UI**: Tailwind CSS 4 + shadcn/ui、ダークモード必須 43 - **パスエイリアス**: `@/` → `src/` 44 45 ## データモデル変更時 46 47 - Zodスキーマを先に定義 48 - 既存 `DatabaseSchema` との後方互換を維持(optional追加) 49 - localStorage永続化層(`jsonStorage`)への影響を確認 50 51 ## ドキュメント同期 52 53 実装変更後、影響を受ける `docs/` ファイルを必ず更新する。 54 ドキュメントの正確性は実装と同等の品質基準で扱う。 55 56 ### 更新トリガーと対象ファイル 57 58 | 変更内容 | 更新対象 | 59 | -------------------------------- | ---------------------- | 60 | ルート追加・変更・削除 | `docs/project.md` | 61 | Zustandストア追加・変更・削除 | `docs/project.md` | 62 | npmスクリプト追加・変更 | `docs/project.md` | 63 | 依存パッケージ追加・バージョン変更 | `docs/project.md` | 64 | feature追加・削除・リネーム | `docs/architecture.md` | 65 | コンポーネント追加・削除 | `docs/architecture.md` | 66 | テストファイル追加・削除 | `docs/architecture.md` | 67 | shared/infrastructure変更 | `docs/architecture.md` | 68 | コードパターン・落とし穴の発見/変更 | `docs/development-patterns.md` | 69 | Zodスキーマのフィールド追加・変更 | `docs/data-model.md` | 70 | バリデーションルール変更 | `docs/data-model.md` | 71 | フォームスキーマ追加・変更 | `docs/data-model.md` | 72 73 ### 更新手順 74 75 1. 変更した実装コードを読み、影響を受ける `docs/` ファイルを特定する 76 2. 対象ファイルの該当箇所を実装に合わせて更新する 77 3. 更新内容を品質レポートの変更影響範囲に含める 78 79 ## テストポリシー 80 81 - テストは「仕様を説明するもの」 82 - 重要なロジックには必ずテストケースを用意 83 - カバレッジ80%以上を目標 84 - `describe` / `it` の説明文は日本語で振る舞いを明記 85 - ユニットテストカバレッジのレポートをファイル出力し提示 86 87 ## 依存方向の検証 88 89 実装完了時に `npx depcruise src --config` を実行し、以下のルール違反がないことを確認する: 90 91 - `features/X` → `features/Y` の直接依存がないこと 92 - `shared` → `features` の依存がないこと 93 - `infrastructure` → `features` の依存がないこと 94 - `stores` → `features` の依存がないこと 95 - 循環依存がないこと 96 97 ## Git操作 98 99 - `--no-verify` は使用禁止(pre-commit / pre-pushフックを迂回しない) 100 - フック失敗時はエラーの原因を修正する 101 - `--force` は原則禁止 102 103 ## 禁止事項 104 105 - Zustandセレクタ内での `.filter()` / `.map()` / `.sort()`(無限ループの原因) 106 - 仕様書にない機能の追加 107 - ユーザーデータの暗黙的な削除・上書き 108 - `--no-verify` によるフック迂回 109 110 --- 111 > Converted and distributed by [TomeVault](https://tomevault.io/claim/froggugugugu) — claim your Tome and manage your conversions. 112 <!-- tomevault:4.0:skill_md:2026-04-15 -->
tomevault-io/skills-registry/tree/main/froggugugugu--resource-planner--implementing-features commit c7cce36d27
Frequently asked questions How do I install the Froggugugugu Resource Planner Implementing Features skill? Run npx skillmds@latest add tomevault-io/froggugugugu-resource-planner-implementing-features in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Froggugugugu Resource Planner Implementing Features skill do? Implementing Features It is listed under Coding & Dev Tools on SkillMD.
Is Froggugugugu Resource Planner Implementing Features safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Froggugugugu Resource Planner Implementing Features? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Froggugugugu Resource Planner Implementing Features free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Froggugugugu Resource Planner Implementing Features? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.