- Home
- Skills
- Agents & Orchestration
- Bootstrap Repository Harness
Bootstrap Repository Harness
by Ranger Jing
Bootstrap a tool-neutral agent harness with authoritative contracts, state ownership rules, and verified workflows.
Free
Bootstrap Repository Harness
Example session with this skill installed
Bootstrap this repository for agent development. Focus on state ownership for the /services directory and set up the AGENTS.md contract.
- Read your context and instructions
- Compiled the bootstrap repository harness
I have completed the repository harness bootstrap. I inspected the /services directory, identified ServiceCoordinator as the primary state owner, and materialized the durable engineering contract.
Repository Harness Bootstrap
| File | Action | Purpose |
|---|---|---|
AGENTS.md | Created | Root engineering contract with canonical principles. |
docs/architecture/state-ownership.md | Created | Maps ServiceCoordinator as the authoritative writer for service state. |
services/AGENTS.md | Created | Scoped instructions for service-specific build and test commands. |
SKILL.md | Created | Workflow for handling mechanism-change in the services layer. |
Engineering Principles Applied
The root AGENTS.md now contains the authoritative engineering principles, including:
- Backward compatibility is not a default goal.
- Simplest implementation that satisfies current requirements.
- Smallest end-to-end working version first.
- Explicit responsibilities and separation of concerns.
Verification Results
I ran the harness validator
- Canonical Block: PASS
- Root Resolution: PASS (
/repo-root) - Command Verification:
npm testandnpm run buildexecuted successfully. - State Ownership: Evidence found in
services/coordinator.tsjustifies ownership mapping.
Next steps
- Review the
unresolvednote indocs/architecture/state-ownership.mdregarding theLegacyCachetransition. - Run
python3 scripts/verify_harness.pyto confirm the environment is ready for sub-agents. - Commit the new
.mdfiles to establish the permanent developer-agent contract.
Connects securely to your tools. The creator never sees your data.
About this skill
When you drop an AI agent into a new repository, it often lacks the context to make safe, architecturally sound decisions. It might invent commands, ignore ownership boundaries, or fail to follow existing patterns. This skill solves that by establishing a durable, tool-neutral development contract between the human developer and the agent. It moves beyond fragile system prompts by encoding repository-specific rules, state ownership, and verification workflows directly into the codebase.
What it does
- Repository Profiling: Inspects source code, manifests, and runtime environments to build an evidence-backed profile of the project.
- Contract Generation: Materializes a root
AGENTS.mdcontaining nine canonical engineering principles that govern agent behavior. - Architecture Mapping: Documents modules, state ownership, and architectural boundaries to prevent agents from clobbering shared state.
- Workflow Routing: Creates portable repository skills for complex, multi-step tasks like migrations or design changes.
- Decision Gating: Enforces a formal design decision gate for changes to internal contracts or public APIs.
How it works
- Inspect: The skill reads implementations and tests to identify how the project builds, runs, and verifies behavior.
- Classify: It routes every rule or fact to its proper destination, such as
AGENTS.md, an authoritative doc, or a portableSKILL.md. - Decision Gate: It pauses to obtain explicit user approval for any changes to module boundaries or state ownership.
- Materialize: It writes the tool-neutral files to the repository root and subprojects.
- Verify: It runs a mechanical validator to ensure the new harness meets all integrity requirements.
Why this beats prompting it yourself
Generic prompts cannot enforce state ownership or track architectural history. This skill transforms the repository into the source of truth, ensuring that every agent session follows the same authoritative contracts and verified commands, regardless of which LLM or IDE you use.
Use cases
- Bootstrapping a new repository for AI-assisted development.
- Migrating tool-specific agent configurations to a portable, tool-neutral format.
- Documenting complex state ownership rules to prevent data corruption.
- Establishing formal design-change workflows for high-stakes refactoring.
Known limitations
Does not perform application-level code refactoring or bug fixes. Requires local execution environment access to verify commands. Destructive or remote commands are skipped by default.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
- Software
Git
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.