用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cbgbt/bottlerocket-forest --skill propose-feature-test-plan命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Edit Bottlerocket RPM spec files following project style conventions
Transform a rough plan into implement-commit ready artifacts. Allows rigorous review while implementing.
Implement commits from an implementation plan using a TDD pipeline
基于 SOC 职业分类
正在显示 SKILL.md
| name | propose-feature-test-plan |
| description | Create a test plan mapping EARS requirements and Critical Constraints to specific tests |
Create a test plan that systematically maps requirements and constraints to concrete tests. This ensures every requirement has verification and guides test implementation.
./docs/features/NNNN-feature-name/concept.md./docs/features/NNNN-feature-name/requirements.md./docs/features/NNNN-feature-name/design.md (contains Critical Constraints)ls ./docs/features/NNNN-feature-name/concept.md
ls ./docs/features/NNNN-feature-name/requirements.md
ls ./docs/features/NNNN-feature-name/design.md
If any don't exist, complete those steps first.
Review requirements.md for all REQ-* identifiers. Review design.md for all CC-* Critical Constraints.
Create ./docs/features/NNNN-feature-name/test-plan.md with this structure:
# Test Plan: Feature Name
## Overview
Brief description of testing approach.
## Test Types
- **Unit**: Test internal logic in isolation, mocks allowed
- **Integration**: Touch real external resources (filesystem, network), NO mocks
- **Not testable**: Cannot be verified by automated test (explain why)
- **Out of scope**: Requires external authentication - document but do not implement
## Requirements Coverage
| Req ID | Test Type | Test Name | Description |
|--------|-----------|-----------|-------------|
| REQ-1 | unit | test_xxx | What it verifies |
| REQ-2 | integration | test_yyy | What it verifies |
| REQ-3 | not-testable | - | Why not testable |
| REQ-4 | out-of-scope | - | Why out of scope |
## Critical Constraints Verification
| CC ID | Verification Approach | Test Name(s) |
|-------|----------------------|--------------|
| CC-1 | How constraint is verified | test_xxx |
## Integration Test Requirements
For CLI programs, integration tests MUST:
- Exercise the actual CLI binary/commands users run
- NOT test internal APIs directly
- Do what the user/customer will actually do
## Test Implementation Notes
Any specific guidance for implementing these tests.
For each REQ-* in requirements.md:
Determine test type:
Name the test descriptively (e.g., test_parses_valid_config)
Write brief description of what it verifies
For each CC-* in design.md:
If the feature includes CLI commands:
For tests requiring external authentication:
# Check file exists
ls ./docs/features/NNNN-feature-name/test-plan.md
# Verify all requirements are covered
grep -c "REQ-" ./docs/features/NNNN-feature-name/test-plan.md
grep -c "REQ-" ./docs/features/NNNN-feature-name/requirements.md
# Counts should be comparable
# Verify all constraints are covered
grep -c "CC-" ./docs/features/NNNN-feature-name/test-plan.md
grep -c "CC-" ./docs/features/NNNN-feature-name/design.md
# Counts should be comparable
Missing coverage: Every REQ-* and CC-* must appear in the test plan. Use the validation grep commands to check.
Wrong test type: Unit tests should not touch filesystem/network. Integration tests should not use mocks.
Testing internals instead of behavior: For CLI tools, test the CLI commands users run, not internal functions.
Vague descriptions: Test descriptions should state what specific behavior is verified.
After creating the test plan:
propose-implementation-plan skill to plan implementation