Bootstrap Repository Harness

    by Ranger Jing

    1

    Bootstrap a tool-neutral agent harness with authoritative contracts, state ownership rules, and verified workflows.

    Free

    Security scanned

    Works with the AI Agents you already use

    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

    FileActionPurpose
    AGENTS.mdCreatedRoot engineering contract with canonical principles.
    docs/architecture/state-ownership.mdCreatedMaps ServiceCoordinator as the authoritative writer for service state.
    services/AGENTS.mdCreatedScoped instructions for service-specific build and test commands.
    SKILL.mdCreatedWorkflow 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 test and npm run build executed successfully.
    • State Ownership: Evidence found in services/coordinator.ts justifies ownership mapping.

    Next steps

    1. Review the unresolved note in docs/architecture/state-ownership.md regarding the LegacyCache transition.
    2. Run python3 scripts/verify_harness.py to confirm the environment is ready for sub-agents.
    3. Commit the new .md files 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.md containing 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

    1. Inspect: The skill reads implementations and tests to identify how the project builds, runs, and verifies behavior.
    2. Classify: It routes every rule or fact to its proper destination, such as AGENTS.md, an authoritative doc, or a portable SKILL.md.
    3. Decision Gate: It pauses to obtain explicit user approval for any changes to module boundaries or state ownership.
    4. Materialize: It writes the tool-neutral files to the repository root and subprojects.
    5. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill establishes a tool-neutral development contract by creating an AGENTS.md file and authoritative documentation. It prevents agents from inventing commands or clobbering shared state by encoding repository-specific rules and state ownership boundaries directly into the codebase.

    To use this skill, your agent needs access to your local execution environment and repository source code. It uses these to inspect manifests, run safe verification commands like linters or tests, and validate that the new harness meets integrity requirements.

    The primary output is a root AGENTS.md file containing nine canonical engineering principles and a workflow routing table. You may also get focused authoritative docs for architecture facts and portable SKILL.md files for multi-step workflows, all kept in a tool-neutral format.

    This skill does not perform application-level code refactoring, fix bugs, or handle ordinary implementation tasks. It also skips destructive or remote commands by default and requires explicit user approval before changing module boundaries or public APIs.

    You should invoke this skill when you are first setting up a repository for AI-assisted development or when you need to migrate tool-specific configs into a neutral format. Simply ask your agent to bootstrap or rebuild the repository development harness using this skill.

    The skill uses a formal design decision gate that pauses whenever a change affects state ownership, module decomposition, or internal contracts. It presents you with evidence and recommendations, requiring your explicit approval before any of these architectural boundaries are modified.

    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.

    Free