setup-engineering-skills
Configure AGENTS.md and docs/agents. Use when this engineering skill pack lacks repo setup.
- License 许可
- MIT
- 最近更新
- 2026-06-18
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- setup-engineering-skills
- description
- Configure AGENTS.md and docs/agents. Use when this engineering skill pack lacks repo setup.
02 资源文件 6
- 参考文档agents/openai.yaml257 B
- 参考文档domain.md2.0 KB
- 参考文档issue-tracker-github.md1.0 KB
- 参考文档issue-tracker-gitlab.md1.4 KB
- 参考文档issue-tracker-local.md838 B
- 参考文档triage-labels.md1.0 KB
03 SKILL.md 正文
Setup Engineering Skills
Scaffold the per-repo context that the engineering skills assume:
- Issue tracker - where issues live, such as GitHub, GitLab, local markdown, or another documented workflow.
- Triage labels - the concrete strings used for the five canonical triage states.
- Domain docs - where
CONTEXT.md,CONTEXT-MAP.md, and ADRs live.
This is prompt-driven setup. Explore first, present what you found, confirm with the user, then write. Do not overwrite unrelated AGENTS.md content.
Codex Interaction
Use request_user_input for each setup decision when the tool is available and the choices fit two or three options. Put the recommended option first. If the tool is unavailable, ask one concise plain-text question and wait.
Process
1. Explore
Read the current repo state instead of assuming:
git remote -vand.git/config- identify GitHub, GitLab, or another remote.- Root
AGENTS.md- check whether an## Agent skillssection already exists. - Root
CONTEXT.mdandCONTEXT-MAP.md. docs/adr/and any context-specific ADR directories.docs/agents/- detect prior setup output..scratch/- detect an existing local-markdown issue convention.
2. Present findings and ask
Summarize what is present and missing. Then walk through these decisions one at a time:
- Issue tracker. Recommend GitHub when the remote points to GitHub, GitLab when the remote points to GitLab, otherwise local markdown. If the user chooses another tracker, ask them for one paragraph describing the workflow.
- Triage label vocabulary. Confirm the five role strings:
needs-triage,needs-info,ready-for-agent,ready-for-human, andwontfix. Use defaults unless the project already has different labels or the user overrides them. - Domain docs. Confirm single-context (
CONTEXT.mdplusdocs/adr/) or multi-context (CONTEXT-MAP.mdpointing at multiple context docs).
3. Confirm and edit
Show the user a draft of:
- the
## Agent skillsblock forAGENTS.md; docs/agents/issue-tracker.md;docs/agents/triage-labels.md;docs/agents/domain.md.
Wait for approval before writing unless the user has already explicitly approved those exact choices.
4. Write
Edit root AGENTS.md. If it does not exist, ask before creating it. If ## Agent skills already exists, replace only that section.
Use this block shape:
## Agent skills
### Issue tracker
[one-line summary of where issues are tracked]. See `docs/agents/issue-tracker.md`.
### Triage labels
[one-line summary of the label vocabulary]. See `docs/agents/triage-labels.md`.
### Domain docs
[one-line summary of layout]. See `docs/agents/domain.md`.
Then write the docs/agents/ files using these templates from this skill folder:
For other trackers, write docs/agents/issue-tracker.md as concise prose from the user's description.
5. Finish
Tell the user which files changed and which skills now read from them. Mention that rerunning this setup is only needed when issue tracker, labels, or domain-doc layout changes.
04 同仓库更多 Skills
writing-great-skills
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
triage
Move issues through a state machine of triage roles — categorise, reproduce, grill if needed, and write agent-ready briefs.
to-prd
Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
to-issues
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
teach
Teach the user a new skill or concept, within this workspace.
tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.