Harness init
Create a fact-safe Harness Engineering skeleton for an empty or basic-files-only repository, including a short AGENTS.md, project document stubs, and managed state. Use when starting an undefined repository or explicitly invoking harness-init. Do not use when substantive product documents or business code already exist, and never guess the product or technology stack.From its SKILL.md
npx -y skills add atlax-tech/harness-armor --skill harness-initAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 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 file declares
Copied from the file, not written here
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
4.4 KB, 869 tokens by cl100k_base, as published. Nobody here has run it
Initialize an undefined repository
Create a useful knowledge skeleton without filling unknowns with plausible fiction.
Inputs
- Repository root.
- Optional project name or known purpose supplied by the user.
- Existing README, LICENSE,
.gitignore, and editor files are preservation constraints, not blank space.
Load the contract
- Treat the directory containing this file as
SKILL_ROOT. - Read references/init-policy.md.
- Resolve
sharedfromSKILL_ROOT/../../sharedor, for direct installs,SKILL_ROOT/../.harness-armor. - Read
spec/harness-engineering-v1.mdand the templates undertemplates/. Stop with an installation error if the shared root is absent.
Applicability gate
- Read applicable
AGENTS.mdinstructions if any exist. - Run
python scripts/detect_repository_state.py <root>. - Continue only for
EMPTY, including repositories containing only basic administrative files. - If the state is
DOCS_ONLY, stop and route toharness-build. For code, route toharness-promotion. For any Harness or conflict, route toharness-check.
Fact ledger
Before writing, list every supplied fact and every required unknown. Use
CONFIRMED only for user statements or existing file evidence. Mark everything
else UNRESOLVED using the exact marker in
assets/unresolved-marker.md. Do not infer users,
features, language, framework, database, deployment, or commands.
Write workflow
- Propose the new-file set. The default set is:
AGENTS.md;docs/PRODUCT.md,ARCHITECTURE.md,DESIGN.md,DEVELOPMENT.md,TESTING.md,ACCEPTANCE.md, andROADMAP.md;.harness/manifest.json,source-index.json, andunresolved.json.
- Treat an explicit request to initialize as authorization to create only missing files in that set. If any target exists, do not overwrite it; show the collision and request a narrower decision.
- Create a short
AGENTS.mdknowledge map from the shared template. - Create focused document skeletons. Include only confirmed facts and explicit unresolved markers. Do not create empty filler sections merely to increase coverage.
- Create the state files with ownership for files actually created. Record
pre-existing files as
userorobserved, nevermanaged. - Create
docs/decisions/README.mdanddocs/development-log/README.mdonly when the client cannot preserve empty directories and those maps add useful instructions. - Run
python scripts/validate_harness_structure.py <root>and relevant local reference checks. - If validation fails, remove only newly created files from this run when safe; otherwise report the partial state exactly. Never alter pre-existing files during cleanup.
Allowed changes
Create missing Harness files and directories listed in the approved plan. Do not modify existing repository files, business code, package metadata, CI, or Git configuration.
Forbidden behavior
- Do not create an implementation, dependency manifest, framework scaffold, or pretend build/test command.
- Do not rewrite README or LICENSE.
- Do not mark unresolved placeholders
CONFIRMED. - Do not silently replace an earlier partial Harness.
Idempotency and failure handling
A second run on an unchanged initialized repository must produce no file diff;
route it to harness-check. Report collisions, permission failures, incomplete
runtime, truncated scans, and unrun validators. Never claim initialization
succeeded when structure validation did not complete.
Result format
Report: applicability evidence, confirmed facts, unresolved items, files
created, files preserved, validation commands with actual results, and manual
acceptance steps. End by recommending that the user fill docs/PRODUCT.md and
then invoke harness-build once substantive product sources exist.
What ships with it: 5 files
2.4 KB alongside SKILL.md, 2 of them executable
agents/
- openai.yaml317 B
assets/
- unresolved-marker.md116 B
references/
- init-policy.md980 B
scripts/
- detect_repository_state.pyruns530 B
- validate_harness_structure.pyruns542 B