project-agent-bootstrap
Project Agent Bootstrap
Overview
Use this skill to turn a plain folder into an AI-ready project workspace. It writes the main instruction file from the bundled template, configures local MCP servers for the selected runtime, and bootstraps Git safely.
Quick Start
Run the bootstrap script first:
python3 ./project-agent-bootstrap/scripts/bootstrap_project.py \
--project-root /absolute/path/to/project \
--agent codex
Valid --agent values:
codex: createAGENTS.mdand.codex/config.tomlclaude: createCLAUDE.md,.mcp.json, and.claude/settings.local.jsonboth: create both instruction files and both runtime configsauto: infer runtime from the existing project; default tocodex
Workflow
- Decide which runtime the project needs: Codex, Claude Code, or both.
- Run
scripts/bootstrap_project.pywith the target project root. - Review the generated instruction file and keep the bundled policy intact unless the user explicitly wants changes.
- If the project already had local config, keep the merged result. Do not strip user-defined MCP entries.
- Continue implementation inside the bootstrapped repo.
Output Contract
Generate these files:
AGENTS.mdorCLAUDE.md: copy the bundled template from references/instruction-template.md.codex/config.toml: add project-localplaywrightandshadcnservers for Codex.mcp.json: add project-localplaywrightandshadcnservers for Claude Code.claude/settings.local.json: enable project MCP servers for Claude Code.gitignore: create a minimal bootstrap ignore file when the repo is new.git: initialize a Git repository if missing and create an initial commit when possible
Guardrails
- Do not hard-delete replaced files. The script moves overwritten instruction files into
.ai-bootstrap-trash/. - Merge existing
.mcp.json,.claude/settings.local.json, and.codex/config.tomlinstead of replacing them wholesale. - Keep the package-version rule in the generated instruction file: every external package and library version must be checked on the internet before installation or update.
- Do not claim UI work is done just because code compiles. The generated instruction file already requires Playwright MCP verification for UI projects.
Resources
- Use scripts/bootstrap_project.py for deterministic project setup.
- Read references/instruction-template.md only if you need to inspect or adjust the bundled rules text.
Example Prompts
- "Create a new Codex-ready Next.js project here and set up
AGENTS.mdwith local Playwright and shadcn MCP." - "Bootstrap this repo for Claude Code with
CLAUDE.mdand project-local MCP servers." - "Standardize this existing folder for AI agents before we start building."
More from kdoronin/claude_code_skills
text-to-sql
|
15strava-api
Universal Strava API integration for fitness data management. Use when working with Strava activities, athlete profiles, segments, routes, clubs, or any fitness tracking data. Triggers on requests to get/create/update activities, analyze training stats, export routes, explore segments, or interact with Strava data programmatically.
12skill-orchestrator
This skill orchestrates programming tasks by analyzing available Claude Code skills and creating execution plans. It should be used when working on any coding task that could benefit from multiple specialized skills. The skill supports two execution modes selected by user - manual (Claude executes with explicit skill references) or delegated (tasks sent to sub-agents with skills).
6plugin-creator
Comprehensive plugin development skill for Claude Code. Analyzes business requirements and creates complete plugins including MCP servers, skills, slash commands, or combinations thereof. Supports TypeScript, Python, and any other language. Provides architecture guidance, templates, and end-to-end implementation.
4