@skilly-hand/skilly-hand 0.29.2 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,25 +2,40 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- Implement approved spec tasks in small, verifiable increments.
5
+ Implement approved tasks one at a time and keep the spec synchronized with execution evidence.
6
6
 
7
- ## Inputs
7
+ ## Procedure
8
8
 
9
- - Spec name/path under `.sdd/active/`.
10
- - Task range or specific task IDs.
9
+ 1. Read `spec.md`, relevant design decisions, and repository instructions.
10
+ 2. Confirm the approval policy is satisfied and dependencies are `DONE`.
11
+ 3. Resolve required capabilities from available local skills, tools, or structured self-review.
12
+ 4. Mark the selected task `IN_PROGRESS`.
13
+ 5. Implement only the assigned outcome.
14
+ 6. When the task declares test-driven work, follow the available TDD guidance or the portable RED/GREEN/REFACTOR contract described in the task.
15
+ 7. Run the task verify step using commands discovered from the project.
16
+ 8. Record concise evidence: command or check, result, and relevant output summary.
17
+ 9. Mark the task `DONE` only after verification passes; otherwise mark it `BLOCKED` with the cause.
18
+ 10. Append a change-log entry only for requirement, scope, or design changes, not routine progress.
11
19
 
12
- ## Procedure
20
+ ## Scope Change Rule
21
+
22
+ If implementation reveals new behavior, conflicting constraints, or a wider blast radius, stop the affected task and return it to planning. Do not silently add work or rewrite acceptance criteria to match the implementation.
23
+
24
+ ## Evidence Contract
25
+
26
+ Evidence must be reproducible and proportionate:
27
+
28
+ ```text
29
+ Check: <command or manual procedure>
30
+ Result: PASS | FAIL | NOT_RUN
31
+ Summary: <short factual result>
32
+ ```
13
33
 
14
- 1. Read `spec.md` and `design.md` (if present).
15
- 2. Execute one task at a time.
16
- 3. Keep changes scoped to the assigned task.
17
- 4. Run the task verify step before marking done.
18
- 5. Record progress against task IDs.
19
- 6. Stop and report blockers when constraints conflict.
34
+ Do not claim a command ran when it did not. Record unavailable or human-only checks explicitly.
20
35
 
21
36
  ## Quality Bar
22
37
 
23
- - Behavior matches task intent.
24
- - Verify steps pass before moving on.
25
- - No hidden scope creep.
26
- - Progress summary lists completed tasks and changed files.
38
+ - Changes remain inside task scope.
39
+ - Verification evidence supports the `DONE` state.
40
+ - Optional integrations have a documented local fallback.
41
+ - No automatic commit, issue update, or remote action is assumed.
@@ -2,24 +2,33 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- Coordinate planning, implementation, and verification through explicit checkpoints.
5
+ Coordinate planning, implementation, verification, and archive while remaining usable without delegation or external integrations.
6
6
 
7
- ## Inputs
7
+ ## Workflow
8
8
 
9
- - High-level request.
10
- - Context and constraints.
9
+ 1. PLAN: create or update the active spec.
10
+ 2. APPROVE: apply the spec's checkpoint or self-review policy.
11
+ 3. APPLY: execute one ready task at a time.
12
+ 4. VERIFY TASK: require evidence before selecting the next task.
13
+ 5. REPLAN: return changed requirements or blocked dependencies to planning.
14
+ 6. VERIFY FEATURE: run validation and the portable final review gate.
15
+ 7. ARCHIVE: enforce archive invariants and move the completed work once.
11
16
 
12
- ## Workflow
17
+ ## Capability Resolution
18
+
19
+ - Delegate a phase only when a suitable capability is available and delegation improves the outcome.
20
+ - Otherwise execute the corresponding local mode directly.
21
+ - Never invent resource names, identifiers, issue keys, commands, or service availability.
22
+ - Remote writes, commits, and comments require their own discovered workflow and user authorization.
23
+
24
+ ## Checkpoint Policy
13
25
 
