بنقرة واحدة
agent-doc-init
Initialize baseline agent-docs files safely for new repositories using dry-run-first workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Initialize baseline agent-docs files safely for new repositories using dry-run-first workflow.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Resume and execute implementation work from a plan-tracking GitHub issue that carries issue-hosted source, plan, and execution-state snapshots, preserving progress on the issue when local docs/plans files may be cleaned up.
Use when the user wants to open or continue a GitHub issue as the durable timeline for a discovered problem, investigation, blocker, implementation handoff, or unresolved follow-up loop.
Finalize and close plan-tracking GitHub issues after issue-backed execution is complete and the user or project policy has approved closure.
Open or preview a provider-aware GitHub or GitLab tracking issue for a docs/plans plan bundle, bootstrapping the source doc and plan first when the user has a converged feature discussion but no plan file yet.
Deliver a dispatch-ready plan by sprint: split plan tasks into PR lanes, dispatch subagent work, enforce acceptance gates, and advance through final integration without main-agent implementation.
Close out an existing plan-issue runtime where main-agent owns orchestration and review only, subagents own implementation task lanes, and close gates require approval plus merged PRs.
| name | agent-doc-init |
| description | Initialize baseline agent-docs files safely for new repositories using dry-run-first workflow. |
Initialize missing baseline policy documents with a non-destructive default.
Prereqs:
agent-docs available on PATH.bash and python3 available on PATH.--apply is used.Inputs:
$AGENT_HOME/skills/tools/agent-docs/agent-doc-init/scripts/agent_doc_init.sh.--dry-run (default mode)--apply (write mode)--force (overwrite baseline docs; requires --apply)--target all|home|project (default: all)--project-path <path>--agent-home <path>--project-required <context:path[:notes]> (repeatable)Outputs:
scaffold-baseline --missing-only by default).AGENTS.md, DEVELOPMENT.md) using detected repo context (CI workflows, Formula files, git
remote).agent-docs add.Exit codes:
0: success (including no-op)1: runtime/dependency failure2: usage/safety contract violationFailure modes:
agent-docs is missing from PATH.--project-required format or unsupported context.--force is provided without --apply.agent-docs reports config/schema/runtime failures.$AGENT_HOME/skills/tools/agent-docs/agent-doc-init/scripts/agent_doc_init.shagent-docs baseline --check) and capture missing counts.scaffold-baseline:
--missing-only--force (only when explicitly requested)agent-docs add for each --project-required.doc_hydration + template_guard).--apply is required for writes).--force is explicitly provided.Preview only:
$AGENT_HOME/skills/tools/agent-docs/agent-doc-init/scripts/agent_doc_init.sh \
--dry-run \
--project-path /path/to/repo
Apply missing baseline docs:
$AGENT_HOME/skills/tools/agent-docs/agent-doc-init/scripts/agent_doc_init.sh \
--apply \
--project-path /path/to/repo
Apply and add one project extension required doc:
$AGENT_HOME/skills/tools/agent-docs/agent-doc-init/scripts/agent_doc_init.sh \
--apply \
--project-path /path/to/repo \
--project-required "project-dev:BINARY_DEPENDENCIES.md:External runtime tools"