@sha3/harness
v0.0.16
Published
AI project initializer.
Readme
harness
AI project initializer.
Init
Initialize the current project:
npx @sha3/harness@latest initRun the same command again to re-initialize an existing project. It refreshes the harness-managed files and scripts.
Managed agent files and MCP config are written under .claude/.
Init also runs Biome with --write after refreshing the config so existing supported files are reformatted immediately. It applies unsafe fixes aggressively, except fixes that remove console output or rewrite logical chains to optional chaining.
Preview changes without writing files:
npx @sha3/harness@latest init --dry-runScripts
The initializer recreates every package.json script prefixed with harness::
{
"harness:init": "npx @sha3/harness@latest init",
"harness:open-chrome-canary": "node scripts/open-chrome-canary.mjs",
"harness:check": "biome check --config-path=biome/biome.json .",
"harness:publish": "node scripts/publish.mjs"
}