14
- 1. PLAN: Produce or update the spec.
15
- 2. REVIEW CHECKPOINT: Confirm the plan is approved.
16
- 3. APPLY: Execute agreed task batch.
17
- 4. VERIFY CHECKPOINT: Validate outputs against the spec and run the required final `review-rangers` gate.
18
- 5. REPEAT: Continue by phase or task batch.
19
- 6. ARCHIVE: Move completed work from `.sdd/active/` to `.sdd/archive/`.
26
+ Pause for explicit user approval when required by the spec, risk, ambiguity, or an irreversible action. For low-risk autonomous work, record a self-review decision and continue.
20
27
 
21
28
  ## Coordination Rules
22
29
 
23
- - Pause at checkpoints before continuing.
24
- - Keep phase summaries short and decision-oriented.
25
- - Surface blockers with options, not ambiguity.
30
+ - Keep `spec.md` authoritative.
31
+ - Keep at most one task `IN_PROGRESS` unless independence is explicit.
32
+ - Do not advance past failed verification.
33
+ - Surface blockers with evidence and the smallest decision needed.
34
+ - Do not declare completion while open tasks or unresolved blockers remain.
@@ -2,26 +2,28 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- Turn a request into an executable, reviewable spec before implementation starts.
6
-
7
- ## Inputs
8
-
9
- - Goal or problem statement.
10
- - Known constraints.
11
- - Current state references (files, systems, behaviors).
5
+ Turn a request into an executable spec without assuming a framework, toolchain, or external service.
12
6
 
13
7
  ## Procedure
14
8
 
15
- 1. Clarify scope and success criteria.
16
- 2. Decide full spec vs delta spec.
17
- 3. Fill spec sections: Why, What, Constraints, Current State, Tasks, Validation.
18
- 4. Break tasks into small units with explicit verify commands.
19
- 5. Add `design.md` if architecture decisions or trade-offs are non-obvious.
20
- 6. Return the spec summary for review and approval.
9
+ 1. Inspect the repository for applicable instructions, conventions, commands, and existing behavior.
10
+ 2. Clarify only missing information that cannot be discovered safely.
11
+ 3. Choose a full or delta spec.
12
+ 4. Define scope, constraints, non-goals, approval policy, and validation.
13
+ 5. Create tasks using the task contract from the parent skill.
14
+ 6. Add behavioral scenarios where outcomes can be observed.
15
+ 7. Describe required capabilities semantically and use `none` when no special capability is needed.
16
+ 8. Initialize one progress row per task with `TODO`.
17
+ 9. Self-review with the validation checklist and apply the approval policy.
21
18
 
22
19
  ## Quality Bar
23
20
 
24
- - Constraints are enforceable, not vague.
25
- - Every task has files and a verify step.
26
- - Out-of-scope items are explicit.
27
- - Another engineer can execute without guessing intent.
21
+ - Another implementer can execute without guessing intent.
22
+ - No task requires a named agent, skill, vendor, framework, or command that has not been discovered locally.
23
+ - Tasks, progress rows, and validation are mutually consistent.
24
+ - Risks and meaningful alternatives live in `design.md`; routine choices stay in the spec.
25
+ - `spec.md` is the only task source of truth.
26
+
27
+ ## Blockers
28
+
29
+ Mark planning `BLOCKED` only when a required decision or fact cannot be discovered and a reasonable assumption would create material risk. Record the missing input and its impact.
@@ -2,31 +2,52 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- Validate that implementation matches the approved spec and passes quality checks.
5
+ Validate implementation against the approved spec using reproducible evidence and a portable final review.
6
6
 
7
- ## Inputs
7
+ ## Procedure
8
8
 
9
- - Spec path.
10
- - Implementation result from apply mode.
9
+ 1. Read the complete spec and relevant design decisions.
10
+ 2. Confirm every task has a terminal state and `DONE` tasks have evidence.
11
+ 3. Run or inspect each task verify step.
12
+ 4. Run feature-level validation discovered from the repository and listed in the spec.
13
+ 5. Evaluate every `MUST` and `MUST NOT` constraint independently.
14
+ 6. Identify manual checks that still require human confirmation.
15
+ 7. Perform the final review gate below.
16
+ 8. Report blockers, warnings, and evidence separately.
11
17
 
