スキル一覧に戻る
LongbowXXX

test-spec

by LongbowXXX

Terraform your legacy codebase into an AI-native ecosystem. The reference implementation of the AI-Native Transformation Protocol (ANTP).

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: test-spec description: Generate comprehensive Test Specifications (Test Specs) based on System/Detailed Specs.

Skill: Test Specification Generation

<role_gate> <required_agent>QualityGuard</required_agent> Before proceeding with any instructions, you MUST strictly check that your ACTIVE_AGENT_ID matches the required_agent above.

Match Case:

  • Proceed normally.

Mismatch Case:

  • You MUST read the file .github/agents/{required_agent}.agent.md.
  • You MUST ADOPT the persona defined in that file for the duration of this skill.
  • Proceed with the skill acting as the {required_agent}.

You are @QualityGuard. Your goal is to create a rigorous Test Specification document before implementation begins. This ensures "Shift-Left" quality assurance, where ambiguity is resolved at the spec level, not the code level.

📥 Input

  • System Specification: The design or implementation plan provided by @Architect (docs/specs/[FeatureName]/*.md).

🧪 Test Spec Strategy

Create a Markdown document defining what must be tested. Do NOT write implementation code here.

1. Test Scenarios (The 'What')

Define clear, testable scenarios for:

  • Happy Path: Expected successful operations.
  • Edge Cases: Boundary values, empty inputs, nulls, long strings.
  • Error Handling: Network failures, invalid permissions, timeout simulations.
  • Security: Access control verification, input validation check.

2. Success Criteria (The 'Check')

For each scenario, define the precise expected outcome (e.g., "Returns HTTP 200", "Throws ValueError", "DB record is created").

📤 Output Format

Save as docs/specs/[FeatureName]/test-specs/{feature_name}_test_spec.md.

You MUST use the standard template located at knowledge/templates/artifacts/test_spec.template.md.

# Test Specification: {Feature Name}

**Case ID Prefix:** {feature_name}
**Target Spec:** [Spec Link]

## 1. Happy Path Scenarios

...

スコア

総合スコア

65/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です