using-agent-skills
GitHub作为Kandev本地技能的路由地图,用于发现并选择适合特定任务的Agent技能。当需要澄清意图、开始新会话或工作涉及多阶段时触发,指导用户优先使用仓库现有技能而非上游名称。
Trigger Scenarios
Install
npx skills add kdlbs/kandev --skill using-agent-skills -g -y
SKILL.md
Frontmatter
{
"name": "using-agent-skills",
"description": "Discover and choose the right Kandev agent skill for a task. Use when starting a session, when the user asks which skill applies, when work spans multiple phases, or when existing skill references need to be mapped to this repo's actual skills."
}
Using Agent Skills
Use this as the routing map for Kandev's local skills. Prefer the repo's existing skills over importing adjacent upstream names.
Skill Map
Task arrives
|
|-- Need to clarify intent first? ----------> /interview-me
|-- Create/change/fix/publish Kandev plugin? -> /create-kandev-plugin plus /fix or /tdd as needed
|-- New feature or behavior-changing fix? --> /spec-driven-development
|-- Bug regression? ------------------------> /fix -> repair spec -> fix plan/tasks -> /tdd
|-- Running/debugging Kandev locally? ------> /debug
|-- Need focused context setup? ------------> /context-engineering
|-- Code change with test coverage? --------> /tdd
|-- Browser/E2E coverage? ------------------> /e2e
|-- Seed isolated product demo data? -------> /product-demo-seeding
|-- Record landing/product media? ----------> /product-demo-seeding -> /product-video-capture (always in that order)
|-- Frontend/UI change? --------------------> /mobile-parity plus /e2e as needed
|-- High-impact security boundary/concern? -> pause for a strong-model review per /planner-orchestration
|-- Test strategy or coverage gaps? --------> /tdd or /e2e in the current conversation
|-- Add debug logs? ------------------------> /debug
|-- Add Jira/Linear-style integration? -----> /add-integration
|-- Add/roll out/promote/graduate/remove a runtime feature flag or release toggle? -> /runtime-feature-flags
|-- Validate implementation? ----------------> /tdd plus exact task-defined tests/E2E
|-- Need local QA/review/simplification? ----> only on explicit user request or PR finding
|-- Improve skills/agents/commands? --------> /harness-improvement
|-- Record decisions/spec changes? ---------> /record
|-- Public docs impact? --------------------> /docs-maintainer
|-- Commit/push/PR? ------------------------> /commit -> /push or /pr
`-- Release/versioning? --------------------> /release
When runtime-flag work also matches new behavior or validation, compose
/runtime-feature-flags with /spec-driven-development and /tdd as needed.
Use the smallest covering set and state the order.
Operating Rules
- Work in the user-started primary conversation; do not create a worker session.
- Check for an applicable local skill before starting non-trivial work.
- If multiple skills apply, use the smallest set that covers the task and state the order.
- Skills are workflows, not suggestions. Follow required verification and stop conditions.
- Surface assumptions before building on them. If requirements, specs, and code disagree, stop and name the conflict.
- Keep scope tight. Do not refactor adjacent systems or add "useful" features that are not in the request/spec.
- Verify with evidence: targeted task-defined tests and browser/E2E proof for user-facing flows. The two PR AI reviewers provide semantic review after PR creation; do not add broad local gates by default.
- Keep all repository work in the primary conversation. Use durable spec, plan, and task files as the user-controlled handoff when switching models.
- Product media always invokes
/product-demo-seedingbefore/product-video-capture, even when a prior seed or capture exists. Re-prove currentorigin/main, disposable runtime/data, and teardown; never capture a developer instance or database. - In Kandev repos, local
/commit,/push, and/prworkflows, the repository PR template, and.github/AGENTS.mdare authoritative for publication. Externalgithub:yeetis transport fallback only and must still use the local template and checklist; never replace them with a hand-composed body.
Upstream Name Mapping
When adapting external skill references, map them to Kandev skills:
test-driven-development->/tddspec-driven-development->/spec-driven-developmentplanning-and-task-breakdown->/planincremental-implementation->/spec-driven-developmentor/tdddebugging-and-error-recovery->/debugor/fixbrowser-testing-with-devtools->/playwright-cliand/e2ecode-review-and-quality->/code-reviewsecurity-auditor-> user-requested strong-model design review under/planner-orchestrationtest-engineer->/tddor/e2ecode-simplification->/simplifygit-workflow-and-versioning->/commit,/push,/prdocumentation-and-adrs->/recordharness-improvement->/harness-improvementobservability-and-instrumentation->/debugshipping-and-launch->/pr,/push,/releasefrontend-ui-engineering->/mobile-parity,/e2e, and frontend guidance inapps/web/AGENTS.mdapi-and-interface-design-> scoped backend/frontendAGENTS.mdplus/specfor public contractssource-driven-development-> use official docs or primary sources, then follow the relevant implementation skilldoubt-driven-development-> direct design challenge inside/spec-driven-development; use/code-reviewor/qaonly on explicit user request or PR/CI remediation
Do not reference upstream skills that are not installed unless you are explicitly importing or adapting them.
Version History
-
1578843
Current 2026-08-16 08:48
简化了bug回归处理流程,移除测试工程师子代理和PR优先审查等旧规则,新增运行时特性标志支持,并统一安全审计与代码审查指引。
- b4239d8 2026-07-24 17:33


