Harness promotion
Self-improving, tool-first Harness Engineering Agent Skills for Claude Code, Codex, Cursor and TRAE. Build, audit, update and verify AGENTS.md-based repositories.
npx -y skills add atlax-tech/harness-armor --skill harness-promotionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 26 days oldThe repository was created 26 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Inspect real code, configuration, tests, CI, and documentation in an existing non-managed repository, then add a truthful Harness Engineering layer without refactoring behavior. Use when promoting a legacy Node, Python, Java, or other codebase for safe AI-agent work. Do not use for empty/docs-only repositories, deployment promotion, managed-Harness sync, or automatic code modernization.
The file declares its own license as CC-BY-NC-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
5.2 KB, as published. Nobody here has run it
Promote an existing codebase
Document the repository as it actually works so future agents can change it safely. Recommendations remain recommendations; this skill does not refactor.
Inputs
- Repository root containing business code.
- Optional target modules or known risk areas.
- Existing instructions and documentation, which must be preserved unless a specific managed-section edit is approved.
Load the contract
- Treat this file's directory as
SKILL_ROOT. - Read references/code-evidence.md.
- Resolve shared resources from
SKILL_ROOT/../../sharedorSKILL_ROOT/../.harness-armor. - Read
spec/harness-engineering-v1.md, schemas, and templates. Stop if the shared runtime is absent.
Applicability gate
- Read every applicable
AGENTS.mdor client guidance file. - Run
python scripts/scan_repository.py <root>. - Confirm business code exists and a valid Harness Armor manifest does not.
- Route empty repositories to
harness-init, docs-only repositories toharness-build, managed repositories toharness-updateorharness-check, and mixed/conflicted structures to a read-only check.
Evidence pass
- Inventory languages, package/build files, entry points, primary modules, tests, CI/CD, containers, migrations, deployment configuration, and existing instructions.
- Read actual entry points and representative core modules. Do not infer the architecture from directory names.
- Establish evidence for:
- current architecture and business flows;
- module boundaries and dependency direction;
- build, start, test, lint, and migration commands;
- database and state handling;
- external services and environment variable names, never secret values;
- CI/CD behavior and manual release steps;
- high-risk areas and existing change conventions.
- Compare README/design claims with code and configuration. Use the columns in assets/reality-ledger.md: code fact, document claim, inference, and recommendation.
- Run only commands whose source and effect are understood, safe, and relevant. A command printed in README is not automatically trusted. Never run deploy, migration, destructive, credential, or production commands here.
- Fingerprint the final evidence set with
python scripts/fingerprint_sources.py <root> <paths...>.
Harness plan and authorization
- Propose a file-level plan for a short
AGENTS.md, focused docs, state files, and any managed sections. - An explicit promotion request authorizes creation of missing Harness files. Editing an existing instruction or document requires a displayed diff plan and explicit approval. Prefer links and additive managed sections over replacement.
- Mark all business code, configuration, tests, and current documentation
observedoruser; this workflow never owns them.
Write workflow
- Document current product behavior and architecture with source paths and symbols. Label gaps and conflicting statements.
- Record verified commands and the evidence used to verify them. If a command
was discovered but not run, say
DISCOVERED, NOT RUN. - Define safe change boundaries, required validations, and manual acceptance for high-risk paths.
- Preserve existing norms. Add proposed improvements in a clearly labeled recommendation section; never describe them as implemented.
- Write managed state and source fingerprints.
- Validate using
python scripts/validate_harness_structure.py <root>plus safe project checks that actually ran. - Re-check the diff for any business-code or external-behavior change. If one exists, revert only that unauthorized edit and report it.
Allowed and forbidden changes
Allowed: new Harness documents/state and explicitly approved managed sections.
Forbidden: business-code refactors, dependency updates, command changes, configuration normalization, deployment, migration execution, secret reading, invented architecture, or claims of unrun success.
Failure handling
If the codebase is too large for configured limits, narrow the scan transparently
and list excluded areas. If architecture evidence conflicts, preserve the
conflict and route follow-up diagnosis to harness-check. On validation failure,
leave user files unchanged and report partial new files exactly.
Result format
Report inspected evidence, current architecture summary, command status,
documentation/code conflicts, created/approved files, preserved files,
recommendations not implemented, actual validations, and manual acceptance
steps. Recommend harness-prompt only when a concrete implementation plan is
present.