AGENT SKILL

setup-ae-harness

Configure an approved target's agent workflows, issue tracking, triage labels, and glossary layout without replacing its architecture or domain model.

License 许可
MIT
最近更新
2026-10-17
Stars
★ 1
Forks
0

01 前言 Front Matter

name
setup-ae-harness
description
Configure an approved target's agent workflows, issue tracking, triage labels, and glossary layout without replacing its architecture or domain model.
disable-model-invocation
true

02 资源文件 8

03 SKILL.md 正文

Set up the agent workflows

This is a conversation-driven setup, adapted from setup-matt-pocock-skills. Explore the target, resolve choices, show the draft, then write approved changes. Do not copy this template's tracker configuration or invent product vocabulary.

Explore

Read the target's instructions, scoped rules, verification policy, Git remotes, and existing docs/agents/ files. Check for GLOSSARY.md, GLOSSARY-MAP.md, system-wide and context-scoped ADRs, and existing vocabulary documents that may need an approved migration.

Identify installed skills and agents, the configured issue tracker, and whether triage is available. Look for genuinely separate domain contexts; multiple application variants or module folders alone do not establish the layout. Preserve existing configuration unless the user requests a reset.

Resolve the setup choices

Present findings and handle unresolved choices one at a time, with a recommended answer first. Skip questions already answered by existing configuration or the user's request.

  • Keep the existing issue tracker by default. For an unconfigured target, propose a tracker suited to its remote or ask how the user tracks work. Beads is optional. Use templates/docs-agents/issue-tracker.md only for an approved Beads workflow; adapt other trackers to their actual commands. Report missing prerequisites; installing a CLI or initializing a store needs separate approval.
  • Configure triage labels only when triage is installed. Offer the five default roles from templates/docs-agents/triage-labels.md, or preserve existing mappings. Creating labels in a remote tracker requires approval.
  • Default to a single-context layout: root GLOSSARY.md and docs/adr/. This selects conventions, not permission to create empty files. Offer a root GLOSSARY-MAP.md with per-context glossaries only when distinct contexts exist, then confirm the layout.

Show the draft

Show proposed instruction changes and docs/agents/ content before writing. Confirm which files the user wants installed or reset, and let them revise the draft. A prior approval covering those exact changes is sufficient.

Keep glossary vocabulary separate from structural descriptions, specifications, and ADRs. Preserve the target's documentation and comment policies rather than introducing this profile's PHP rules into unrelated stacks.

Write approved changes

Merge templates/AGENTS.md into the target's supported instruction file. Update sections in place; preserve surrounding edits and avoid duplicate blocks. Do not mirror instructions into unsupported client files. Preserve target architecture, permissions, and verification rules. Installation does not authorize dependencies, tracking initialization, or CI.

Adapt templates/docs-agents/ to capabilities actually available in the target. Include triage pointers only when configured. Keep registry defaults limited to installed skills and agents; preserve stack-specific rules and context-scoped glossary paths. Never install a pointer to a missing capability.

Use templates/GLOSSARY.md for the glossary's shape: a domain title, a short description, and a Language section with named definitions. Record explicitly rejected synonyms under _Avoid_; omit the line when none are established. Preserve existing entries and migrate existing vocabulary documents only with approval. Create a missing glossary lazily when the first term is resolved within an authorized documentation task. Replace placeholders before writing; do not install an empty glossary, map, or ADR directory merely to satisfy setup.

Keep implementation details, specifications, plans, and decisions out of glossaries. Record approved decisions in ADRs only when they need a durable record. Add or change other durable documents only when requested or approved.

Keep retrieved API documentation in the shared machine-local cache by default. Install repository documentation slices or their directories only with approval. Adapt templates/docs-agents/docs-retrieval.md to the target's actual documentation tools.

Finish

Check changed pointers and registry defaults resolve. Report changed files, preserved domain content, and deferred prerequisites. Explain which installed workflows consume the configuration and that the user can edit docs/agents/ directly. Documentation-only setup does not require dependency installation or application verification unless the user requests it.

04 同仓库更多 Skills