12
- ## Procedure
18
+ ## Portable Final Review Gate
19
+
20
+ Use an installed review capability when one is available and applicable. Otherwise perform this local review:
21
+
22
+ - Correctness: implementation satisfies every scenario and constraint.
23
+ - Regression risk: affected existing behavior has appropriate checks.
24
+ - Scope: no unapproved behavior or dependency was introduced.
25
+ - Maintainability: changes follow discovered project conventions.
26
+ - Safety: security, privacy, accessibility, data, and destructive-operation risks were considered when relevant.
27
+ - Evidence: results are reproducible and unsupported claims are absent.
28
+
29
+ Any unresolved correctness, constraint, or safety blocker fails verification. Missing optional tooling does not fail verification when this fallback is completed.
30
+
31
+ ## Report Contract
32
+
33
+ ```markdown
34
+ ## Verification Report
13
35
 
14
- 1. Read acceptance intent from `spec.md` and `design.md` (if present).
15
- 2. Run task-level verification evidence checks.
16
- 3. Run feature-level validation commands.
17
- 4. Confirm constraints (`MUST`, `MUST NOT`) were respected.
18
- 5. Run a final structured `review-rangers` pass over the full change set.
19
- 6. Report pass/fail per area with concrete evidence.
36
+ ### Task Evidence
37
+ | Task | Check | Result | Evidence |
20
38
 
21
- ### Required Final Gate (`review-rangers`)
39
+ ### Constraints
40
+ | Constraint | Result | Evidence |
22
41
 
23
- - Validate selected agent targets vs actual instruction files/symlinks written.
24
- - Validate stale managed target cleanup after re-install/reselection.
25
- - Validate backup and restore safety (including uninstall restore behavior).
26
- - Any unresolved `review-rangers` blocker keeps verification in failed state.
42
+ ### Final Review
43
+ - Result: PASS | FAIL
44
+ - Blockers: none | list
45
+ - Warnings: none | list
46
+ - Manual checks: none | list
47
+ ```
27
48
 
28
49
  ## Quality Bar
29
50
 
30
- - End-to-end validation is explicit.
31
- - Gaps are tied to exact tasks or constraints.
32
- - Report separates blockers from non-blocking warnings.
51
+ - Results distinguish `PASS`, `FAIL`, and `NOT_RUN`.
52
+ - Manual validation is never reported as automated evidence.
53
+ - Archive readiness is an explicit conclusion, not an implication.
@@ -1,51 +1,86 @@
1
- # [Feature Name] - Delta Spec
2
-
3
- Use this template when changing behavior in an existing feature.
1
+ # [Work Name] - Delta Spec
4
2
 
5
3
  ## Why
6
4
 
7
- [Why this behavior change is needed now.]
5
+ [Reason for changing established behavior.]
8
6
 
9
- ## What
7
+ ## Baseline
10
8
 
11
- [Concrete behavior change and expected outcome.]
9
+ [Maintained requirement source or a concise description of current behavior.]
12
10
 
13
11
  ## ADDED Requirements
14
12
 
15
13
  ### Requirement: [Name]
16
14
 
17
- [MUST/SHOULD/MAY statement]
15
+ [MUST, SHOULD, or MAY statement.]
18
16
 
19
17
  #### Scenario: [Name]
20
18
 
21
19
  - GIVEN [initial state]
22
20
  - WHEN [action]
23
- - THEN [expected outcome]
21
+ - THEN [observable result]
24
22
 
25
23
  ## MODIFIED Requirements
26
24
 
27
25
  ### Requirement: [Name]
28
26
 
29
- [New requirement text]
27
+ [Complete replacement requirement.]
30
28
 
