generate-agent-entry
技能(Skill):生成代理条目
目的 (Purpose)
根据下面的“输出合约”部分在存储库根目录编写或修改AGENTS.md,以便当代理接触项目时,它具有明确的项目身份、权威来源和行为期望,并且行为一致且可预测。输出合同嵌入在此 SKILL.md 中,因此一次加载即可提供完整的规范和步骤。
核心目标(Core Objective)
首要目标:生成一个合规的 AGENTS.md 文件,该文件为 AI 代理建立项目身份、权威来源和行为期望。
成功标准(必须满足所有要求):
- ✅ AGENTS.md 存在:文件写入存储库根目录并提交给版本控制
- ✅ 存在三个核心要素:存在项目身份、权威来源和行为期望部分
- ✅ 七部分完成:开场、项目身份、权威来源、行为、发现/加载摘要、语言/沟通、参考表
- ✅ 可执行的行为:行为期望将“必须”、“应该”或“不得”与可操作的项目一起使用
- ✅ 参考表完整:包含 spec 来源、条目 Raw URL(如适用)、定义规范、使用/安装与条目索引
More from nesnilnehc/ai-cortex
review-codebase
Review given file/dir/repo for current-state code organization: module boundaries, design patterns, cross-module dependencies, tech debt, and interface stability. Scope-only atomic skill; output is a findings list.
106review-vue
Review Vue 3 code for Composition API, reactivity, components, state (Pinia), routing, and performance. Framework-only atomic skill; output is a findings list.
94review-diff
Review only git diff for impact, regression, correctness, compatibility, and side effects. Scope-only atomic skill; output is a findings list for aggregation.
91review-java
Review Java code for language and runtime conventions: concurrency, exceptions, try-with-resources, API versioning, collections and Streams, NIO, and testability. Language-only atomic skill; output is a findings list.
84review-architecture
Review code for architecture: module and layer boundaries, dependency direction, single responsibility, cyclic dependencies, interface stability, and coupling. Cognitive-only atomic skill; output is a findings list.
83review-security
Review code for security: injection, sensitive data, auth, dependencies, config, and crypto. Atomic skill; output is a findings list.
74