AgentSkillsCN

dx

当您需要设计或优化工具链、代码检查工具、CI 流程、Hook 脚本,或改善仓库的人机工效时,此技能将帮助您最大化可验证性与 AI 效率。

SKILL.md
--- frontmatter
name: dx
description: Use when designing or refining tooling, linting, CI, hooks, repo ergonomics. Maximize verifiability and AI efficiency.

Developer Experience (DX)

Design and refine tooling to maximize verifiability and AI efficiency.

Outputs

  • Global: {ide-folder}/{outputFolder}/tech/dx/{timestamp}-{topic}.md
  • Per-story: {ide-folder}/{outputFolder}/task/.../dx-notes.md

Required Structure

yaml
Topic:
Timestamp: (ISO)
Status: Draft | Active
Owner: DX
SectionContent
GoalsWhat this DX change enforces
Proposed tooling/policiesLint/typecheck/test/coverage/dead-code/commit hooks/CI
Repo impactWhich packages/configs change
Quality gatesWhat fails CI, what runs pre-commit, what runs nightly
Developer workflowExact commands a dev/agent runs
Risks/trade-offs
Migration planIf introducing stricter rules incrementally
VerificationHow we know the DX setup works

Rule Requirements

Every new rule must be:

  1. Enforceable automatically - no honor system
  2. Explainable in 1-2 sentences - if can't explain, don't add
  3. Mapped to concrete benefit - verifiability, security, maintainability

Guardrails

  • Prefer minimal tool count
  • Clear failure modes
  • Run /sync-issue after writing