AGENT SKILL
repo-style-following
Follow existing repository style, commands, naming, file layout, test patterns, dependency conventions, and code shape. Use when implementing in an unfamiliar repo or module.
- License 许可
- Apache-2.0
- 最近更新
- 2026-08-14
- Stars
- ★ 19
- Forks
- 2
01 前言 Front Matter
- name
- repo-style-following
- description
- Follow existing repository style, commands, naming, file layout, test patterns, dependency conventions, and code shape. Use when implementing in an unfamiliar repo or module.
03 SKILL.md 正文
Repo Style Following
Use this skill when local conventions are unclear.
Read templates/code-style-contract.md when a concise style contract helps the
task.
Workflow
- Read active
AGENTS.mdor equivalent instructions. - Inspect nearby code for naming, file layout, imports, errors, tests, and dependency patterns.
- Inspect project files for package manager, formatter, lint, typecheck, and test commands.
- Match the repo's existing level of abstraction.
- Prefer local utilities over new packages or new generic helpers.
- If repo conventions conflict with a general best practice, follow the repo unless the conflict is unsafe; surface the conflict.
Guardrails
- Do not introduce a new style because it is personally preferred.
- Do not reformat untouched files.
- Do not change package manager or tooling conventions.
- Do not add a dependency without
safe-dependency-change.
Output
Repo Style
- instructions:
- pattern followed:
- commands:
- conflicts:
04 同仓库更多 Skills
example-skill
暂无简介
★ 19
su-status
从 docs 人读真相源与 .ccb 协调件读取当前项目、Requirement 或子任务状态。
★ 19
su-revise-breakdown
根据用户反馈重写 Requirement breakdown draft。
★ 19
su-review
审查执行回执、diff 和验证证据,决定通过、返工、replan 或升级用户。
★ 19
su-resume
从 docs 人读真相源与 .ccb 协调件恢复 paused/deferred/in-progress 主体的上下文。
★ 19
su-reconcile
AI-native 自检 docs 人读真相源、.ccb 协调件与 Console 投影漂移,并按审批结果执行修复。
★ 19