bootstrap-processor-project
Initialize or safely upgrade a processor project's root AGENTS.md from a maintained baseline. Use when starting a processor project, adding project-level Agent collaboration rules, or comparing an exi
SKILL.mdskills/bootstrap-processor-project/SKILL.md
GitHubBootstrap Processor Project
Create one human-editable, project-owned AGENTS.md at the processor project root. Preserve existing project authority and keep every other project file unchanged.
Baseline
Read assets/AGENTS.md completely before drafting or comparing a project file. Treat it as a maintained output template. It becomes project authority only after the user accepts it or it is written into a project that lacks AGENTS.md under an explicit bootstrap request.
Keep this maintained baseline within 4096 UTF-8 bytes. It owns only project authority, authorization, path mapping, verified tool entrypoints, and concise routing to task Skills. Detailed design gates, hardware rules, verification checklists, and source-summary requirements belong to the corresponding Skills and their references. Do not copy them or personal conversational style rules into the generic baseline. Project-owned files may grow to record evidenced local constraints; the package budget is not a limit on user projects.
On Windows PowerShell, read UTF-8 project documents with Get-Content -Raw -Encoding utf8 -LiteralPath <path>. Never depend on the Windows PowerShell 5.1 default file encoding. Apply this rule before inspecting an existing AGENTS.md and throughout the bootstrap task.
Boundary
- This skill may create or revise only the target project's root
AGENTS.md. - Do not create Architecture, Design, Source, Verification, runtime, configuration, or placeholder files.
- Do not inspect, install, configure, repair, or validate the development environment. Environment and toolchain responsibilities belong to deterministic scripts outside this skill.
- Do not run builds, tests, simulators, synthesis tools, package managers, or environment setup commands.
- Do not modify nested
AGENTS.mdfiles unless the user explicitly names one as the target. - Do not add machine-specific absolute paths, usernames, local tool locations, project-specific processor facts, or inferred architecture decisions.
- After creation, the user project owns its
AGENTS.md. Never synchronize or overwrite it from a later package version automatically.
Resolve the target
- Use the project root explicitly named by the user.
- When no path is named, use the current Git worktree root if it is unambiguous and within the user's stated scope.
- If multiple repositories or possible roots remain, ask the user to identify the target before writing.
- Read all applicable existing
AGENTS.mdinstructions before examining or changing the target.
Missing AGENTS.md
- Inspect the repository layout and tracked project documentation read-only.
- Copy the baseline to
<project-root>/AGENTS.md. - Adapt only facts directly supported by the repository or an explicit user decision:
- project title;
- Architecture, Design, Source, Verification, and Runtime path mapping;
- declared build, test, simulation, synthesis, and static-check script entrypoints.
- Retain the baseline authority, authorization, evidence, and project-ownership boundaries. Add only evidenced local constraints within the bootstrap request.
- Use the baseline mapping when no contrary project evidence exists: documentation under
doc/, source undersrc/, and runtime data under.runtime/. This matches the new-project default oforganize-processor-docs; creating this file does not create those directories. Preserve an existing project's documented mapping and adapt task references to it. Do not invent commands or paths. - Write no other file.
An explicit request to initialize or bootstrap the named project authorizes creating a missing root AGENTS.md. It does not authorize any other project or environment change.
Existing AGENTS.md
- Read the existing file and treat its current project rules as authoritative.
- Do not replace it with the baseline.
- Compare by responsibility: project authority, authorization, path mapping, verified tool entrypoints, local constraints, and task-Skill routing. Identify copied methodology as a simplification proposal, keeping the existing project file unchanged until authorized.
- Preserve every existing rule unless the user explicitly approves its removal or replacement.
- Report proposed additions, conflicts, and obsolete project-specific rules as an incremental change set.
- Apply the change set only after the user explicitly authorizes the revision.
Acceptance
Before completing, verify:
- At most one target file changed,
<project-root>/AGENTS.md. - A pre-existing file was not overwritten or reduced without explicit authorization.
- The file contains no unresolved scaffold markers, guessed commands, or machine-specific paths.
- The authority rules distinguish explicit user decisions, current Git authorities, implementation evidence, and external references.
- The file retains authorization, evidence, and no-auto-overwrite constraints. New-project mappings compose with the documentation Skill; existing mappings remain intact unless migration was authorized.
- No environment command or unrelated project action ran.
Report the target path, whether the operation created or revised the file, the evidence-backed adaptations, validation performed, and unresolved user choices.