@harness-engineering/cli 1.2.0 → 1.3.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.
Files changed (52) hide show
  1. package/dist/bin/harness.js +1 -1
  2. package/dist/{chunk-IXT3KLVN.js → chunk-APYEWOCR.js} +355 -19
  3. package/dist/index.js +1 -1
  4. package/package.json +6 -4
  5. package/dist/agents/commands/claude-code/harness/add-component.md +0 -34
  6. package/dist/agents/commands/claude-code/harness/align-documentation.md +0 -33
  7. package/dist/agents/commands/claude-code/harness/architecture-advisor.md +0 -41
  8. package/dist/agents/commands/claude-code/harness/brainstorming.md +0 -42
  9. package/dist/agents/commands/claude-code/harness/check-mechanical-constraints.md +0 -32
  10. package/dist/agents/commands/claude-code/harness/cleanup-dead-code.md +0 -33
  11. package/dist/agents/commands/claude-code/harness/code-review.md +0 -33
  12. package/dist/agents/commands/claude-code/harness/debugging.md +0 -43
  13. package/dist/agents/commands/claude-code/harness/detect-doc-drift.md +0 -32
  14. package/dist/agents/commands/claude-code/harness/diagnostics.md +0 -43
  15. package/dist/agents/commands/claude-code/harness/enforce-architecture.md +0 -32
  16. package/dist/agents/commands/claude-code/harness/execution.md +0 -43
  17. package/dist/agents/commands/claude-code/harness/git-workflow.md +0 -32
  18. package/dist/agents/commands/claude-code/harness/initialize-project.md +0 -33
  19. package/dist/agents/commands/claude-code/harness/onboarding.md +0 -32
  20. package/dist/agents/commands/claude-code/harness/parallel-agents.md +0 -35
  21. package/dist/agents/commands/claude-code/harness/planning.md +0 -41
  22. package/dist/agents/commands/claude-code/harness/pre-commit-review.md +0 -38
  23. package/dist/agents/commands/claude-code/harness/refactoring.md +0 -35
  24. package/dist/agents/commands/claude-code/harness/skill-authoring.md +0 -35
  25. package/dist/agents/commands/claude-code/harness/state-management.md +0 -35
  26. package/dist/agents/commands/claude-code/harness/tdd.md +0 -42
  27. package/dist/agents/commands/claude-code/harness/validate-context-engineering.md +0 -32
  28. package/dist/agents/commands/claude-code/harness/verification.md +0 -38
  29. package/dist/agents/commands/gemini-cli/harness/add-component.toml +0 -240
  30. package/dist/agents/commands/gemini-cli/harness/align-documentation.toml +0 -238
  31. package/dist/agents/commands/gemini-cli/harness/architecture-advisor.toml +0 -469
  32. package/dist/agents/commands/gemini-cli/harness/brainstorming.toml +0 -326
  33. package/dist/agents/commands/gemini-cli/harness/check-mechanical-constraints.toml +0 -249
  34. package/dist/agents/commands/gemini-cli/harness/cleanup-dead-code.toml +0 -258
  35. package/dist/agents/commands/gemini-cli/harness/code-review.toml +0 -461
  36. package/dist/agents/commands/gemini-cli/harness/debugging.toml +0 -436
  37. package/dist/agents/commands/gemini-cli/harness/detect-doc-drift.toml +0 -215
  38. package/dist/agents/commands/gemini-cli/harness/diagnostics.toml +0 -401
  39. package/dist/agents/commands/gemini-cli/harness/enforce-architecture.toml +0 -222
  40. package/dist/agents/commands/gemini-cli/harness/execution.toml +0 -381
  41. package/dist/agents/commands/gemini-cli/harness/git-workflow.toml +0 -325
  42. package/dist/agents/commands/gemini-cli/harness/initialize-project.toml +0 -257
  43. package/dist/agents/commands/gemini-cli/harness/onboarding.toml +0 -316
  44. package/dist/agents/commands/gemini-cli/harness/parallel-agents.toml +0 -221
  45. package/dist/agents/commands/gemini-cli/harness/planning.toml +0 -405
  46. package/dist/agents/commands/gemini-cli/harness/pre-commit-review.toml +0 -294
  47. package/dist/agents/commands/gemini-cli/harness/refactoring.toml +0 -209
  48. package/dist/agents/commands/gemini-cli/harness/skill-authoring.toml +0 -350
  49. package/dist/agents/commands/gemini-cli/harness/state-management.toml +0 -354
  50. package/dist/agents/commands/gemini-cli/harness/tdd.toml +0 -247
  51. package/dist/agents/commands/gemini-cli/harness/validate-context-engineering.toml +0 -186
  52. package/dist/agents/commands/gemini-cli/harness/verification.toml +0 -334
