원클릭으로
scrum-developer-skill
Execute coding tasks from Scrum Master using TDD workflow and existing skills
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute coding tasks from Scrum Master using TDD workflow and existing skills
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
預設的系統化開發工作流 (SDD)。當用戶明確要求開發新功能、修復複雜問題、進行需求梳理、架構設計、任務規劃、程式碼實現、spec review / optimization,或在 project review / live demo 前盤點真實整合風險時使用。若工作同時需要處理 review rejection、retro finding、known issue、tech debt、change-request follow-up、或其他 continuous-improvement 請求,並且要判斷它應該 `continue active spec`、走 `CR against completed spec`、先進 issue log,還是真的需要 `new spec`,也應使用此 skill。若工作同時需要規劃需求到任務的主流程,並在 implementation / closeout 前安排 folder-level `TESTS.md` row-level 更新、workspace `.agents/specs/TESTS.md` reconciliation / rollup refresh、test evidence 回寫,或明確決定何時 handoff 給 `test-registry-manager`,也應使用此 skill。直接的 `TESTS.md` catalog cleanup / duplicate-ID / stale-row / mapping reconciliation 本身仍屬於 `test-registry-manager`。
把這個 skill 當成 spec 工作的前門與路由入口,並在需要 branch-spec authoring / resume / improvement classification 時指向本目錄的 `WORKFLOW.md`。當使用者要建立新 spec、續做做到一半的 spec、根據 `NEXT_STEPS.md` 詢問下一步、盤點或更新 `SPECS.md`、建立或整理 `RTM.md`,或遇到 review rejection、retro finding、tech debt、known issue、test gap、CR follow-up 等 continuous-improvement 請求而不確定應該併回既有 owner、走 CR overlay、先進 issue log,還是真的需要開新 spec 時使用。把 project-level system architecture / `.agents/steering/{product,tech,structure}` / architecture review / 架構 HTML 導向 `system-architect`,把 AI/security/privacy/PII/log/regulatory compliance inventory / internal-audit gap table 導向 `iso-ai-security-auditor`,把 `ISSUE_LOG.md` 治理導向 `issue-log-manager`,把 `TESTS.md` 治理導向 `test-registry-manager`,把 `SPECS.md` registry sync 導向 `spec-registry-manager`,並在真正需要 local dev / UAT / E2E runtime allocation 時轉交 `local-infra-registry-governance`。不要用在單純 folder-level `TESTS.md` 維護、單純 `SPECS.md` 更新、單純 compliance legal advice/certification verdict、或單純 local env 操作這些已明確屬於下游 skill 的情況。
負責掃描專案內的所有 Specs 文件,進行規格盤點與狀態更新,並生成或維護全局規格註冊表 (`SPECS.md`)。當使用者要求「盤點 spec」、「更新 SPECS.md」、「建立規格目錄」,或需要管理 completed spec 的 change request、cross-spec 影響、external contract 依賴治理、continuous-improvement fragmentation 風險摘要、以及跨 spec 的 live-demo readiness / false-green review 風險摘要時使用。這個 skill 不負責 live local infra runtime registry,也不直接重做 runtime 驗證。
管理 `TESTS.md` 與 test traceability 的專用 skill。當使用者要更新、盤點、刷新、reconcile、audit、clean up folder-level `TESTS.md` 或 workspace `.agents/specs/TESTS.md`,補 `Test ID`、`Owner`、`Canonical Command`、`Evidence Ref`、`Task / Spec Trace`、`Requirement / AC Trace`,處理 duplicate test IDs、stale rows、`unmapped_to_spec`、missing evidence,或在 spec closeout 前刷新測試治理時,都應優先使用此 skill,即使使用者沒有明說 skill 名稱。若工作同時涉及 open CR、review-pending baseline change、或需要重新判定 critical test evidence freshness,也應使用此 skill。不要用在新 spec authoring、`SPECS.md` registry sync、`RTM.md` authoring、最終 readiness verdict、或 local env / runtime work。
為 git 管控的專案建立跨 AI agent 的 hybrid bridge:repo-local `skills` 用 symlink / Junction 避免重複,`specs` 可選擇 sync 或 symlink,其餘 `.claude`、`.kiro`、`.codex` 內的設定 / 權限檔維持 real-directory + sync workflow。當使用者提到「設定 cross-agents symlinks」「初始化 agents 設定」「skills 不要重複」「保留 Claude/Codex 權限檔」「specs 要可切換 sync 或 symlink」「CLAUDE.md symlink」或要整理 cross-agent `.gitignore` 規則時使用此 skill。
Perform code review using Code Review System CLI tools. Use when agents need to analyze code, generate improvements, create reports, perform architecture analysis, inspect bounded context, query GraphRAG state, govern local GraphRAG artifacts, or produce generic producer-side routing handoff artifacts. Supports file-level and project-level reviews.
| name | scrum-developer-skill |
| version | 1.0.0 |
| description | Execute coding tasks from Scrum Master using TDD workflow and existing skills |
| author | AI Multi-Agent Coordinator Team |
執行 Scrum Master 分配的開發任務,使用 TDD workflow 和現有 skills 組合。
在 opencode-sandbox-station workload 中執行 Asynq queue 拉取的 coding 任務。
1. Understand Task (理解任務)
├─ 解析 Task JSON spec
├─ 識別需求和驗收標準
└─ 規劃實作步驟
2. Design Solution (設計方案)
├─ 選擇架構模式
├─ 設計資料結構
└─ 規劃測試策略
3. Implement (TDD 實作)
├─ RED: 寫失敗測試
├─ GREEN: 最小實作
└─ REFACTOR: 重構優化
4. Quality Check (品質檢查)
├─ 執行測試
├─ 執行 EDD 評估 (Eval Check)
├─ 安全審查
└─ 程式碼規範檢查
5. Document (文件生成)
├─ 更新技術文件
├─ 記錄 Lesson Learned
└─ 準備交付物
{
"id": "task-001",
"epic_id": "epic-001",
"title": "Implement user authentication",
"description": "...",
"spec": {
"requirements": [...],
"acceptance_criteria": [...],
"dependencies": [...]
},
"iteration": 1
}
解析 Task Spec
# 環境變數由 Sandbox Station 注入
echo "Task ID: $TASK_ID"
echo "Workload ID: $WORKLOAD_ID"
cat task-spec.json | jq .
識別需求 (使用 ba-analyst-skill 概念)
規劃步驟 (使用 kiro-skill workflow)
skills/,先確認這次變更是否來自 active spec task / approved change candidate,而不是 ad-hoc direct edit# Task Understanding Report
## Requirements
- FR1: User can login with email/password
- NFR1: Response time < 200ms
- NFR2: Password must be hashed with bcrypt
## Acceptance Criteria
- [ ] Login endpoint returns JWT token
- [ ] Invalid credentials return 401
- [ ] Rate limiting: 5 attempts per minute
## Implementation Plan
1. Create User model (ent schema)
2. Implement authentication service
3. Add login endpoint
4. Write integration tests
backend-patterns — 選擇架構模式golang-patterns — Go 程式碼模式postgres-patterns — 資料庫設計solution-designer-skill — 解決方案設計選擇架構模式
// Repository Pattern (from backend-patterns)
type UserRepository interface {
FindByEmail(ctx context.Context, email string) (*User, error)
Create(ctx context.Context, user *User) error
}
// Service Layer (from backend-patterns)
type AuthService struct {
userRepo UserRepository
jwtSecret string
}
設計資料結構
// ent/schema/user.go (from postgres-patterns)
type User struct {
ent.Schema
}
func (User) Fields() []ent.Field {
return []ent.Field{
field.String("email").Unique(),
field.String("password_hash"),
field.Time("created_at").Default(time.Now),
}
}
規劃測試策略 (from golang-testing)
# Design Document
## Architecture
- Pattern: Repository + Service Layer
- Database: PostgreSQL (ent ORM)
- Authentication: JWT (HS256)
## Data Model
- User: email, password_hash, created_at
## Test Strategy
- Unit: AuthService.Login()
- Integration: UserRepository with real DB
- E2E: POST /api/auth/login
tdd-workflow — TDD 流程golang-patterns — Go 實作模式golang-testing — 測試模式// internal/auth/service_test.go
func TestAuthService_Login_Success(t *testing.T) {
// Arrange
repo := &mockUserRepo{
users: map[string]*User{
"test@example.com": {
Email: "test@example.com",
PasswordHash: hashPassword("password123"),
},
},
}
svc := NewAuthService(repo, "secret")
// Act
token, err := svc.Login(context.Background(), "test@example.com", "password123")
// Assert
require.NoError(t, err)
assert.NotEmpty(t, token)
}
// internal/auth/service.go
func (s *AuthService) Login(ctx context.Context, email, password string) (string, error) {
user, err := s.userRepo.FindByEmail(ctx, email)
if err != nil {
return "", ErrInvalidCredentials
}
if !checkPassword(password, user.PasswordHash) {
return "", ErrInvalidCredentials
}
return s.generateJWT(user.ID)
}
// 提取常數
const (
ErrInvalidCredentials = errors.New("invalid credentials")
JWTExpiration = 24 * time.Hour
)
// 提取函數
func (s *AuthService) validateCredentials(ctx context.Context, email, password string) (*User, error) {
user, err := s.userRepo.FindByEmail(ctx, email)
if err != nil {
return nil, ErrInvalidCredentials
}
if !checkPassword(password, user.PasswordHash) {
return nil, ErrInvalidCredentials
}
return user, nil
}
對於採用 TDD 的任務,REFACTOR 不應只是示意範例;若上游 task spec / tasks.md 缺少 REFRACTOR 規劃,worker 應將其視為 planning gap 並在 handoff / report 中指出,而不是默默省略。
# Unit tests
go test ./internal/auth/... -v
# Integration tests
go test ./internal/auth/... -tags=integration -v
# Coverage
go test ./internal/auth/... -cover
security-review — 安全審查coding-standards — 程式碼規範eval-harness — 執行 EDD 評估與防退化檢查作為 Definition of Done (DoD) 的核心部分,開發完成後必須透過 EDD (Eval-Driven Development) 進行能力評估與防退化檢查:
# 執行 EDD 驗證 (參考 eval-harness skill)
# 確保 Capability Evals 與 Regression Evals 皆通過
/eval check <feature-name>
# 預期輸出範例
# EVAL REPORT: <feature-name>
# Capability: 5/5 passed (pass@3: 100%)
# Regression: 3/3 passed (pass^3: 100%)
# Status: SHIP IT
# 檢查清單
- [ ] 密碼使用 bcrypt hash (cost >= 12)
- [ ] JWT secret 從環境變數讀取
- [ ] Rate limiting 防止暴力破解
- [ ] 輸入驗證 (email format)
- [ ] SQL injection 防護 (使用 ORM)
- [ ] 敏感資料不記錄到 log
# 執行 linter
golangci-lint run ./internal/auth/...
# 格式化
gofmt -w ./internal/auth/
# 檢查
go vet ./internal/auth/...
# 要求 >= 80%
go test ./internal/auth/... -coverprofile=coverage.out
go tool cover -func=coverage.out
完成 Quality Check 後,worker 應明確判斷是否已達到 review handoff readiness,而不是自行宣告最終完成:
review.md 給出 formal verdictREFACTOR 階段,而不是只停在 GREEN若以上條件尚未滿足,狀態仍應視為 running 或 review_pending,不可自我宣告 readiness verdict。
spec-writer-skill — 技術文件# Authentication API
## POST /api/auth/login
**Request**:
```json
{
"email": "user@example.com",
"password": "password123"
}
Response (200):
{
"token": "eyJhbGc...",
"expires_at": "2026-03-05T12:00:00Z"
}
Errors:
#### 2. Lesson Learned
```bash
# 記錄經驗教訓
lesson-learned record \
--workload-id $WORKLOAD_ID \
--type lesson-learned \
--title "JWT secret management" \
--lesson "Always load JWT secret from environment variables, never hardcode"
artifacts/
├── code/
│ ├── internal/auth/service.go
│ ├── internal/auth/service_test.go
│ └── ent/schema/user.go
├── docs/
│ ├── api.md
│ └── design.md
├── tests/
│ └── coverage.out
└── lesson-learned.md
對於 shared workflow / global skill / governance 類任務,交付物還應至少包含:
Sandbox Station 自動注入:
TASK_ID=task-001 # Task ID
WORKLOAD_ID=ext-task-task-001 # Workload ID
CONTROLLER_API_URL=http://...:19080 # Controller API
GIT_REPO_URL=https://github.com/... # Git repository (optional)
Sandbox Station 自動回報:
running — 執行中review_pending — 等待 QC 審查failed — 失敗 (附錯誤訊息)補充規則:
review_pending 代表 worker 已完成本地實作與 evidence 整理,等待外部 review lane / spec-local review.md 裁決review_pending 或 green tests 等同於最終 readiness verdictkiro-skill — SDD workflowgolang-patterns — Go 程式碼模式golang-testing — Go 測試模式tdd-workflow — TDD 流程backend-patterns — 架構模式postgres-patterns — 資料庫設計security-review — 安全審查coding-standards — 程式碼規範spec-writer-skill — 技術文件ba-analyst-skill — 需求分析solution-designer-skill — 解決方案設計版本: 1.0.0
最後更新: 2026-03-04