target-instructions-bootstrap
Create the target repository's local AI instruction scaffold during first-use bootstrap.
Skill by funky-eyes
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/funky-eyes-target-instructions-bootstrap
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/target-instructions-bootstrap
What's inside
- Skill name
target-instructions-bootstrap- Description
- Create the target repository's local AI instruction scaffold during first-use bootstrap. Use from repo-init-scan when `.github/instructions`, runtime adapters such as `AGENTS.md` / `CLAUDE.md`, or the neutral project facts scaffold are missing. Do not use to overwrite existing project-specific rules.
- License
- Apache-2.0
- Instructions
- 90 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- templates.md · references/
SKILL.md (first lines)
# Target Instructions Bootstrap
Create or repair target-local instruction entrypoints during `repo-init-scan`. The neutral project facts scaffold is not enough to pass initialization until `repo-init-scan` replaces neutral markers with bounded repository facts or bounded-scan `unknown` gaps, verifies required artifacts, and writes the root `best-copilot.md` sentinel.
Load `references/templates.md` for exact file contents and repair snippets.
## Boundary
- Write into the target repository, never into the installed plugin package or plugin cache.
- Create missing files only. Preserve existing project-specific instructions.
- If an existing file lacks a required compatible section, append the smallest compatible section instead of replacing the file.
- Do not copy this plugin repository's active state, specs, memory, or private workflow examples into the target repository.
- Keep generated target files short and runtime-neutral unless a runtime-specific adapter is explicitly requested.
- Do not generate hooks or script-based enforcement; init, native ask, closeout, and state sync gates must be instruction-text enforceable.
- Do not create `best-copilot.md` here. Only `repo-init-scan` writes the verified-init sentinel after full verification.
## Verified Init Sentinel
`repo-init-scan` writes target root `best-copilot.md` only after full init verification:
```md
---
version: "0.8.0"
---
```
## Files
Create when absent, repair only compatible missing sections when present:
- `.github/instructions/project.instructions.md`
- `.github/instructions/must.instructions.md`
- `.github/instructions/skills-index.instructions.md`
- `AGENTS.md` when Codex compatibility is requested or current runtime needs it
- `.codex/agents/*.toml` when Codex custom-agent compatibility is requested or current runtime needs target-local Codex agents
- `CLAUDE.md` when Claude Code compatibility is requested or current runtime is Claude Code
- `.claude/settings.json` when Claude Code needs a stable Senior Project Expert session entry and current-branch worktree base
## Required Local Rules
Target `.github/instructions/must.instructions.md` must cover:
- source priority and language policy
- request flow, per-request timestamp, init normalization, and packet freeze
- reliability gates: think before coding, simplicity, surgical changes, read before writing, verification evidence
- native ask and no-silent-closeout rules
- PM/specialist ask boundary
- shared `work_mode`, `task_type`, and specialist handback vocabulary
- search precision and command output budget
- memory/spec progressive disclosure
- seven-part self-evolution loop and `evolution_signal`
- first-use scaffold gate
- Spec Bundle rule for MEDIUM/LARGE work
- `STATE_SYNC`: task status changes update `tasks.md` and `memories/repo/current-workstreams.md` before continuing
- agents/dispatch and cross-review lanes
- implementation/review/verification requirements
## Repair Rules
- Never replace an existing file wholesale.
- Append missing headings from `references/templates.md` only when compatible.
- If `.claude/settings.json` already has a different `agent`, do not overwrite it silently; return `BLOCKED target_instructions_bootstrap_conflict` unless the user explicitly requested the change.
- If `.claude/settings.json` already has a different worktree policy, preserve it and report the difference.
- If safe JSON repair is not possible, return `BLOCKED target_instructions_bootstrap_conflict` and list `.claude/settings.json`.
- If a required section cannot be inserted without conflicting with project-specific rules, return `BLOCKED target_instructions_bootstrap_conflict` and list the file.
## Procedure
1. Determine target root and requested runtime compatibility from `repo-init-scan`.
2. Read only the listed target instruction/adapter files that exist.
3. Create missing files from `references/templates.md`.
4. Append compatible missing sections from the reference to existing files.
5. Verify required paths, required headings, Codex TOML adapter names when applicable, Claude import lines when applicable, and valid JSON when `.claude/settings.json` is present.
6. Return created, preserved, repaired, conflict, and missing path lists.
## Verification
- Confirm generated files exist in the target repository.
- Confirm path existence plus required sections; path existence alone is insufficient.
- Confirm existing files were not overwritten.
- Confirm `.github/instructions/must.instructions.md` contains request flow, reliability gates, native ask, memory/spec, `STATE_SYNC`, self-evolution, `evolution_signal`, agents/dispatch, implementation/verification, and mixed-language rules.
- Confirm `.github/instructions/skills-index.instructions.md` contains Claude Code skill-name guidance when relevant.
- For Claude Code, confirm `CLAUDE.md` has standalone unindented imports for `.github/instructions/project.instructions.md`, `.github/instructions/must.instructions.md`, and `.github/instructions/skills-index.instructions.md`.
- For Claude Code, confirm PM coordinator dispatch, foreground/background policy, isolated worktree closeout, scoped plugin agent names, namespaced skill commands, skill-load-is-not-execution, code intelligence fallback, TypeScript LSP fallback, provider compatibility smoke check, `AskUserQuestion`, and `STATE_SYNC` are covered.
- When a stable Claude PM entry is required, confirm `.claude/settings.json` is valid JSON and contains `"agent": "senior-project-expert"` plus `"worktree": {"baseRef": "head"}` unless a different explicit policy was preserved.
- For Codex, confirm `AGENTS.md` references `.codex/agents/*.toml`, all eight `.codex/agents/*.toml` files exist, and each file contains its expected `name = "<role>"` field plus `developer_instructions`.
- Confirm no generated file contains unresolved project-specific claims, secrets, plugin-cache paths, or active plugin-package state.
- If invoked because instructions or adapters were missing and required files still do not exist, return `BLOCKED target_instructions_bootstrap_incomplete` with missing paths.From funky-eyes/best-copilot, Apache-2.0.
More from funky-eyes/best-copilot
- 0.599score
td-java-coding-guidelines
funky-eyes
Use when writing or reviewing Java code involving Tongdun/Alibaba Java rules, exceptions, logging, SQL/MyBatis, security, middleware, concurrency, virtual…
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
core-workflow-contract
funky-eyes
Use when an agent needs the shared best-copilot contract for source priority, runtime adapters, init gates, work modes, dispatch packets, review…
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
structured-review
funky-eyes
Use when reviewing code diffs, implementation changes, agent/skill/instruction customization, targeted re-review, review feedback intake, review handoff…
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
evolution-loop
funky-eyes
Use after meaningful task closeout, repeated failure, review loops, stale triggers, or user feedback that an agent/skill/workflow should improve.
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
td-python-coding-guidelines
funky-eyes
Use when writing or reviewing Python code, fixing lint/docstring/import/naming/exception/type annotation issues, unifying team style, or migrating `.py` files…
SkillBFreshness: B★ 12Claude Code +9 - 0.596score
target-memory-bootstrap
funky-eyes
Create the target repository's local memory skeleton after repo init.
SkillBFreshness: B★ 12Claude Code +9 - 0.596score
repo-init-manual-fallback
funky-eyes
Use inside repo-init-scan after the official stage whenever scaffold verification, bounded repair, or `best-copilot.md` rewrite is still needed.
SkillBFreshness: B★ 12Claude Code +9 - 0.596score
repo-init-gate
funky-eyes
Use before repo-init-scan to cheaply decide whether a target repository already satisfies the current best-copilot init contract by reading only the root…
SkillBFreshness: B★ 12Claude Code +9 - 0.596score
repo-init-official
funky-eyes
Use inside repo-init-scan to try a target-local `init` skill, Claude `/init`, or `copilot init`, normalize official init output into…
SkillBFreshness: B★ 12Claude Code +9 - 0.596score
target-spec-bootstrap
funky-eyes
Create the target repository's local spec skeleton and reusable requirements/design/tasks templates.
SkillBFreshness: B★ 12Claude Code +9 - 0.594score
gitnexus-guide
funky-eyes
Use when the user asks about GitNexus itself — available tools, how to query the knowledge graph, MCP resources, graph schema, or workflow reference.
SkillBFreshness: B★ 12Claude Code +9 - 0.594score
root-cause-fixer-workflow
funky-eyes
Use when concrete failure evidence requires root-cause analysis, minimal patching, and regression proof as the Root Cause Fixer.
SkillBFreshness: B★ 12Claude Code +9
Signals
- Stars
- 12
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 4, 2026 (2 months ago)
- Last release
- Aug 3, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/funky-eyes/best-copilot
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from funky-eyes
- 0.599score
evolution-loop
funky-eyes
Use after meaningful task closeout, repeated failure, review loops, stale triggers, or user feedback that an agent/skill/workflow should improve.
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
structured-review
funky-eyes
Use when reviewing code diffs, implementation changes, agent/skill/instruction customization, targeted re-review, review feedback intake, review handoff…
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
core-workflow-contract
funky-eyes
Use when an agent needs the shared best-copilot contract for source priority, runtime adapters, init gates, work modes, dispatch packets, review…
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
td-python-coding-guidelines
funky-eyes
Use when writing or reviewing Python code, fixing lint/docstring/import/naming/exception/type annotation issues, unifying team style, or migrating `.py` files…
SkillBFreshness: B★ 12Claude Code +9 - 0.599score
td-java-coding-guidelines
funky-eyes
Use when writing or reviewing Java code involving Tongdun/Alibaba Java rules, exceptions, logging, SQL/MyBatis, security, middleware, concurrency, virtual…
SkillBFreshness: B★ 12Claude Code +9 - 0.596score
repo-init-official
funky-eyes
Use inside repo-init-scan to try a target-local `init` skill, Claude `/init`, or `copilot init`, normalize official init output into…
SkillBFreshness: B★ 12Claude Code +9
Cite this page
target-instructions-bootstrap skill. Agent Mart. https://agentmart.dev/skills/funky-eyes-target-instructions-bootstrap (last updated 2026-10-24)