do

Standard workflow for feature development and bug fixing. Plan → Explore → Build → Test/Type-check → Commit. Includes stage-specific extensions for frontend prototypes, backend RGR approach, and browser-based QA.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "do" with this command: npx skills add ymkz/dotfiles/ymkz-dotfiles-do

Do Work Skill (標準作業プロセス)

機能開発・バグ修正のための標準化されたワークフローを実行します。

When to Use This Skill

Use this skill when:

  • Implementing new features
  • Fixing bugs
  • Making code changes
  • Following a structured development process

Core Workflow

1. Plan (計画)

タスクの範囲を定義し、アプローチを決定します。

Actions:

  • 要件を明確化する
  • 既存コードベースのパターンを調査
  • 実装のステップを分割
  • 依存関係を特定

Deliverable:

  • タスクリスト(Todo)
  • 実装計画

2. Explore (探索)

コードベースと関連パターンを調査します。

Actions:

  • 類似の実装を検索
  • 既存のエラーハンドリングパターンを確認
  • 関連するモジュールの構造を把握
  • 必要に応じて外部ドキュメントを参照

Tools:

  • grep / ast-grep でパターン検索
  • explore agent でコードベース調査
  • librarian agent で外部リファレンス

3. Build (実装)

計画に基づいて実装を行います。

Actions:

  • 既存パターンに従った実装
  • 型安全の維持
  • 適切なエラーハンドリング
  • コードの一貫性を維持

Verification:

  • lsp_diagnostics で型エラーを確認
  • 既存パターンとの整合性を検証

4. Run Tests/Types (検証)

実装したコードを検証します。

Actions:

  • 型チェック(TypeScriptの場合)
  • テストの実行(プロジェクトにテストがある場合)
  • ビルドの実行
  • 手動での動作確認

Deliverable:

  • すべてのチェックがパスしたことの証拠

5. Commit (コミット)

変更をコミットします。

Actions:

  • 変更内容の確認(git status, git diff)
  • コミットメッセージの作成
  • コミットの実行
  • (オプション)プッシュ

Note: ユーザーが明示的に要求した場合のみコミットを実行

Stage Extensions

各ステージには状況に応じた拡張機能があります。詳細は個別のドキュメントを参照してください。

1a. Frontend Prototypes (フロントエンドプロトタイプ)

新しいフロントエンドインターフェースを設計する場合:

references/frontend-prototypes.md を参照

複数のプロトタイプを一時的なルートで作成し、比較検討します。


3a. Backend RGR Approach (バックエンドRGRアプローチ)

バックエンド作業の場合:

references/backend-rgr.md を参照

Red-Green-Refactorサイクルで実装します。


4a. Frontend QA (フロントエンドQA)

フロントエンドコードを触る場合:

references/frontend-qa.md を参照

agent-browserを使用してビジュアルQAを実施します。

Usage

/do <task description>

Key Principles

  1. Process First: プロセスに従って作業を進める
  2. Verification Required: 各ステージで検証を行う
  3. Pattern Consistency: 既存パターンを尊重する
  4. Type Safety: 型エラーを決して抑制しない
  5. Explicit Confirmation: コミットはユーザーの明示的な要求時のみ

Example

/do ユーザー認証機能を追加

This will:

  1. Plan: 認証の要件を定義、ステップを分割
  2. Explore: 既存の認証パターンを調査
  3. Build: 認証ロジックを実装
  4. Run Tests/Types: 型チェックとテストを実行
  5. Commit: ユーザーの確認後、変更をコミット

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

retrospective

No summary provided by upstream source.

Repository SourceNeeds Review
12-ymkz
Coding

code-quality

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

frontend-development

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github

No summary provided by upstream source.

Repository SourceNeeds Review