anotherben/claude-harness/enterprise-dev
Claude Code and agent skill by anotherben/claude-harness
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Full enterprise workflow for legacy enterprise-dev invocations. Use when starting a feature, significant refactor, enterprise hardening effort, GitHub issue intake/processing, or multi-stage bugfix that needs end-to-end workflow control, portable repo-local artifacts, and explicit proof scope.
Install
npx vskill@latest install anotherben/claude-harness/enterprise-devSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as anotherben/claude-harness/enterprise-dev.
Enterprise
Portable enterprise workflow wrapper. This suite is repo-agnostic, publishable, and intended to generate repo-local overlays that travel with the repository.
Core Rules
- Use a GPT-5.5 fresh baseline: state the outcome, success criteria, constraints, output shape, and stop rules; load detailed stage procedure only when it changes behavior.
/goalis allowed as an enterprise intent front door for vague or product-shaped requests, but it is only an intake adapter. It never replaces$enterprise,enterprise-precheck,enterprise-required-gates,enterprise-agent-session, agent-session artifacts,plan-360-audit,contract-manager, review, forge, verify, PR-readiness, or merge gates.- If
/goaloutput is empty, skeletal, or missing exact source-read targets, a Mechanical Build Packet seed, and refusal conditions, treat the goal intake as failed or incomplete. Continue through enterprise discovery/brainstorm until those fields are source-grounded. - A GitHub issue number or URL is also an enterprise intent front door. Fetch it live, normalize it into a GitHub Issue Intake Packet, and treat the issue body as intake, not proof. Use github-issue-intake.md and
python3 ~/.codex/skills/enterprise/scripts/github_issue_intake.py --repo <owner/name> --issue <number> --jsonwhenghis available. - For GitHub issue intake, labels such as
bugandready-for-agentmay reduce ambiguity but never bypass source reads, current branch verification, clean-worktree gates, plan/contract requirements, or review -> forge -> verify. Production-log, schema/query/data, integration, pricing/inventory/order, or lock/transaction issues start asDEBUGorSTANDARD_AFTER_SOURCE_VERIFICATION, not freehand build. - Suggested fixes inside an issue are alternatives to evaluate. They must become source-grounded plan/contract decisions with proof commands before build; do not copy a suggested patch directly from an issue body.
- Planning and contract quality may consume most of the lane. Do not rush to build while schema, tenant, identity, current-code, file-boundary, E2E, or evidence questions remain open.
- Keep proof scope explicit:
function-level,slice-level,domain-level, orfull-system. - The hook-generated route card is the startup source of truth for route, edit boundary, clean-worktree need, and PR gates. Read
.codex/enterprise-state/hook-ledger/latest-route-card.jsonwhen those requirements are unclear. - Local agent, skill, hook, Codex config, or agent-platform maintenance outside the target repo is
NO_ENTERPRISEwhen the route card saysLOCAL_AGENT_MAINTENANCE. Do not run the helpdesk or target-repo enterprise pipeline for it unless repo files are also touched. /goalmay be used as the enterprise intent front door for vague or product-shaped work, but it is only an intake adapter and never replaces$enterprise; it must hand off to path selection, source-read targets, build-packet seed, refusal conditions, and required gates before build.- No production code before a locked contract, except a documented inline contract on
QUICKpath work. - No completion claim before fresh verification evidence.
- Full proof is the only passing proof state.
PARTIALLY PROVED,UNPROVED, missing edge-case proof, mock-only proof, stale proof, and wrong-head proof are failed gates, not warnings. They block done, PR-ready, merge-ready, ship-ready, and safe-to-merge claims. - No PR-ready, merge-ready, ship-ready, or "ok to merge" claim until
enterprise-review,enterprise-forge, andenterprise-verifyare recorded in order against the current final diff and thepr-readinessormergestage gate passes. - If a lane may produce a PR, state
route_card.required_pr_gatesandroute_card.required_pr_body_sectionsat intake instead of duplicating the chain in this skill body. $enterpriseowns the mechanical gate runner. Do not ask the user to runnpm,node, or harness commands to prove enterprise compliance; invokeenterprise-required-gates --repo-root "$PWD" ...yourself and report its result.- Local enterprise start gates require a clean feature worktree cut from freshly fetched
origin/dev. If the current branch isdev/main, stale versusorigin/dev, or dirty before planning/contracting, stop and create a fresh worktree first. - Use stable enterprise wrappers as the primary command surface in every worktree:
enterprise-agent-session,enterprise-required-gates, andenterprise-containment. They prefer repo-local tooling when present and fall back to reviewed global tooling when old promotion worktrees lack repo-local gate files. Do not hardcodepython3 tools/enterprise-skills/...as the primary command. - Source edits must be contained by the current agent session's locked contract and mechanical build packet.
QUICKmay skip the full plan/audit/contract-manager chain, but it must still recordpath_classification=QUICK, a locked quick contract, and a mechanical build packet before source edits. Non-QUICKalso requires plan, plan-360-audit, contract-manager, and contract history.validate_enterprise_containment.pyfails planned source edits, build/review/verify/harness/PR/merge readiness, and Codex-authored commits if touched source files are outsideAllowed Runtime PathsorAllowed Test Paths, or if no valid agent session/build packet exists. - For
harness,pr-readiness, andmerge, that runner must also execute final proof scripts for PC trace, changed-file proof, structured proof, delegated worker artifacts when present, and PR readiness when applicable. - Review feedback is part of the control system. Every accepted P1/P2/P3 review finding must be harvested into exactly one prevention target: contract postcondition, plan question, forge lens, verify command, CI/gate recommendation, repo trap, or skill eval.
- Every vague,
/goal, or product-shaped intake must carry anIntent Continuity Ledgerfrom brainstorm/design through plan, contract, build, review, forge, verify, and harness. The ledger maps original user words, business outcome, operator acceptance, non-goals, and proof command. If downstream artifacts cannot prove they still satisfy the original intent, recycle before build or completion. - Enterprise solution artifacts must include
Alternatives And Decision Rationalefor load-bearing architecture/product choices. At least the incumbent/no-change option and one credible alternative must be rejected or selected with source evidence, operational tradeoff, and proof impact. - Every touched or newly created file must have a
Touched File SRP Assessmentbefore source edits: current responsibility evidence, owner layer, one reason to change, known mixed responsibilities,fix-now/follow-up/note-onlyclassification, and the smallest extraction or public-seam preservation needed. If the file is already doing multiple jobs and this work touches one of them,fix-nowis mandatory unless the contract records a blocking reason and narrows the claim. - Every database query, read, write, repair, projection, sync, reconciliation, migration, report, verifier, or live-proof query must have a
DB/Query Ownership Packet: table/source owner, operation type, current DB/schema target, tenant/owner/supplier scoping, affected-row or readback expectation, bounded proof command, cleanup/rollback, and approved writer/reader seam. Ownership is required for reads as well as writes; direct SQL in mixed-owner files is a failed gate unless the contract explicitly owns that seam. - High-risk async, queue, worker, order, invoice, inventory, pricing, label-printing, notification, or staff workflow lanes must define field-level producer-to-consumer contracts and lifecycle counterexamples during plan/contract. Do not wait for final PR review to discover quantity-field mismatches, bypassed synchronous confirmations, duplicate workers, stale running states, post-commit bookkeeping ambiguity, truthy non-success helper returns, lost retries, or UI rehydration gaps.
- Every
enterprise-planrun must immediately runplan-360-audit, recordplan_360_audit, and recycle blocking findings before contract or build. contract-manageris required before contract lock and before any non-QUICKsource edits; record its artifact/status ascontract_review.- Build is mechanical. Non-
QUICKbuild cannot start until the agent session records abuild_packetartifact with exact paths, commands, postcondition order, refusal conditions, and architecture fields:Module Boundary,Folder Placement,Public Seam,Owner Layer,Allowed Dependency Direction,Forbidden Imports, andArchitecture Tests. - Schema/query/data claims require current code reads plus real database proof. Migrations, diffs, and mocks are not enough.
- UI, PDF upload, file upload, preview/download, modal, navigation, and rendered-output claims require headless browser proof when verified.
- Last-100-PR trap matrix is a standing lens: mock/runtime shape mismatch, missing affected-row checks, SQL tenant/owner/current-DB gaps, stale or dry-run-only evidence, route method/source drift, zero/falsy UI loss, duplicate helpers/writers, and unsafe substring environment checks.
- Repo-portable facts belong in committed
.codex/enterprise-state/files. - Machine-specific facts belong in gitignored local-machine state, not committed profiles.
- In-flight workflow state belongs in gitignored
.codex/enterprise-state/agent-sessions/<agent-id>.json, not repo-global status files. - For high-risk domains, fail closed if required docs, return legs, or downstream consumers remain untraced.
Path Selection
Use the routing matrix in workflow-routing.md.
DISCOVER_ONLY: initial repo uplift, environment setup, or portability refreshNO_ENTERPRISE: local agent, skill, hook, Codex config, or agent-platform maintenance outside the target repoQUICK: tiny, bounded changes with no meaningful architecture ambiguitySTANDARD: clear feature or fix with moderate blast radius; still runs plan -> plan-360-audit -> contract-manager before buildFULL: multi-stage work needing discovery, design, contract, adversarial review, and evidence packDEBUG: bug or regression path when the problem is not yet understood; after root cause, continue through plan -> plan-360-audit -> contract-manager before build unless explicitly narrowed toQUICK
Required Workflow
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/enterprise-dev/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/anotherben/claude-harness/enterprise-dev)