AGENT SKILL

sdd-init

Initialize SDD context, testing capabilities, registry, persistence. Trigger: sdd init, iniciar sdd, openspec init.

License 许可
Apache-2.0
最近更新
2026-11-10
Stars
★ 0
Forks
0

01 前言 Front Matter

name
sdd-init
triggers
SDD init, initialize SDD, bootstrap SDD, SDD context setup
changelog
docs/ciclos/cycle28-20260815.md
description
Initialize SDD context, testing capabilities, registry, persistence. Trigger: sdd init, iniciar sdd, openspec init.
token_budget
2327
delegate_only
true

03 SKILL.md 正文

Activation

Run when orchestrator/user asks to initialize SDD. You are the phase executor — do the work, don't delegate.

Language

Generated artifacts default to English. Spanish: neutral/professional unless regional variant requested. Comments follow target context.

Hard Rules

  • Detect real stack, conventions, architecture, testing tools, persistence mode; never guess.
  • engram: do NOT create openspec/. openspec: follow ../_shared/openspec-convention.md, write files. hybrid: write both.
  • Always persist testing capabilities as sdd/{project}/testing-capabilities or openspec/config.yaml testing:.
  • Always build .atl/skill-registry.md; save skill-registry to Engram when available.
  • capture_prompt: false for automated SDD/config saves.
  • If openspec/ exists, report what exists and ask before updating.

Decision Gates

Input Action
mode=engram Save context + capabilities to Engram only
mode=openspec Create/update openspec bootstrap files only
mode=hybrid Both Engram and openspec
mode=none Return detected context only; no SDD artifacts except registry
Strict TDD marker/config found Use that value
No marker but test runner exists Default strict_tdd: true
No test runner Set strict_tdd: false, explain unavailable

Reference

docs/skills/sdd-init/reference.md

Anti-Rationalization

Rationalization Red Flag Verification
"Skill without verification" Doing work without checking output format Output matches skill ## Output contract + file:line citaton
"Save time skipping this skill" Using skill directly without resolving deps skill-graph resolution + cross-ref check
"Output is self-evident" No file:line or confidence marker Cite file:line or flag confidence: unvalidated

Red Flags

  • Doing work without checking output format → STOP, re-read skill
  • Second occurrence of same rationalization → force RED zone

Verification

  • Output matches skill ## Output contract + file:line citaton
  • cross-ref-check.ps1 → SKILL.md OK

Refs

Cross-Refs: sdd | sdd-explore

04 同仓库更多 Skills