skill-discovery
Use this at the start of non-trivial work to quickly load the right runbooks (skills + path-scoped instructions) before making changes.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Goal
Avoid “missing context” by making skill discovery a deliberate first step.
When to use
Use this whenever the task is:
- Multi-step or multi-file
- Touching an unfamiliar area (API/server, storage, scanner, UI, smoke)
- Debugging CI/smoke failures
- Changing REST contracts
Procedure (fast, repeatable)
- Identify the domain(s)
- Rust backend: CLI, server, storage, scanner
- Frontend: Vue UI under
view/ - Smoke: end-to-end harness under
smoke/ - Docs/contracts:
docs/openapi.json,docs/help/*
- Load path-scoped rules
- If you will touch Rust:
.github/instructions/backend.instructions.md - If you will touch UI:
.github/instructions/frontend.instructions.md - If you will touch smoke tests:
.github/instructions/smoke.instructions.md
- Load the 1–3 most relevant skills
Keyword → skill mapping (pick the best match):
- “agent scripts”, “low noise”, “dot reporter”, “no ANSI” →
.github/skills/agent-friendly-commands/SKILL.md - “endpoint”, “REST”, “DTO”, “OpenAPI”, “schema” →
.github/skills/api-contract-change-end-to-end/SKILL.md - “nextest”, “Rust tests”, “integration test failing” →
.github/skills/nextest-targeted-testing/SKILL.md - “Vitest”, “UI tests”, “typecheck”, “frontend test” →
.github/skills/vitest-targeted-testing/SKILL.md - “smoke”, “Playwright”, “E2E”, “serve” →
.github/skills/smoke-suite-debugging/SKILL.md - “local dev”, “Vite”, “lotar serve”, “ports”, “SSE” →
.github/skills/local-dev-serve-troubleshooting/SKILL.md - “task tracking”, “.tasks”, “LoTaR tasks” →
.github/skills/lotar-task-tracking/SKILL.md
- Verify before you assume
- Confirm current behavior (tests/repro) before changing semantics.
- Search for existing helpers before introducing new ones.
Safety note:
-
AGENTS.mdis the canonical policy (tests required, no secrets/PII, no git operations for recovery). Skills only add extra context.
Continuous improvement
If you find yourself looking up the same thing twice (commands, env vars, gotchas), add it to the most relevant skill or create a new narrowly-scoped one. Keep changes minimal and link out to docs instead of duplicating them.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!