setup-agents-md
创建、初始化或更新 AGENTS.md 通用工程原则文档时使用。触发词包括“创建 AGENTS.md”、“更新 AGENTS.md”、“初始化 AGENTS.md”、“setup AGENTS.md”、“create AGENTS.md”、“update AGENTS.md”。
- License 许可
- MIT
- 所属仓库
- Yukiniro/skills
- 最近更新
- 2026-10-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- setup-agents-md
- description
- 创建、初始化或更新 AGENTS.md 通用工程原则文档时使用。触发词包括“创建 AGENTS.md”、“更新 AGENTS.md”、“初始化 AGENTS.md”、“setup AGENTS.md”、“create AGENTS.md”、“update AGENTS.md”。
02 资源文件 2
- 参考文档agents/openai.yaml236 B
- 参考文档references/data-ink-and-information-design.md5.5 KB
03 SKILL.md 正文
Setup AGENTS.md
创建或更新 AGENTS.md 的通用工程原则章节。
工作流
- 默认在用户指定的位置创建或更新
AGENTS.md;未指定时写入当前仓库根目录。 - 文件不存在时,创建
# AGENTS.md标题和下方完整的工程原则章节。 - 文件已存在时,保留原始内容。仅更新已有的工程原则章节;若不存在该章节,则在文件末尾新增
## 工程原则。 - 将中文或英文的同义工程原则章节合并为一节,并用下方规则替换该节内容。不要修改其他章节。
- 新增或更新的工程原则使用中文,保持原始内容的语言和文字不变。
工程原则
每个新增或更新的工程原则章节必须包含以下规则:
- 不保留向后兼容性。删除过时路径;不添加兼容层、回退逻辑或迁移方案。
- 选择完整满足当前需求的最简单实现;避免投机性的抽象、配置和间接层。
- 分层演进。先交付端到端可用的最小版本,再在可用产品上逐项增加能力;不要用未完成的复杂性替换可用产品。
- 保持组件模块化并清晰分离关注点。
- 成熟且维护良好的库能降低复杂度或提升可靠性时优先使用;没有明确理由不得重造常见功能。
- 写实现或新增依赖前,先检查和利用已有依赖;查阅文档和类型后再判断其能力。
- 以长期架构决策为准;不要接受只能暂时工作、注定日后替换的权宜方案。
04 同仓库更多 Skills
技能开发模板
template-skill
替换为该技能的描述及使用时机。
工作周报生成
work-weekly-report
根据每日工作日志生成结构化的每周工作总结。使用时机:用户提供每日工作日志/笔记并要求创建周报/每周总结(周报/周工作总结),或用户粘贴零散的每日记录并希望将其整理为分类汇总。触发关键词:周报、周工作总结、weekly summary、weekly report、工作日志整理、每日日志汇总。
提交记录压缩合并
squash-commits
将当前分支上的所有提交(相对于主分支)压缩为单个提交,同时保留分支名称。使用时机:用户想要压缩提交、清理分支历史、将多个提交压缩为一个,或在合并前进行整理。触发词:squash commits、压缩提交、合并提交、clean up commits、compress commits、squash branch、整理提交记录、合并为一个提交。当用户提到压缩、合并或清理分支上的提交历史时,务必使用该技能,即使他们没有使用确切的术语“squash”。
smart-commit
Automated Git commit with Conventional Commits format. Analyzes staged changes, determines commit type and scope, detects description language from commit history (defaults to English), and generates a complete commit message. Use when the user says "commit", "smart commit", "提交代码", "帮我提交", or any variation of requesting a git commit with an auto-generated message.
resume-screener
Evaluate and grade resumes against job requirements using a 10-level grading system (C, B-, B, B+, A-, A, A+, S, SS, SSS). Provides multi-dimensional scoring with evidence-based reasoning and hiring recommendations. Use when screening candidates, comparing applicants, assessing resume-job fit, or filtering resumes. Supports Chinese and English resumes in any format (PDF, DOCX, text, image).
prompt-optimizer
Transforms vague or simple user prompts into high-quality, structured, and high-performance AI instructions using systematic optimization techniques like XML tagging, few-shot examples, and Chain-of-Thought. Use this skill when you need to improve the reliability, accuracy, or formatting of an AI's output.