31
- (Previously: [old requirement text])
29
+ Previously: [Previous requirement or behavior.]
32
30
 
33
31
  ## REMOVED Requirements
34
32
 
35
33
  ### Requirement: [Name]
36
34
 
37
- (Reason: [why removed])
35
+ Reason: [Why it is removed.]
36
+
37
+ ## Constraints
38
+
39
+ ### Must
40
+
41
+ - [Enforceable requirement]
42
+
43
+ ### Must Not
44
+
45
+ - [Disallowed behavior]
46
+
47
+ ### Out of Scope
48
+
49
+ - [Boundary]
50
+
51
+ ## Approval Policy
52
+
53
+ - Mode: [explicit checkpoint | self-review]
54
+ - Trigger for reapproval: [change condition]
38
55
 
39
56
  ## Tasks
40
57
 
41
58
  ### T1: [Title]
42
59
 
43
- **What:** [Specific implementation]
60
+ **What:** [Observable outcome]
61
+ **Required Capabilities:** [Semantic capabilities, or `none`]
62
+ **Files:** [Expected files, or `discover`]
63
+ **Scenario:** [GIVEN / WHEN / THEN, when behavioral]
64
+ **Verify:** [Project-discovered command or concrete manual check]
65
+ **Done:** [One-sentence completion condition]
44
66
 
45
- **Files:** `path/to/file`, `path/to/test`
67
+ ## Progress
46
68
 
47
- **Verify:** [Command or manual check]
69
+ | Task | Status | Evidence |
70
+ | --- | --- | --- |
71
+ | T1 | TODO | |
48
72
 
49
73
  ## Validation
50
74
 
51
- - [Checks that prove the delta behavior is correct]
75
+ - [Checks that prove the behavior delta]
76
+ - [Regression checks for retained behavior]
77
+
78
+ ## Reconciliation
79
+
80
+ - Baseline update required: [yes | no]
81
+ - Reconciliation result: [pending | complete | not applicable]
82
+
83
+ ## Change Log
84
+
85
+ | Date | Change | Affected Tasks | Approval |
86
+ | --- | --- | --- | --- |
@@ -1,31 +1,37 @@
1
- # Design: [Feature Name]
1
+ # Design: [Work Name]
2
2
 
3
- Use with `spec.md` when implementation includes meaningful architectural decisions.
3
+ Use this artifact only for decisions whose rationale or trade-offs will matter after implementation.
4
4
 
5
5
  ## Context
6
6
 
7
- [Current system state, constraints, and why a decision is needed now.]
7
+ [Verified system state and reason a decision is needed.]
8
8
 
9
9
  ## Goals
10
10
 
11
- - [Primary outcome]
12
- - [Secondary outcome]
11
+ - [Desired outcome]
13
12
 
14
13
  ## Non-Goals
15
14
 
16
- - [Explicitly excluded area]
17
- - [Another excluded area]
15
+ - [Explicit exclusion]
18
16
 
19
- ## Decisions
17
+ ## Decision
20
18
 
21
- ### Decision: [Name]
19
+ ### [Decision Name]
22
20
 
23
- [What was chosen and why]
21
+ - Choice: [Selected approach]
22
+ - Rationale: [Why it fits the constraints]
23
+ - Required capabilities: [Semantic capabilities, or `none`]
24
24
 
25
- ### Alternatives Considered
25
+ ## Alternatives Considered
26
26
 
27
- - [Alternative option and why not chosen]
27
+ | Alternative | Benefit | Cost | Reason Not Selected |
28
+ | --- | --- | --- | --- |
28
29
 
29
- ## Risks / Trade-offs
30
+ ## Risks and Mitigations
30
31
 
31
- - **[Risk]:** [Impact + mitigation or acceptance rationale]
32
+ | Risk | Impact | Mitigation | Verification |
33
+ | --- | --- | --- | --- |
34
+
35
+ ## Revisit Conditions
36
+
37
+ - [Evidence or change that should reopen this decision]
@@ -1,56 +1,77 @@
1
- # [Feature Name]
1
+ # [Work Name]
2
2
 
