Skip to content
generate-requirements logo

要件定義書生成スキル

generate-requirements

開発作業の要件定義書(requirements.md)を生成します。このスキルは単独で使用することも、generate-working-docsから呼び出されることもあります。

SKILL.md

Full skill instructions

要件定義書生成スキル

概要

このスキルは、開発作業の要件定義書(requirements.md)を生成します。

使用シーン

  • 新規開発作業の要件定義を開始するとき
  • パフォーマンス改善作業の要件定義を開始するとき
  • 既存の開発作業ディレクトリに要件定義書を追加するとき
  • 要件定義書を再生成するとき

必要な情報

  • ディレクトリパス: 要件定義書を配置する docs/​working/​{YYYYMMDD}_{要件名}/ のパス
  • 要件名: 英語のケバブケース(例:query-execution, export-csv, optimize-rendering)
  • 作業タイプ (オプション): "feature" (新規機能開発) または "performance" (パフォーマンス改善)

実行手順

1. ディレクトリパスと作業タイプの確認

ユーザーまたは親スキルから以下を取得します:

  • 既存の開発作業ディレクトリパス、または要件名(新規の場合は本日の日付と組み合わせてディレクトリを作成)
  • 作業タイプ(指定がない場合は "feature" をデフォルトとする)

2. テンプレートの選択

作業タイプに応じてテンプレートを選択します:

  • work_type = "feature": 新規機能開発用テンプレート
  • work_type = "performance": パフォーマンス改善用テンプレート

3. requirements.md の生成

template.md または template-performance.md のテンプレートを使用して、requirements.md を生成します。

3. 完了報告

生成したファイルのパスをユーザーに報告します。

永続化ドキュメントの参照

重要: 要件定義書生成時は、docs/​steering/ ディレクトリにある永続化ドキュメントを参照して、既存のプロダクト仕様と矛盾のない内容にしてください。

参照すべきドキュメント

ドキュメント参照目的
docs/​steering/​01_product_requirements.mdプロダクト全体の要件・機能を確認し、新規要件が全体像に適合するか検証
docs/​steering/​02_functional_design.md既存の画面・機能設計を参照し、UI/​UXの一貫性を保つ
docs/​steering/​06_ubiquitous_language.mdプロジェクト用語の正しい使用を確認
docs/​steering/​features/​*.md関連機能の詳細仕様を確認し、統合ポイントや影響範囲を把握

参照ルール

  1. 新規機能の要件定義時: プロダクト要求定義書で全体の方針を確認し、機能詳細仕様で既存機能との整合性を検証
  2. パフォーマンス改善の要件定義時: 技術仕様書で現在のアーキテクチャを確認し、最適化の方向性を検討
  3. 用語使用時: ユビキタス言語定義書で正しい用語を確認し、プロジェクト全体で統一された表現を使用
  4. 既存機能への影響がある場合: 該当する機能詳細仕様を確認し、変更による影響範囲を明記

テンプレート

詳細は template.md を参照してください。

関連スキル

  • generate-working-docs - 全ドキュメントを生成するメインスキル
  • generate-design - 設計書生成スキル
  • generate-tasklist - タスクリスト生成スキル
  • generate-testing - テスト手順書生成スキル

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View