| name | agent-setup-maintenance |
| name_zh | Agent 设置与维护 |
| description | Shared workflow for editing Langfuse''s repo-owned agent setup under |
| description_zh | 设置和维护 AI agent 的配置、环境变量和依赖项。 |
| category | dev-tools |
| tags | ["ai","database","docker","documentation","frontend"] |
| source | null |
| license | UNKNOWN |
| language | en |
| author | unknown |
| version | 0.1.0 |
| needs_review | false |
| slug | agent-setup-maintenance |
| created | 2026-06-12 |
| updated | 2026-06-12 |
| inputs | [{"name":"request","type":"string","required":true,"description":"User request or task description"}] |
| output | {"format":"markdown","description":"Generated content based on the user request"} |
When to use
Use this skill when you need guidance on agent setup maintenance.
Inputs
User request or task description.
Output
Generated content based on the user request.
Prompt
Follow the guidelines in this skill when working on related tasks.
Agent Setup Maintenance
Use this skill when changing the shared agent setup for the repository.
Start Here
Workflow
- Edit the canonical files under
.agents/, not generated provider outputs.
- Keep root
AGENTS.md and CLAUDE.md as discovery symlinks; do not turn
them back into manually maintained copies.
- Treat tool-specific directories such as
.claude/, .cursor/, .codex/,
.vscode/, and .mcp.json as generated discovery surfaces unless the tool
requires a truly tool-specific feature.
- Keep root
AGENTS.md concise. Move detailed or conditional workflows into
shared skills or package AGENTS.md files.
- Treat developer feedback as a learning loop: when a task reveals a durable
repo convention, recurring pitfall, reusable workflow, or verification
pattern, update the smallest relevant
AGENTS.md or shared skill.
- When adding or changing a shared skill, keep
SKILL.md as the entrypoint; do
not add skill-by-skill links to root AGENTS.md.
- When shared setup behavior changes materially, update
README.md and
contributor-facing docs in the same PR.
Docker / Install-Time Constraint
pnpm install runs in environments that may not contain the full repo source
tree.
- In Docker builds, Turbo's pruned install stage can run root
postinstall
before scripts/ and .agents/ are available in the image.
- Keep install-time agent setup logic robust in those pruned contexts: skip
cleanly when the required repo-owned files are not present.
Required Verification
Run after changing shared agent setup:
pnpm run agents:sync
pnpm run agents:check
Run additional verification when relevant:
pnpm run postinstall when install-time behavior changes
- targeted tests for any scripts you changed
Design Rules
- Prefer one repo-owned source of truth over duplicated provider-specific files.
- Keep shared setup tool-neutral where possible.
- Only keep provider-specific files in source control when the provider requires
a fixed discovery path or feature that cannot be expressed through the shared
setup model.
When NOT to use
Do not use this skill for tasks outside its scope.
Example
See the skill content above for practical examples.
python scripts/use-skill.py agent-setup-maintenance
python scripts/inspect-skill.py agent-setup-maintenance
python scripts/validate-skill.py agent-setup-maintenance