add-feature
Add new feature workflow. Use when implementing new functionality, adding new API endpoints, or creating new components.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Add Feature Workflow
新機能追加時のワークフロー。
ステップ
1. 関連ドキュメントを読む
1. docs/INDEX.md で関連ドキュメントを特定
2. 該当ドキュメントを読む
3. 既存の実装パターンを確認
2. 影響範囲を特定
| 変更対象 | 対応方針 |
|---|---|
| 単一ファイルのみ | 直接修正 |
| 複数ファイル(同一パッケージ) | パッケージ内で完結させる |
| 複数パッケージ | 影響範囲を全て確認してから着手 |
3. 実装
既存パターンに従って実装:
Backend:
- Handler → Usecase → Repository の順
- domain/ でエンティティ定義
- テストを同時に書く
Frontend:
- composables/ でロジック
- components/ でUI
- pages/ でルーティング
4. テスト
# Backend
cd backend && go test ./...
# Frontend
cd frontend && npm run check
5. サービス再起動(Docker環境)
docker compose restart api worker
6. 動作確認
ブラウザで動作確認。
7. ドキュメント更新
| 変更内容 | 更新対象 |
|---|---|
| API追加 | API.md, openapi.yaml |
| DB変更 | DATABASE.md |
| 新ブロック | BLOCK_REGISTRY.md |
| Backend構造 | BACKEND.md |
| Frontend構造 | FRONTEND.md |
参考
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!