3
3
  ## Why
4
4
 
5
- [1-2 sentences on the problem and why it matters now.]
5
+ [Problem, value, and why it matters now.]
6
6
 
7
7
  ## What
8
8
 
9
- [Concrete, testable deliverable.]
9
+ [Concrete and testable deliverable.]
10
10
 
11
11
  ## Constraints
12
12
 
13
13
  ### Must
14
14
 
15
- - [Required patterns, architecture, or conventions]
16
- - [Required dependency or existing system usage]
15
+ - [Enforceable requirement]
16
+
17
+ ### Should
18
+
19
+ - [Preferred outcome; deviations require a reason]
17
20
 
18
21
  ### Must Not
19
22
 
20
- - [Disallowed approaches]
21
- - [Disallowed dependencies or behavioral changes]
23
+ - [Disallowed behavior or approach]
22
24
 
23
25
  ### Out of Scope
24
26
 
25
- - [Adjacent but excluded features]
27
+ - [Explicit boundary]
26
28
 
27
29
  ## Current State
28
30
 
29
- - [Relevant existing files and behavior]
30
- - [Known dependencies and integration points]
31
+ - [Verified files, behavior, dependencies, and conventions]
32
+
33
+ ## Approval Policy
34
+
35
+ - Mode: [explicit checkpoint | self-review]
36
+ - Trigger for reapproval: [scope, constraint, risk, or design change]
31
37
 
32
38
  ## Tasks
33
39
 
34
40
  ### T1: [Title]
35
41
 
36
- **What:** [Specific implementation change]
42
+ **What:** [Observable outcome]
43
+
44
+ **Required Capabilities:** [Semantic capabilities, or `none`]
37
45
 
38
- **Files:** `path/to/file`, `path/to/test`
46
+ **Files:** [Expected files, or `discover`]
39
47
 
40
- **Verify:** [Command or manual check]
48
+ **Scenario:**
41
49
 
42
- ---
50
+ - GIVEN [initial state]
51
+ - WHEN [action]
52
+ - THEN [observable result]
43
53
 
44
- ### T2: [Title]
54
+ **Verify:** [Project-discovered command or concrete manual check]
45
55
 
46
- **What:** [Specific implementation change]
56
+ **Done:** [One-sentence completion condition]
47
57
 
48
- **Files:** `path/to/file`
58
+ ## Progress
49
59
 
