Install
$ agentstack add skill-solitudetg-harness-coding-skills-harness-knowledge-capture ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Knowledge Capture
Purpose
Use this skill to decide the smallest durable memory and completion gate needed before an engineering task is called complete.
Core boundary:
This skill owns closeout and completion permission.
References own detailed policy.
Scripts own deterministic validation.
Do not create documents to look disciplined. Capture only the smallest artifact that prevents future confusion, repeated mistakes, or unverifiable completion claims.
Prefer Chinese for human-written Harness prose. Keep YAML keys, enum values, required headings, commands, paths, and code identifiers in English.
Trigger Discipline
If you are about to say work is done, complete, fixed, verified, reviewed, ready to commit, ready for PR, ready for handoff, or safely closed, use this skill first.
This skill may conclude no formal artifact needed. The check is still required; the artifact is optional.
If this skill has not produced a Completion claim allowed verdict, do not use completion language. Say implementation done, harness closeout pending and finish the missing closeout work or report the blocker.
Completion Verdict Ownership
This skill owns the completion verdict for Harness closeout.
- This skill owns the completion verdict, Evidence level, required closeout categories, and completion-claim permission.
- A
passor permittedconditionalverdict is terminal for the requested stage. Do not re-runusing-harness,harness-change-narrative, or this skill merely because a final answer is about to be written. - If verification, readiness, knowledge-check, Vision Gate, or change narrative evidence was gathered earlier in the same turn and is still fresh, consume that evidence instead of re-running equivalent checks.
- If a required category is missing, produce
blockedorconditionalwith the named blocker. Do not try to reachpassby recursively invoking adjacent Harness skills. - A normal final response may summarize this verdict and evidence without triggering a new change narrative.
Terminal Closeout Output
Terminal means no recursion, not invisible.
After this skill reaches a pass or permitted conditional verdict, the agent must still expose visible closeout status before claiming completion or readiness. The final response may use a compact closeout block, but it must not collapse the result to only "tests passed", "committed", or "Harness closeout check: pass".
A structural harness_closeout_check.py pass is not a substitute for the human-visible closeout status. It proves that a block was structurally valid; it does not by itself communicate Entry Gate, Vision Anchor, Evidence, Feature, ADR, Lesson, and Check state to the user or next agent.
For normal final responses, use this compact closeout block unless the user asks for the full status or the work is high risk:
Closeout verdict: pass / conditional / blocked
Completion claim allowed: yes / no
Entry Gate: ...
Vision Anchor: ...
Evidence: ...
Evidence level: quick / standard / exhaustive
Feature: ...
ADR: ...
Lesson: ...
Check: ...
Expand to the full Final Response Contract when any omitted category is non-trivial, conditional, blocked, or newly updated. Never omit a blocked or conditional category.
Workflow
- Identify the smallest knowledge boundary: active work state, handoff, Feature delivery, decision, failure mode, evidence, or none.
- Read only the references needed for that boundary.
- Create or update the lightest durable artifact that fits the risk.
- Link ADR, Lesson, and Evidence artifacts from the Feature page when a Feature is involved.
- Update
docs/BACKLOG.mdor a handoff note only when active work state changed. - Record Evidence for every completion claim.
- Run validators when Harness artifacts or closeout blocks changed.
- Produce a visible closeout verdict and completion-claim permission.
Artifact Placement
Use these canonical paths under the selected docs root:
docs/BACKLOG.md
docs/features/Fxxx-slug.md
docs/decisions/ADR-xxx-slug.md
docs/lessons/LL-xxx-slug.md
docs/evidence/EV-xxx-slug.md
Do not place Harness Feature, ADR, Lesson, or Evidence artifacts under docs/superpowers/**. Superpowers specs and plans may remain there as linked material, but official Harness memory uses the canonical directories so knowledge_check.py --strict can validate it deterministically.
Create or update a Feature page when:
- A Feature status, acceptance criteria, constraints, related links, or next step changes.
- A spec, plan, discussion, bug report, research, ADR, Lesson, or Evidence artifact is added.
- The task advances a delivery boundary.
- Non-trivial work would otherwise rely on chat history as the only Vision Anchor.
- A completed or accepted Feature receives a non-tiny follow-up fix; update
## Patch Historyon the original Feature with a patch id such asF010.1.
Feature pages are engineering memory, not approval gates. When a clear Goal already authorizes the work, create or update Feature memory and continue through the normal implementation and closeout flow. Do not require default per-Feature design approval.
Before creating or materially updating a Feature, complete Feature Intake. If original problem, user pain point, capability promise, non-goals, acceptance source, or open questions cannot be stated without guessing, stop and ask a clarifying question instead of writing the Feature.
Feature pages are the long-lived governance entrypoint. Keep detailed specs, plans, discussions, Evidence logs, and handoff notes linked rather than copied. The Feature page should preserve:
- Capability boundary in
## Capability Contract. - Design rationale, rejected alternatives, and modification checks in
## Decision Context. - Claim-to-proof traceability in
## Acceptance Map. - State changes in
## State Timeline. - Future-session recovery context in
## Recovery Snapshot.
Use this write-boundary rule before creating durable memory:
- Feature: use for delivery boundary, capability promise, acceptance, state, linked material, recovery entrypoint, and modification checks.
- ADR: use when a decision creates or changes a durable boundary that future maintainers or agents may need to preserve, challenge, or revise; include decision boundary, rejected options, consequences, and checks before changing the decision.
- Lesson: use when a failure mode can recur and needs an objective case, resolution, root cause, and protection mechanism; do not write a Lesson that only says to be careful.
- Evidence: use to bind a completion, capability, or decision claim to verifiable facts; include supported claim, verification scope, checks, results, artifacts, limitations, and notes.
If the same fact seems to belong in multiple artifacts, keep the fact in the most specific artifact and link it from the Feature. Do not duplicate full ADR, Lesson, or Evidence content into the Feature page.
Templates
Copy the matching bundled template from using-harness/assets/templates/ and fill every required field and section. If a project vendors templates, prefer the project copy only when it is intentionally current with this Harness suite.
- Feature:
using-harness/assets/templates/FEATURE.md - ADR:
using-harness/assets/templates/ADR.md - Lesson:
using-harness/assets/templates/LESSON.md - Evidence:
using-harness/assets/templates/EVIDENCE.md
Use Stable IDs:
- Feature:
F001, with filenamedocs/features/F001-slug.md. - ADR:
ADR-001, with filenamedocs/decisions/ADR-001-decision-area-accepted-choice.md; include decision area and accepted choice. - Lesson:
LL-001, with filenamedocs/lessons/LL-001-domain-failure-protection.md; include domain, observable failure symptom, and protection point. - Evidence:
EV-001, with filenamedocs/evidence/EV-001-work-or-feature-verification-focus.md; include work item and verification focus.
Keep titles specific enough to scan in search results.
Reference Map
Use references only when their trigger applies.
references/completion-closeout-contract.md: read when a full closeout block, conditional/blocked status, readiness, Vision Gate Exit, or category-level completion rule matters.references/artifact-decision-matrix.md: read when deciding whether to create or update Feature, ADR, Lesson, Evidence, Backlog, handoff, spec, plan, discussion, bug report, or research artifacts.references/bugfix-attribution-and-patch-churn.md: read for non-tiny bugfixes, regressions, completed Feature owners, Patch History rows, repeated fixes,Fxxx.nfollow-ups, or 3+ patch churn.
Script Use
Execute bundled scripts; do not read script source unless debugging or editing that script.
Run verification commands before reading verification source.
Do not read test files, validator scripts, or workflow files merely to verify behavior. Read them only when debugging a failure, editing them, reviewing them, or explaining their behavior.
Run the bundled knowledge validator when Harness artifacts changed:
python /using-harness/scripts/knowledge_check.py --root --docs-path docs --strict
When the current work creates, renames, archives, deprecates, supersedes, splits, merges, or materially changes the boundary, title, filename, owned paths, or recall terms of a Feature, also validate that specific Feature's Index entry:
python /using-harness/scripts/knowledge_check.py --root --docs-path docs --feature-index
Use this local check when a bugfix or retrieval attempt shows that the related Feature was not recalled correctly. Do not run a global Feature Index audit by default. Use --feature-index-all only when the user explicitly requests a full Feature Index audit, all-link check, or duplicate check.
Run the bundled closeout validator when a closeout block exists in a file:
python /using-harness/scripts/harness_closeout_check.py --file
These scripts are structural guardrails. Their output is Evidence input; it does not replace judgment about whether the selected Evidence level is sufficient.
Use using-harness/assets/templates/CLOSEOUT_COMPACT.md when you need a compact visible closeout block without expanding the full contract.
Evidence Levels
quick: tiny or routine low-risk work. Minimum proof can be final response, commit message, manual inspection note, or the smallest relevant command.standard: non-trivial feature, bugfix, refactor, or user-visible behavior. Minimum proof is tests, build or lint when available, key workflow check, and concise diff or behavior summary.exhaustive: high-risk release, architecture, data model, security, migration, major UX, RPA/browser flow, or external contract. Minimum proof is standard proof plus E2E, browser, screenshot, trace, reviewer record, rollback note, or dedicated Evidence when relevant.
Bugfix Closeout
For every non-tiny bugfix, record attribution before completion language:
existing Feature: update that Feature's## Patch Historywhen the bug changes completed, accepted, or previously delivered behavior.none found after retrieval: record the negative retrieval result in Evidence or final closeout.not triggered: use only for tiny local fixes where project memory cannot change the outcome, and state why.ambiguous: keep completion blocked or conditional unless the claim is explicitly limited to investigation.
Non-tiny bugfix completion requires a Bugfix attribution status, and existing completed Feature owners have an updated Patch History row when applicable.
Common Mistakes
| Mistake | Correction | | --- | --- | | Claiming work is done without Evidence status. | Record Evidence location and level. | | Treating scripts as reading material. | Execute scripts; read source only when debugging or editing them. | | Omitting a category because no artifact was needed. | Mark it not triggered with a reason. | | Fixing a completed Feature bug without updating Patch History. | Attribute first, then update the owning Feature. | | Writing a Lesson that only says to be careful. | Turn caution into a test, gate, CI check, permission rule, or skill. |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: solitudeTG
- Source: solitudeTG/harness-coding-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.