Select the least-privileged skill that matches the request:
| Need | Skill |
|---|---|
| Understand repository identity and structure | repo-map |
| Trace statically visible route surfaces | route-trace |
| Map environment variable names without values | env-audit |
| Find high-confidence secret exposure risks without values | secret-audit |
| Map static API contract surfaces | api-contract-audit |
| Review static migration and schema evidence | migration-review |
| Prepare local GitHub handoff evidence | github-handoff |
| Map static deployment readiness evidence | deployment-preflight |
| Collect one deterministic static evidence bundle | audit |
| Run existing local validation checks | build-verify |
| Assess Git handoff readiness | git-preflight |
| Determine what is actually running | runtime-truth |
| Reconcile claims with evidence | llm-drift-control |
- Use
repo-mapwhen repository identity or boundaries are not established. - Use
route-tracewhen route files or declarations must be mapped from static files. - Use
env-auditwhen environment variable names or sample config references must be mapped without reading values. - Use
secret-auditwhen high-confidence tracked secret exposure risk must be reported by path, type, and count without printing matched values. - Use
api-contract-auditwhen OpenAPI/Swagger files, endpoint declarations, client calls, and schema/type files must be mapped without runtime behavior. - Use
migration-reviewwhen database migration, schema, config, package-script-key, and static risk-indicator evidence must be mapped without database access. - Use
github-handoffwhen local Git metadata and changed-file summaries are needed before separately approved GitHub work. - Use
deployment-preflightwhen visible deployment config, docs, package script keys, and platform hints must be mapped without deployment behavior. - Perform implementation outside this pilot pack.
- Use
build-verifyfor approved project-native checks. - Use
git-preflightbefore handoff or publication. - Use
runtime-truthonly when live local state matters. - Use
llm-drift-controlwhen claims and evidence may disagree.
Every skill emits an evidence pack. Read status, skipped checks, failures, confidence, and changed state before relying on a completion claim.
Render read-only repo-map context with:
node scripts/render-adapter-repo-map.mjs <project-root>When a project owns a compatible adapter, this validates the adapter first and reports
adapter-declared documentation precedence, safe read paths, ignored paths, and required
evidence. When no .coding-agent declaration exists, adapters remain optional: repo-map
uses generic-safe-discovery, reports adapterPresent: false, reduces confidence, and
still refuses builds, tests, runtime checks, deployments, migrations, package installs, and
secret-file reads.
See examples for safe concrete inputs and outputs.
Install the CLI from the public npm registry:
npm install -g coding-agent-skillsRun supported commands:
coding-agent-skills validate-pack
coding-agent-skills validate-project /path/to/project
coding-agent-skills repo-map /path/to/project
coding-agent-skills route-trace /path/to/project
coding-agent-skills env-audit /path/to/project
coding-agent-skills secret-audit /path/to/project
coding-agent-skills api-contract-audit /path/to/project
coding-agent-skills migration-review /path/to/project
coding-agent-skills github-handoff /path/to/project
coding-agent-skills deployment-preflight /path/to/project
coding-agent-skills audit /path/to/project
coding-agent-skills validate-adapters /path/to/adapter-rootFor one-off execution, use:
npx coding-agent-skills validate-packThese commands wrap the same validated scripts shipped in the repository. repo-map
uses adapter metadata when present and valid; otherwise it falls back to generic safe
discovery with reduced confidence and clear adapter-absence warnings.
route-trace validates a project adapter when present, uses adapter-declared safe paths
when enabled, and statically reports verified route files, inferred route declarations,
skipped items, and not-verified runtime-dependent route classes.
env-audit validates a project adapter when present, uses adapter-declared safe paths
when enabled, and statically reports environment variable names, classifications, sample
files inspected, skipped secret-bearing paths, and not-verified runtime or credential
stores without printing values.
secret-audit validates a project adapter when present, uses adapter-declared safe paths
when enabled, and statically reports high-confidence secret-like finding paths, types, and
counts without printing matched values or validating credentials.
api-contract-audit validates a project adapter when present, uses adapter-declared safe
paths when enabled, and statically reports contract files, endpoint declarations,
client-call patterns, schema/type files, skipped paths, and not-verified runtime behavior.
migration-review validates a project adapter when present, uses adapter-declared safe
paths when enabled, and statically reports migration files, schema/config files, package
script keys, risk indicators, skipped paths, and not-verified database behavior without
database access or migration execution.
github-handoff validates a project adapter when present, then reports local Git branch
state, HEAD, tags at HEAD, remote names, and changed-file summaries without printing
remote URLs, committing, pushing, tagging, creating pull requests, calling GitHub APIs,
or reading tokens.
deployment-preflight validates a project adapter when present, uses adapter-declared
safe paths when enabled, and statically reports deployment config files, deployment docs,
package script keys, platform indicators, risk indicators, skipped paths, and
not-verified provider/runtime behavior without deploying or calling provider APIs.
audit executes the eight existing safe static audit libraries in fixed order and
returns one concise human report or one structured JSON envelope. Non-applicable
adapter-limited audits are marked partial/skipped; missing adapters use generic safe
discovery; invalid or unsafe adapters fail closed.
The installed CLI does not run target project builds or tests, perform runtime checks,
deploy, migrate, mutate services or processes, or read .env files. Project adapters
narrow context; they do not grant additional power or weaken shared restrictions.
Every public CLI command accepts optional --json for OpenClaw-style tool callers:
coding-agent-skills repo-map /path/to/project --json
coding-agent-skills validate-pack --json
coding-agent-skills audit /path/to/project --jsonThe default human-readable output is unchanged. JSON output is sanitized and includes:
successstatustoolcommandskillIdpackageVersionmodechangedStatesummaryfindingswarningsrisksskippednotVerifiedrefusedBehavioradapterrecommendedNextActionsafetyexitCodeexitCodeMeaning- command-specific
details,results,metrics, orevidencewhen applicable
The normative contract is cli-result.schema.json. Semantic validation additionally requires package-version agreement, immutable read-only safety flags, consistent completion state, and stable missing-input/safety-refusal codes.
Exit-code semantics:
0: handled execution path, including complete, partial, blocked, or controlled audit result2: usage error3: safety refusal4: missing required input or file5: unexpected internal or runtime failure
OpenClaw or another orchestrator should own memory, routing, permissions, scheduling, chat/user interaction, and workflow state. This package remains a read-only external tool and evidence producer.
From the shared skill repository root, the same wrapper can be used directly:
bin/coding-agent-skills validate-pack
bin/coding-agent-skills validate-project /path/to/project
bin/coding-agent-skills repo-map /path/to/project
bin/coding-agent-skills route-trace /path/to/project
bin/coding-agent-skills env-audit /path/to/project
bin/coding-agent-skills secret-audit /path/to/project
bin/coding-agent-skills api-contract-audit /path/to/project
bin/coding-agent-skills migration-review /path/to/project
bin/coding-agent-skills github-handoff /path/to/project
bin/coding-agent-skills deployment-preflight /path/to/project
bin/coding-agent-skills audit /path/to/project
bin/coding-agent-skills validate-adapters /path/to/adapter-rootIf the repository's bin/ directory is already on the shell path, the same commands can
also be invoked as:
coding-agent-skills validate-pack
coding-agent-skills validate-project /path/to/project
coding-agent-skills repo-map /path/to/project
coding-agent-skills route-trace /path/to/project
coding-agent-skills env-audit /path/to/project
coding-agent-skills secret-audit /path/to/project
coding-agent-skills api-contract-audit /path/to/project
coding-agent-skills migration-review /path/to/project
coding-agent-skills github-handoff /path/to/project
coding-agent-skills deployment-preflight /path/to/project
coding-agent-skills audit /path/to/project
coding-agent-skills validate-adapters /path/to/adapter-rootThe local wrapper follows the same safety model as the published CLI.