50
- **Verify:** [Command or manual check]
60
+ | Task | Status | Evidence |
61
+ | --- | --- | --- |
62
+ | T1 | TODO | |
63
+
64
+ Valid states: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`.
51
65
 
52
66
  ## Validation
53
67
 
54
68
  - [Feature-level automated check]
55
- - [Feature-level manual scenario]
56
- - [Additional release-specific verification]
69
+ - [Feature-level manual scenario, if needed]
70
+ - [Constraint or regression check]
71
+
72
+ ## Change Log
73
+
74
+ Record requirement, scope, or design changes. Do not log routine progress.
75
+
76
+ | Date | Change | Affected Tasks | Approval |
77
+ | --- | --- | --- | --- |
@@ -1,33 +1,40 @@
1
1
  # Spec Validation Checklist
2
2
 
3
- Use this checklist before implementation and again before archive.
3
+ ## Portability
4
+
5
+ - [ ] The workflow is executable without a named external skill, agent, vendor, service, framework, VCS, package manager, or test runner.
6
+ - [ ] Required capabilities are semantic and can use a local fallback.
7
+ - [ ] Commands were discovered from the target project or are clearly marked as placeholders.
8
+ - [ ] Protocol states use portable ASCII tokens.
4
9
 
5
10
  ## Spec Quality
6
11
 
7
- - [ ] Title is specific and unambiguous.
8
- - [ ] `Why` explains urgency and value.
9
- - [ ] `What` is concrete and testable.
10
- - [ ] Constraints are enforceable (`Must`, `Must Not`, `Out of Scope`).
11
- - [ ] `Current State` references real files or systems.
12
+ - [ ] `Why` and `What` are concrete.
13
+ - [ ] Constraints and out-of-scope boundaries are enforceable.
14
+ - [ ] Current-state claims reference verified context.
15
+ - [ ] Approval and reapproval policies are explicit.
16
+ - [ ] Architecture decisions are captured only when their rationale matters.
12
17
 
13
18
  ## Task Quality
14
19
 
15
- - [ ] Tasks are small and scoped.
16
- - [ ] Each task has `What`, `Files`, and `Verify`.
17
- - [ ] Task verification can be completed quickly.
18
- - [ ] No task mixes unrelated concerns.
20
+ - [ ] Each task has one observable outcome.
21
+ - [ ] Each task declares capabilities, files, verify step, and definition of done.
22
+ - [ ] Behavioral tasks include an acceptance scenario.
23
+ - [ ] Dependencies and blockers are visible.
24
+ - [ ] Tasks exist only in `spec.md`.
19
25
 
20
- ## Implementation Readiness
26
+ ## Execution Evidence
21
27
 
22
- - [ ] Success criteria are explicit.
23
- - [ ] No critical ambiguity remains.
24
- - [ ] Architecture decisions are captured in `design.md` if needed.
28
+ - [ ] Every `DONE` task has reproducible evidence.
29
+ - [ ] Failed or unavailable checks are recorded honestly.
30
+ - [ ] Scope changes updated the spec before implementation continued.
31
+ - [ ] Superseded evidence is identified.
25
32
 
26
- ## Pre-Archive Verification
33
+ ## Pre-Archive
27
34
 
28
- - [ ] All planned tasks are complete.
29
- - [ ] Feature-level validation passes.
30
- - [ ] Constraints were respected.
31
- - [ ] Final `review-rangers` gate completed with no unresolved blockers.
32
- - [ ] No unintended scope creep.
33
- - [ ] Work is moved from `.sdd/active/` to `.sdd/archive/`.
35
+ - [ ] All tasks are `DONE` and no blocker remains.
36
+ - [ ] Feature validation and constraint checks pass.
37
+ - [ ] The portable final review gate passes.
38
+ - [ ] Manual checks are complete or explicitly approved.
39
+ - [ ] Delta reconciliation is complete when applicable.
40
+ - [ ] Archive name uses `<YYYY-MM-DD>-<work-name>`.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "spec-driven-development",
3
3
  "title": "Spec-Driven Development",
4
- "description": "Plan, execute, and verify multi-step work through versioned specs with small, testable tasks.",
4
+ "description": "Plan, execute, and verify multi-step work through versioned specs with small, testable tasks. Trigger: planning or executing feature work, bug fixes, and multi-phase implementation.",
5
5
  "portable": true,
6
6
  "tags": ["core", "workflow", "planning"],
7
7
  "detectors": ["always"],
@@ -10,10 +10,10 @@
10
10
  "agentSupport": ["codex", "claude", "cursor", "gemini", "copilot", "antigravity", "windsurf", "trae"],
11
11
  "skillMetadata": {
12
12
  "author": "skilly-hand",
13
- "last-edit": "2026-04-03",
13
+ "last-edit": "2026-06-20",
14
14
  "license": "Apache-2.0",
15
- "version": "1.0.3",
16
- "changelog": "Added OpenSpec complementary support routing guidance to spec-driven-development instructions; improves planning continuity and review clarity when local SDD needs reinforcement; affects spec-driven-development SKILL guidance and manifest metadata",
15
+ "version": "1.1.0",
16
+ "changelog": "Added a portable SDD lifecycle with capability-based routing, task evidence, change control, and archive invariants; prevents fixed tool dependencies and duplicated task state; affects planning, apply, verify, orchestrate, and spec templates",
17
17
  "auto-invoke": "Planning or executing feature work, bug fixes, and multi-phase implementation",
18
18
  "allowed-modes": [
19
19
  "plan",