Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add michaelChe956/Cadence-skills --skill project-rules-examplesgit clone --depth 1 https://github.com/michaelChe956/Cadence-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/michaelche956/cadence-skills/project-rules-examples)<a href="https://agentmods.dev/skills/michaelche956/cadence-skills/project-rules-examples"><img src="https://agentmods.dev/badge/skills/michaelche956/cadence-skills/project-rules-examples/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/michaelche956/cadence-skills/project-rules-examples"><img src="https://agentmods.dev/badge/skills/michaelche956/cadence-skills/project-rules-examples.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.02798 |
| Opus 5 | $0.00015 | $0.01399 |
| Sonnet 5 | $0.00006 | $0.00560 |
| Haiku 4.5 | $0.00003 | $0.00280 |
Grade A, and why
project-rules-examples scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
个性化规则示例
概述
创建项目个性化规则模板,包括需求文档模板、设计文档模板、代码开发规范和测试规范。默认不需要人工交互即可完成模板初始化。
参数模式
支持以下调用方式:
/project-rules-examples
/project-rules-examples no-interrupt
/project-rules-examples --no-interrupt
- 命令参数包含完整 token
no-interrupt或--no-interrupt:进入no-interrupt模式。 - 未携带上述参数:进入普通模式,完整遵循本 Skill 修改前的目标文件存在则跳过、不覆盖和条件询问逻辑。
- 两种模式互斥;不得把
no-interrupt模板合并规则应用到普通模式。
no-interrupt 通用规则
- 禁止调用
AskUserQuestion、request_user_input或等价用户提问工具。 - 禁止等待用户输入、设置交互超时或通过推荐默认值继续。
- 目标文件存在时必须按本节规则合并,不得直接跳过冲突文件。
- 合并前必须保留项目已有内容;备份、合并或验证失败时立即报错终止。
- 失败报告必须包含失败文件、失败原因、已完成文件和恢复建议。
no-interrupt 模板权威合并
project-rules-examples 的标准模板骨架、必需章节、章节顺序、AI 执行规则和强制约束是权威内容;当前项目已有事实和个性化规范作为补充保留。
| 场景 | 合并动作 |
|---|---|
| 目标文件不存在 | 创建标准模板 |
| 模板与项目存在不同章节 | 保留模板章节,并把项目额外章节按原顺序放入“项目补充” |
| 模板与项目存在同名章节 | 模板规范在前,项目独有内容去重后追加 |
| 模板占位符已有项目真实值 | 使用项目真实值补充或替换对应占位符 |
| CLAUDE.md / AGENTS.md 引用路径冲突 | 引用路径和强制约束以本 Skill 为准,其他项目内容保留 |
| 内容完全重复 | 只保留一份 |
合并必须覆盖 README.md、requirement-template.md、design-template.md、coding-standards.md、test-standards.md 以及 CLAUDE.md/AGENTS.md 引用。项目已经填写的技术栈、调用链、契约格式、异常体系、日志规范、数据访问约束和测试要求不得被模板占位符覆盖。
标题合并使用“标题级别 + 去除开头编号后的标题文本”识别同名章节。[待补充]、[YYYY-MM-DD]、[按项目填写] 以及其他方括号说明视为占位符;只有项目非占位真实内容可以替换对应占位符,不能替换模板的强制规则正文。
no-interrupt 解析失败与备份
- 合并前检查 Markdown 至少包含一个一级标题,并确认围栏代码块成对闭合。
- 无法可靠按标题拆分时,将原文件备份为
<原文件名>.cadence-backup-YYYYMMDDHHMMSS。 - 写入标准模板后,将原文件完整内容附加到“原项目补充”章节,禁止截断、删除或概括原内容。
- 合并后重新检查必需章节、引用路径和围栏代码块;验证失败时恢复备份并报错终止。
无交互默认策略
本节仅适用于未携带
no-interrupt或--no-interrupt的普通模式。
| 项 | 默认行为 |
|---|---|
| 目录创建 | 自动创建 cadence/project-rules/examples/ |
| 模板文件 | 缺失则创建,已存在则跳过不覆盖 |
| 项目事实 | 无法确认时保留模板中的待补充项,不阻塞初始化 |
| CLAUDE.md 引用 | 缺失则追加,已存在则跳过 |
| AGENTS.md 引用 | 缺失则追加,已存在则跳过 |
| 冲突处理 | 不覆盖用户已有文件,报告需人工处理项 |
人工交互策略
本节仅适用于未携带
no-interrupt或--no-interrupt的普通模式。
默认不向用户提问。只有出现以下情况才进入人工交互:
| 触发条件 | 处理方式 |
|---|---|
| 用户明确要求覆盖已有模板文件 | 询问是否覆盖具体文件;无响应则不覆盖 |
| CLAUDE.md / AGENTS.md 中存在冲突的项目规则路径 | 询问是否追加新引用或保留旧引用;无响应则保留旧引用并报告 |
| 用户要求根据真实项目事实定制模板但事实不足 | 询问一个最关键事实;无响应则保留待补充项 |
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/project-rules/CLAUDE-RULE.md 1.4 KB
- references/project-rules/examples/coding-standards.md 11 KB
- references/project-rules/examples/design-template.md 6.9 KB
- references/project-rules/examples/requirement-template.md 3.2 KB
- references/project-rules/examples/test-standards.md 13 KB
- references/project-rules/README.md 2.4 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 213 lines · 30 tokens per session scan A a2d37c5f3034
project-rules-examples is a skill published in the GitHub repository michaelChe956/Cadence-skills (11 stars, last pushed 7d ago), licensed MIT. It adds 30 tokens to every session and 2,798 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…