@@ -1,32 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:check-mechanical-constraints
4
- description: Run all mechanical constraint checks (context validation + architecture)
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
-
12
- ---
13
-
14
- <context>
15
- Cognitive mode: meticulous-verifier
16
- Type: rigid
17
- </context>
18
-
19
- <objective>
20
- Run all mechanical constraint checks (context validation + architecture)
21
- </objective>
22
-
23
- <execution_context>
24
- @agents/skills/claude-code/check-mechanical-constraints/SKILL.md
25
- @agents/skills/claude-code/check-mechanical-constraints/skill.yaml
26
- </execution_context>
27
-
28
- <process>
29
- 1. Try: invoke mcp__harness__run_skill with skill: "check-mechanical-constraints"
30
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
31
- 3. Pass through any arguments provided by the user
32
- </process>
@@ -1,33 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:cleanup-dead-code
4
- description: Detect unused exports and dead code
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
- - Grep
12
-
13
- ---
14
-
15
- <context>
16
- Cognitive mode: diagnostic-investigator
17
- Type: flexible
18
- </context>
19
-
20
- <objective>
21
- Detect unused exports and dead code
22
- </objective>
23
-
24
- <execution_context>
25
- @agents/skills/claude-code/cleanup-dead-code/SKILL.md
26
- @agents/skills/claude-code/cleanup-dead-code/skill.yaml
27
- </execution_context>
28
-
29
- <process>
30
- 1. Try: invoke mcp__harness__run_skill with skill: "cleanup-dead-code"
31
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
32
- 3. Pass through any arguments provided by the user
33
- </process>
@@ -1,33 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:code-review
4
- description: Structured code review with automated harness checks
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
- - Grep
12
-
13
- ---
14
-
15
- <context>
16
- Cognitive mode: adversarial-reviewer
17
- Type: rigid
18
- </context>
19
-
20
- <objective>
21
- Structured code review with automated harness checks
22
- </objective>
23
-
24
- <execution_context>
25
- @agents/skills/claude-code/harness-code-review/SKILL.md
26
- @agents/skills/claude-code/harness-code-review/skill.yaml
27
- </execution_context>
28
-
29
- <process>
30
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-code-review"
31
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
32
- 3. Pass through any arguments provided by the user
33
- </process>
@@ -1,43 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:debugging
4
- description: Systematic debugging with harness validation and state tracking
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
- - Grep
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: diagnostic-investigator
19
- Type: rigid
20
- State: persistent (files: .harness/debug/)
21
- </context>
22
-
23
- <objective>
24
- Systematic debugging with harness validation and state tracking
25
-
26
- Phases:
27
-
28
- - investigate: Entropy analysis and root cause search
29
- - analyze: Pattern matching against codebase
30
- - hypothesize: Form and test single hypothesis (optional)
31
- - fix: TDD-style regression test and fix
32
- </objective>
33
-
34
- <execution_context>
35
- @agents/skills/claude-code/harness-debugging/SKILL.md
36
- @agents/skills/claude-code/harness-debugging/skill.yaml
37
- </execution_context>
38
-
39
- <process>
40
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-debugging"
41
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
42
- 3. Pass through any arguments provided by the user
43
- </process>
@@ -1,32 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:detect-doc-drift
4
- description: Detect documentation that has drifted from code
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
-
12
- ---
13
-
14
- <context>
15
- Cognitive mode: diagnostic-investigator
16
- Type: flexible
17
- </context>
18
-
19
- <objective>
20
- Detect documentation that has drifted from code
21
- </objective>
22
-
23
- <execution_context>
24
- @agents/skills/claude-code/detect-doc-drift/SKILL.md
25
- @agents/skills/claude-code/detect-doc-drift/skill.yaml
26
- </execution_context>
27
-
28
- <process>
29
- 1. Try: invoke mcp__harness__run_skill with skill: "detect-doc-drift"
30
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
31
- 3. Pass through any arguments provided by the user
32
- </process>
@@ -1,43 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:diagnostics
4
- description: Classify errors into taxonomy categories and route to resolution strategies
5
- argument-hint: "[--path <path>] [--error <error>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
- - Grep
12
- - Edit
13
- - Write
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: diagnostic-investigator
19
- Type: rigid
20
- State: persistent (files: .harness/diagnostics/)
21
- </context>
22
-
23
- <objective>
24
- Classify errors into taxonomy categories and route to resolution strategies
25
-
26
- Phases:
27
-
28
- - classify: Categorize the error into one of 7 taxonomy categories
29
- - route: Apply the resolution strategy for the error category
30
- - resolve: Execute the resolution and verify the fix
31
- - record: Record findings in anti-pattern log if initial approach failed (optional)
32
- </objective>
33
-
34
- <execution_context>
35
- @agents/skills/claude-code/harness-diagnostics/SKILL.md
36
- @agents/skills/claude-code/harness-diagnostics/skill.yaml
37
- </execution_context>
38
-
39
- <process>
40
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-diagnostics"
41
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
42
- 3. Pass through any arguments provided by the user
43
- </process>
@@ -1,32 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:enforce-architecture
4
- description: Validate architectural layer boundaries and detect circular dependencies
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
-
12
- ---
13
-
14
- <context>
15
- Cognitive mode: meticulous-verifier
16
- Type: rigid
17
- </context>
18
-
19
- <objective>
20
- Validate architectural layer boundaries and detect circular dependencies
21
- </objective>
22
-
23
- <execution_context>
24
- @agents/skills/claude-code/enforce-architecture/SKILL.md
25
- @agents/skills/claude-code/enforce-architecture/skill.yaml
26
- </execution_context>
27
-
28
- <process>
29
- 1. Try: invoke mcp__harness__run_skill with skill: "enforce-architecture"
30
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
31
- 3. Pass through any arguments provided by the user
32
- </process>
@@ -1,43 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:execution
4
- description: Execute a planned set of tasks with harness validation and state tracking
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
- - Grep
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: meticulous-implementer
19
- Type: rigid
20
- State: persistent (files: .harness/state.json, .harness/learnings.md)
21
- </context>
22
-
23
- <objective>
24
- Execute a planned set of tasks with harness validation and state tracking
25
-
26
- Phases:
27
-
28
- - prepare: Load state and verify prerequisites
29
- - execute: Implement planned tasks
30
- - verify: Validate each completed task
31
- - persist: Save progress to state files
32
- </objective>
33
-
34
- <execution_context>
35
- @agents/skills/claude-code/harness-execution/SKILL.md
36
- @agents/skills/claude-code/harness-execution/skill.yaml
37
- </execution_context>
38
-
39
- <process>
40
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-execution"
41
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
42
- 3. Pass through any arguments provided by the user
43
- </process>
@@ -1,32 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:git-workflow
4
- description: Git workflow best practices integrated with harness validation
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
-
12
- ---
13
-
14
- <context>
15
- Cognitive mode: meticulous-verifier
16
- Type: flexible
17
- </context>
18
-
19
- <objective>
20
- Git workflow best practices integrated with harness validation
21
- </objective>
22
-
23
- <execution_context>
24
- @agents/skills/claude-code/harness-git-workflow/SKILL.md
25
- @agents/skills/claude-code/harness-git-workflow/skill.yaml
26
- </execution_context>
27
-
28
- <process>
29
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-git-workflow"
30
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
31
- 3. Pass through any arguments provided by the user
32
- </process>
@@ -1,33 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:initialize-project
4
- description: Scaffold a new harness-compliant project
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Glob
12
-
13
- ---
14
-
15
- <context>
16
- Cognitive mode: constructive-architect
17
- Type: flexible
18
- </context>
19
-
20
- <objective>
21
- Scaffold a new harness-compliant project
22
- </objective>
23
-
24
- <execution_context>
25
- @agents/skills/claude-code/initialize-harness-project/SKILL.md
26
- @agents/skills/claude-code/initialize-harness-project/skill.yaml
27
- </execution_context>
28
-
29
- <process>
30
- 1. Try: invoke mcp__harness__run_skill with skill: "initialize-harness-project"
31
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
32
- 3. Pass through any arguments provided by the user
33
- </process>
@@ -1,32 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:onboarding
4
- description: Onboard a new developer to a harness-managed project
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
-
12
- ---
13
-
14
- <context>
15
- Cognitive mode: advisory-guide
16
- Type: flexible
17
- </context>
18
-
19
- <objective>
20
- Onboard a new developer to a harness-managed project
21
- </objective>
22
-
23
- <execution_context>
24
- @agents/skills/claude-code/harness-onboarding/SKILL.md
25
- @agents/skills/claude-code/harness-onboarding/skill.yaml
26
- </execution_context>
27
-
28
- <process>
29
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-onboarding"
30
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
31
- 3. Pass through any arguments provided by the user
32
- </process>
@@ -1,35 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:parallel-agents
4
- description: Coordinate multiple agents working in parallel on a harness project
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
- - Grep
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: constructive-architect
19
- Type: flexible
20
- </context>
21
-
22
- <objective>
23
- Coordinate multiple agents working in parallel on a harness project
24
- </objective>
25
-
26
- <execution_context>
27
- @agents/skills/claude-code/harness-parallel-agents/SKILL.md
28
- @agents/skills/claude-code/harness-parallel-agents/skill.yaml
29
- </execution_context>
30
-
31
- <process>
32
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-parallel-agents"
33
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
34
- 3. Pass through any arguments provided by the user
35
- </process>
@@ -1,41 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:planning
4
- description: Structured project planning with harness constraints and validation
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
-
14
- ---
15
-
16
- <context>
17
- Cognitive mode: constructive-architect
18
- Type: rigid
19
- </context>
20
-
21
- <objective>
22
- Structured project planning with harness constraints and validation
23
-
24
- Phases:
25
-
26
- - scope: Define goals and constraints
27
- - decompose: Break work into tasks
28
- - sequence: Order tasks and identify dependencies
29
- - validate: Run harness checks on the plan
30
- </objective>
31
-
32
- <execution_context>
33
- @agents/skills/claude-code/harness-planning/SKILL.md
34
- @agents/skills/claude-code/harness-planning/skill.yaml
35
- </execution_context>
36
-
37
- <process>
38
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-planning"
39
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
40
- 3. Pass through any arguments provided by the user
41
- </process>
@@ -1,38 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:pre-commit-review
4
- description: Lightweight pre-commit quality gate combining mechanical checks and AI review
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Glob
11
- - Grep
12
-
13
- ---
14
-
15
- <context>
16
- Type: rigid
17
- </context>
18
-
19
- <objective>
20
- Lightweight pre-commit quality gate combining mechanical checks and AI review
21
-
22
- Phases:
23
-
24
- - mechanical-checks: Run deterministic checks (lint, typecheck, tests)
25
- - classify-changes: Determine if AI review is needed based on change type
26
- - ai-review: Lightweight AI review of staged changes (skipped for docs/config-only) (optional)
27
- </objective>
28
-
29
- <execution_context>
30
- @agents/skills/claude-code/harness-pre-commit-review/SKILL.md
31
- @agents/skills/claude-code/harness-pre-commit-review/skill.yaml
32
- </execution_context>
33
-
34
- <process>
35
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-pre-commit-review"
36
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
37
- 3. Pass through any arguments provided by the user
38
- </process>
@@ -1,35 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:refactoring
4
- description: Safe refactoring with validation before and after changes
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
- - Grep
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: meticulous-implementer
19
- Type: flexible
20
- </context>
21
-
22
- <objective>
23
- Safe refactoring with validation before and after changes
24
- </objective>
25
-
26
- <execution_context>
27
- @agents/skills/claude-code/harness-refactoring/SKILL.md
28
- @agents/skills/claude-code/harness-refactoring/skill.yaml
29
- </execution_context>
30
-
31
- <process>
32
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-refactoring"
33
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
34
- 3. Pass through any arguments provided by the user
35
- </process>
@@ -1,35 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:skill-authoring
4
- description: Create and maintain harness skills following the rich skill format
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
- - Grep
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: constructive-architect
19
- Type: flexible
20
- </context>
21
-
22
- <objective>
23
- Create and maintain harness skills following the rich skill format
24
- </objective>
25
-
26
- <execution_context>
27
- @agents/skills/claude-code/harness-skill-authoring/SKILL.md
28
- @agents/skills/claude-code/harness-skill-authoring/skill.yaml
29
- </execution_context>
30
-
31
- <process>
32
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-skill-authoring"
33
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
34
- 3. Pass through any arguments provided by the user
35
- </process>
@@ -1,35 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:state-management
4
- description: Manage persistent session state across harness agent sessions
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
-
14
- ---
15
-
16
- <context>
17
- Cognitive mode: meticulous-implementer
18
- Type: flexible
19
- State: persistent (files: .harness/state.json)
20
- </context>
21
-
22
- <objective>
23
- Manage persistent session state across harness agent sessions
24
- </objective>
25
-
26
- <execution_context>
27
- @agents/skills/claude-code/harness-state-management/SKILL.md
28
- @agents/skills/claude-code/harness-state-management/skill.yaml
29
- </execution_context>
30
-
31
- <process>
32
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-state-management"
33
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
34
- 3. Pass through any arguments provided by the user
35
- </process>
@@ -1,42 +0,0 @@
1
- ## <!-- Generated by harness generate-slash-commands. Do not edit. -->
2
-
3
- name: harness:tdd
4
- description: Test-driven development integrated with harness validation
5
- argument-hint: "[--path <path>]"
6
- allowed-tools:
7
-
8
- - Bash
9
- - Read
10
- - Write
11
- - Edit
12
- - Glob
13
- - Grep
14
-
15
- ---
16
-
17
- <context>
18
- Cognitive mode: meticulous-implementer
19
- Type: rigid
20
- </context>
21
-
22
- <objective>
23
- Test-driven development integrated with harness validation
24
-
25
- Phases:
26
-
27
- - red: Write failing test
28
- - green: Implement minimal code to pass
29
- - refactor: Clean up while keeping tests green (optional)
30
- - validate: Run harness checks
31
- </objective>
32
-
33
- <execution_context>
34
- @agents/skills/claude-code/harness-tdd/SKILL.md
35
- @agents/skills/claude-code/harness-tdd/skill.yaml
36
- </execution_context>
37
-
38
- <process>
39
- 1. Try: invoke mcp__harness__run_skill with skill: "harness-tdd"
40
- 2. If MCP unavailable: read SKILL.md and follow its workflow directly
41
- 3. Pass through any arguments provided by the user
42
- </process>