@harness-engineering/cli 1.2.0 → 1.2.2
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.
- package/dist/bin/harness.js +1 -1
- package/dist/{chunk-IXT3KLVN.js → chunk-5RQKSZLA.js} +4 -3
- package/dist/index.js +1 -1
- package/package.json +6 -4
- package/dist/agents/commands/claude-code/harness/add-component.md +0 -34
- package/dist/agents/commands/claude-code/harness/align-documentation.md +0 -33
- package/dist/agents/commands/claude-code/harness/architecture-advisor.md +0 -41
- package/dist/agents/commands/claude-code/harness/brainstorming.md +0 -42
- package/dist/agents/commands/claude-code/harness/check-mechanical-constraints.md +0 -32
- package/dist/agents/commands/claude-code/harness/cleanup-dead-code.md +0 -33
- package/dist/agents/commands/claude-code/harness/code-review.md +0 -33
- package/dist/agents/commands/claude-code/harness/debugging.md +0 -43
- package/dist/agents/commands/claude-code/harness/detect-doc-drift.md +0 -32
- package/dist/agents/commands/claude-code/harness/diagnostics.md +0 -43
- package/dist/agents/commands/claude-code/harness/enforce-architecture.md +0 -32
- package/dist/agents/commands/claude-code/harness/execution.md +0 -43
- package/dist/agents/commands/claude-code/harness/git-workflow.md +0 -32
- package/dist/agents/commands/claude-code/harness/initialize-project.md +0 -33
- package/dist/agents/commands/claude-code/harness/onboarding.md +0 -32
- package/dist/agents/commands/claude-code/harness/parallel-agents.md +0 -35
- package/dist/agents/commands/claude-code/harness/planning.md +0 -41
- package/dist/agents/commands/claude-code/harness/pre-commit-review.md +0 -38
- package/dist/agents/commands/claude-code/harness/refactoring.md +0 -35
- package/dist/agents/commands/claude-code/harness/skill-authoring.md +0 -35
- package/dist/agents/commands/claude-code/harness/state-management.md +0 -35
- package/dist/agents/commands/claude-code/harness/tdd.md +0 -42
- package/dist/agents/commands/claude-code/harness/validate-context-engineering.md +0 -32
- package/dist/agents/commands/claude-code/harness/verification.md +0 -38
- package/dist/agents/commands/gemini-cli/harness/add-component.toml +0 -240
- package/dist/agents/commands/gemini-cli/harness/align-documentation.toml +0 -238
- package/dist/agents/commands/gemini-cli/harness/architecture-advisor.toml +0 -469
- package/dist/agents/commands/gemini-cli/harness/brainstorming.toml +0 -326
- package/dist/agents/commands/gemini-cli/harness/check-mechanical-constraints.toml +0 -249
- package/dist/agents/commands/gemini-cli/harness/cleanup-dead-code.toml +0 -258
- package/dist/agents/commands/gemini-cli/harness/code-review.toml +0 -461
- package/dist/agents/commands/gemini-cli/harness/debugging.toml +0 -436
- package/dist/agents/commands/gemini-cli/harness/detect-doc-drift.toml +0 -215
- package/dist/agents/commands/gemini-cli/harness/diagnostics.toml +0 -401
- package/dist/agents/commands/gemini-cli/harness/enforce-architecture.toml +0 -222
- package/dist/agents/commands/gemini-cli/harness/execution.toml +0 -381
- package/dist/agents/commands/gemini-cli/harness/git-workflow.toml +0 -325
- package/dist/agents/commands/gemini-cli/harness/initialize-project.toml +0 -257
- package/dist/agents/commands/gemini-cli/harness/onboarding.toml +0 -316
- package/dist/agents/commands/gemini-cli/harness/parallel-agents.toml +0 -221
- package/dist/agents/commands/gemini-cli/harness/planning.toml +0 -405
- package/dist/agents/commands/gemini-cli/harness/pre-commit-review.toml +0 -294
- package/dist/agents/commands/gemini-cli/harness/refactoring.toml +0 -209
- package/dist/agents/commands/gemini-cli/harness/skill-authoring.toml +0 -350
- package/dist/agents/commands/gemini-cli/harness/state-management.toml +0 -354
- package/dist/agents/commands/gemini-cli/harness/tdd.toml +0 -247
- package/dist/agents/commands/gemini-cli/harness/validate-context-engineering.toml +0 -186
- package/dist/agents/commands/gemini-cli/harness/verification.toml +0 -334
package/dist/bin/harness.js
CHANGED
|
@@ -2860,8 +2860,7 @@ function buildArgumentHint(args) {
|
|
|
2860
2860
|
|
|
2861
2861
|
// src/slash-commands/render-claude-code.ts
|
|
2862
2862
|
function renderClaudeCode(spec) {
|
|
2863
|
-
const lines = [
|
|
2864
|
-
lines.push("---");
|
|
2863
|
+
const lines = ["---"];
|
|
2865
2864
|
lines.push(`name: ${spec.fullName}`);
|
|
2866
2865
|
lines.push(`description: ${spec.description}`);
|
|
2867
2866
|
const hint = buildArgumentHint(spec.args);
|
|
@@ -2876,6 +2875,8 @@ function renderClaudeCode(spec) {
|
|
|
2876
2875
|
}
|
|
2877
2876
|
lines.push("---");
|
|
2878
2877
|
lines.push("");
|
|
2878
|
+
lines.push(GENERATED_HEADER_CLAUDE);
|
|
2879
|
+
lines.push("");
|
|
2879
2880
|
lines.push("<context>");
|
|
2880
2881
|
lines.push(spec.prompt.context);
|
|
2881
2882
|
lines.push("</context>");
|
|
@@ -2972,7 +2973,7 @@ function computeSyncPlan(outputDir, rendered) {
|
|
|
2972
2973
|
for (const filename of existing) {
|
|
2973
2974
|
if (rendered.has(filename)) continue;
|
|
2974
2975
|
const content = fs16.readFileSync(path24.join(outputDir, filename), "utf-8");
|
|
2975
|
-
if (content.
|
|
2976
|
+
if (content.includes(GENERATED_HEADER_CLAUDE) || content.includes(GENERATED_HEADER_GEMINI)) {
|
|
2976
2977
|
removed.push(filename);
|
|
2977
2978
|
}
|
|
2978
2979
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harness-engineering/cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "CLI for Harness Engineering toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"handlebars": "^4.7.0",
|
|
27
27
|
"yaml": "^2.3.0",
|
|
28
28
|
"zod": "^3.22.0",
|
|
29
|
-
"@harness-engineering/core": "0.
|
|
29
|
+
"@harness-engineering/core": "0.6.0",
|
|
30
30
|
"@harness-engineering/linter-gen": "0.1.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
"dev": "tsup src/index.ts src/bin/harness.ts --format esm --dts --watch",
|
|
54
54
|
"lint": "eslint src",
|
|
55
55
|
"typecheck": "tsc --noEmit",
|
|
56
|
-
"test": "vitest",
|
|
57
|
-
"test:
|
|
56
|
+
"test": "vitest run",
|
|
57
|
+
"test:watch": "vitest",
|
|
58
|
+
"test:coverage": "vitest run --coverage",
|
|
59
|
+
"clean": "rm -rf dist"
|
|
58
60
|
}
|
|
59
61
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
## <!-- Generated by harness generate-slash-commands. Do not edit. -->
|
|
2
|
-
|
|
3
|
-
name: harness:add-component
|
|
4
|
-
description: Add a component to an existing harness project
|
|
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: flexible
|
|
19
|
-
</context>
|
|
20
|
-
|
|
21
|
-
<objective>
|
|
22
|
-
Add a component to an existing harness project
|
|
23
|
-
</objective>
|
|
24
|
-
|
|
25
|
-
<execution_context>
|
|
26
|
-
@agents/skills/claude-code/add-harness-component/SKILL.md
|
|
27
|
-
@agents/skills/claude-code/add-harness-component/skill.yaml
|
|
28
|
-
</execution_context>
|
|
29
|
-
|
|
30
|
-
<process>
|
|
31
|
-
1. Try: invoke mcp__harness__run_skill with skill: "add-harness-component"
|
|
32
|
-
2. If MCP unavailable: read SKILL.md and follow its workflow directly
|
|
33
|
-
3. Pass through any arguments provided by the user
|
|
34
|
-
</process>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
## <!-- Generated by harness generate-slash-commands. Do not edit. -->
|
|
2
|
-
|
|
3
|
-
name: harness:align-documentation
|
|
4
|
-
description: Auto-fix documentation drift issues
|
|
5
|
-
argument-hint: "[--path <path>]"
|
|
6
|
-
allowed-tools:
|
|
7
|
-
|
|
8
|
-
- Bash
|
|
9
|
-
- Read
|
|
10
|
-
- Write
|
|
11
|
-
- Edit
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
<context>
|
|
16
|
-
Cognitive mode: meticulous-verifier
|
|
17
|
-
Type: flexible
|
|
18
|
-
</context>
|
|
19
|
-
|
|
20
|
-
<objective>
|
|
21
|
-
Auto-fix documentation drift issues
|
|
22
|
-
</objective>
|
|
23
|
-
|
|
24
|
-
<execution_context>
|
|
25
|
-
@agents/skills/claude-code/align-documentation/SKILL.md
|
|
26
|
-
@agents/skills/claude-code/align-documentation/skill.yaml
|
|
27
|
-
</execution_context>
|
|
28
|
-
|
|
29
|
-
<process>
|
|
30
|
-
1. Try: invoke mcp__harness__run_skill with skill: "align-documentation"
|
|
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,41 +0,0 @@
|
|
|
1
|
-
## <!-- Generated by harness generate-slash-commands. Do not edit. -->
|
|
2
|
-
|
|
3
|
-
name: harness:architecture-advisor
|
|
4
|
-
description: Interactive architecture advisor that surfaces trade-offs and helps humans choose
|
|
5
|
-
argument-hint: "[--path <path>] [--topic <topic>]"
|
|
6
|
-
allowed-tools:
|
|
7
|
-
|
|
8
|
-
- Read
|
|
9
|
-
- Glob
|
|
10
|
-
- Grep
|
|
11
|
-
- Bash
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
<context>
|
|
16
|
-
Cognitive mode: advisory-guide
|
|
17
|
-
Type: flexible
|
|
18
|
-
State: persistent (files: .harness/architecture/)
|
|
19
|
-
</context>
|
|
20
|
-
|
|
21
|
-
<objective>
|
|
22
|
-
Interactive architecture advisor that surfaces trade-offs and helps humans choose
|
|
23
|
-
|
|
24
|
-
Phases:
|
|
25
|
-
|
|
26
|
-
- discover: Ask questions about the problem space and constraints
|
|
27
|
-
- analyze: Research the codebase and identify relevant patterns
|
|
28
|
-
- propose: Present 2-3 architectural options with trade-offs
|
|
29
|
-
- document: Write an Architecture Decision Record for the chosen option
|
|
30
|
-
</objective>
|
|
31
|
-
|
|
32
|
-
<execution_context>
|
|
33
|
-
@agents/skills/claude-code/harness-architecture-advisor/SKILL.md
|
|
34
|
-
@agents/skills/claude-code/harness-architecture-advisor/skill.yaml
|
|
35
|
-
</execution_context>
|
|
36
|
-
|
|
37
|
-
<process>
|
|
38
|
-
1. Try: invoke mcp__harness__run_skill with skill: "harness-architecture-advisor"
|
|
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,42 +0,0 @@
|
|
|
1
|
-
## <!-- Generated by harness generate-slash-commands. Do not edit. -->
|
|
2
|
-
|
|
3
|
-
name: harness:brainstorming
|
|
4
|
-
description: Structured ideation and exploration with harness methodology
|
|
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: rigid
|
|
20
|
-
</context>
|
|
21
|
-
|
|
22
|
-
<objective>
|
|
23
|
-
Structured ideation and exploration with harness methodology
|
|
24
|
-
|
|
25
|
-
Phases:
|
|
26
|
-
|
|
27
|
-
- explore: Generate ideas and possibilities
|
|
28
|
-
- evaluate: Assess ideas against constraints
|
|
29
|
-
- prioritize: Select and sequence top ideas
|
|
30
|
-
- validate: Run harness checks on selected approach
|
|
31
|
-
</objective>
|
|
32
|
-
|
|
33
|
-
<execution_context>
|
|
34
|
-
@agents/skills/claude-code/harness-brainstorming/SKILL.md
|
|
35
|
-
@agents/skills/claude-code/harness-brainstorming/skill.yaml
|
|
36
|
-
</execution_context>
|
|
37
|
-
|
|
38
|
-
<process>
|
|
39
|
-
1. Try: invoke mcp__harness__run_skill with skill: "harness-brainstorming"
|
|
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>
|
|
@@ -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>
|