一键导入
getting-started-with-agent-skills
Skills for legacy code analysis, explanation, and safe refactoring - mandatory workflows and search tools
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Skills for legacy code analysis, explanation, and safe refactoring - mandatory workflows and search tools
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Transform markdown notes into engaging technical blog posts for both programmers and non-technical readers
Systematic techniques for reading and understanding unfamiliar legacy code without documentation
Map dependencies and coupling in legacy codebase to understand what breaks when you change something and identify refactoring risks
Create detailed implementation plans with bite-sized tasks for engineers with zero codebase context
Creating documentation from legacy code when none exists, focusing on what future maintainers need to know
Maintain skills wiki health - check links, naming, cross-references, and coverage
| name | Getting Started with Agent Skills |
| description | Skills for legacy code analysis, explanation, and safe refactoring - mandatory workflows and search tools |
| when_to_use | when starting any conversation |
| version | 1.0.0 |
Agent Skills specialize in:
While general development skills (TDD, debugging) are included, the emphasis is on working with code you didn't write.
Use Read tool before announcing skill usage. The session-start hook does NOT read skills for you. Announcing without calling Read = lying.
Follow mandatory workflows. Brainstorming before coding. Check for skills before ANY task.
Create TodoWrite todos for checklists. Mental tracking = steps get skipped. Every time.
1. Check skills list at session start, or run find-skills [PATTERN] to filter.
2. If relevant skill exists, YOU MUST use it:
${AGENT_SKILLS_ROOT}/skills/category/skill-name/SKILL.mdDon't rationalize:
Why: Skills document proven techniques that save time and prevent mistakes. Not using available skills means repeating solved problems and making known errors.
If a skill for your task exists, you must use it or you will fail at your task.
If a skill has a checklist, YOU MUST create TodoWrite todos for EACH item.
Don't:
Why: Checklists without TodoWrite tracking = steps get skipped. Every time. The overhead of TodoWrite is tiny compared to the cost of missing steps.
Examples: skills/testing/test-driven-development/SKILL.md, skills/debugging/systematic-debugging/SKILL.md, skills/refactoring/characterization-testing/SKILL.md
After you've read a skill with Read tool, announce you're using it:
"I've read the [Skill Name] skill and I'm using it to [what you're doing]."
Examples:
Why: Transparency helps your human partner understand your process and catch errors early. It also confirms you actually read the skill.
Every skill has the same structure:
when_to_use tells you if this skill matches your situationMany skills contain rigid rules (TDD, debugging, characterization testing). Follow them exactly. Don't adapt away the discipline.
Some skills are flexible patterns (architecture, refactoring strategies). Adapt core principles to your context.
The skill itself tells you which type it is.
Your human partner's specific instructions describe WHAT to do, not HOW.
"Add X", "Fix Y" = the goal, NOT permission to skip brainstorming, characterization testing, or systematic analysis.
Red flags: "Instruction was specific" • "Seems simple" • "Workflow is overkill"
Why: Specific instructions mean clear requirements, which is when workflows matter MOST. Skipping process on "simple" tasks is how simple tasks become complex problems.
Special emphasis in Agent Skills:
Legacy code principle: The code you're looking at is solving a problem. Understand the problem before changing the solution.
Starting any task:
Skill has checklist? TodoWrite for every item.
Finding a relevant skill = mandatory to read and use it. Not optional.
Working with legacy code? Understanding and safety come before speed.