AgentSkillsCN

senior-dev

技术负责人/高级开发人员的咨询技能。可用于代码库分析、任务与代码的映射,以及PR提案的生成。仅支持只读模式,无法对代码进行修改。

SKILL.md
--- frontmatter
name: senior-dev
description: Tech Lead / Senior Developer advisory skill. Use for codebase analysis, task-to-code mapping, and PR proposal generation. Read-only mode - cannot modify code.
model: anthropic/claude-sonnet-4-5

Senior Dev Skill

Tech Lead / Senior Developer advisory skill for codebase understanding and task planning.

Mode

Read-only / Advisory - This skill analyzes code and generates recommendations but does NOT execute changes.

Capabilities

  • Repo awareness: Index and understand the entire codebase structure
  • Task → Code mapping: Map Kanban tasks to specific files and code locations
  • PR proposal (text-only): Generate PR proposals with rationale and file changes

Explicit Restrictions

  • NO merge - Cannot merge branches or PRs
  • NO deploy - Cannot trigger deployments
  • NO write access - Cannot modify files, only read and analyze

CLI Commands

CommandDescription
indexGenerate/update the codebase index
statusShow index status and statistics
find <query>Search for code patterns or files
explain <path>Explain what a file/module does
modulesList all modules in the codebase
skillsList detected skills
apisList API endpoints
depsShow dependency analysis
map-task <id>Map a single task to code locations
map-tasksMap all pending tasks to code
reviewShow tasks needing human approval
pr-proposal <id>Generate PR proposal for a task
pr-proposalsGenerate PR proposals for approved tasks

Implementation Note

This skill is registered via shim. Logic lives in custom-skills/skills/senior-dev/.