AI-Copyright-Application-Generator: Command for Claude Code

.claude/commands/consistency-guide.md

consistency-guide is a command for Claude Code from flanliulf/AI-Copyright-Application-Generator. It costs 0 tokens per session (826 once invoked), scanned A, original, Apache-2.0.

A Chinese-language guide for keeping two system prompts consistent when they plan pages and generate interface designs. It focuses on making navigation follow the earlier page plan.

In plain words
What is it for?
Use it when creating a page plan and then generating its navigation structure, especially when the second prompt must use the first prompt’s page list.
Why use it?
It addresses mismatches such as missing pages, invented navigation groups, or menu items that do not match the planned interface. It adds checks for page sources, navigation paths, grouping, breadcrumbs, and permissions.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is flanliulf/AI-Copyright-Application-Generator's own configuration. It tells Claude Code how to work on AI-Copyright-Application-Generator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AI-Copyright-Application-Generator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to flanliulf/AI-Copyright-Application-Generator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/flanliulf/AI-Copyright-Application-Generator/main/.claude/commands/consistency-guide.md
Clone the repo
git clone --depth 1 https://github.com/flanliulf/AI-Copyright-Application-Generator

Made for: Claude Code.

Wrote 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.

agentmods badge for consistency-guide

README.md
[![agentmods](https://agentmods.dev/badge/commands/flanliulf/ai-copyright-application-generator/consistency-guide.svg)](https://agentmods.dev/commands/flanliulf/ai-copyright-application-generator/consistency-guide)
Your own site
<a href="https://agentmods.dev/commands/flanliulf/ai-copyright-application-generator/consistency-guide"><img src="https://agentmods.dev/badge/commands/flanliulf/ai-copyright-application-generator/consistency-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 826 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00826
Opus 5 $0.00000 $0.00413
Sonnet 5 $0.00000 $0.00165
Haiku 4.5 $0.00000 $0.00083

Measured 8d ago against content hash 6d7c61e053d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

consistency-guide 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 8d 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.

.claude/commands/consistency-guide.md · 74 lines

What it actually says

系统提示词一致性工作指导

问题背景

用户反馈:03系统提示词生成的界面设计方案中的导航架构配置部分,没有严格遵循02系统提示词生成的页面规划。

根本原因

  1. 变量引用不充分:03系统提示词缺乏对{{page_list}}的强制性依赖
  2. 输出结构固化:使用预设模板而非动态生成
  3. 一致性约束缺失:缺乏强制性验证机制
  4. 数据传递链断裂:两个提示词间的数据传递不够明确

优化方案

02系统提示词优化 ✅

  • 强化导航设计基础输出:标准化页面分组方案和菜单项配置
  • 添加JSON格式规范:为03系统提示词提供结构化数据
  • 明确分组逻辑:一级分组、二级分组的清晰定义

03系统提示词优化 ✅

  • 强制性依赖:添加必须基于{{page_list}}的强制要求
  • 去除预设模板:用动态生成替代固定JSON模板
  • 增加验证机制:数据来源验证清单和一致性检查
  • 严格约束:在限制部分添加强制性约束条件

正确使用流程

阶段二:页面规划(02系统提示词)

  1. 输入准备:确保{{framework_design}}、{{module_list}}、{{innovation_points}}等变量完整
  2. 重点关注:第5节"导航设计基础"必须按标准格式输出
  3. 质量验证:检查页面分组方案和标准化导航菜单项配置是否完整

阶段二:界面设计(03系统提示词)

  1. 前置验证:确认已获取完整的{{page_list}}页面规划文档
  2. 数据来源验证:完成验证清单确认
    • 已完整读取{{page_list}}中的页面分组方案
    • 已获取标准化导航菜单项配置数据
    • 已确认主要导航路径定义
    • 已理解面包屑层级规划
  3. 严格基于数据生成:禁止使用预设模板,必须基于页面规划动态生成
  4. 一致性检查:完成导航系统检查清单验证

关键检查点

导航一致性验证

  • ✅ 导航配置与{{page_list}}中的页面规划100%一致
  • ✅ {{page_list}}中的每个页面都在导航中有对应入口
  • ✅ 导航分组严格遵循页面规划中的分组方案
  • ✅ AI功能页面在导航中有特殊标识
  • ✅ 导航权限控制与页面权限设置一致

常见错误避免

❌ 错误做法

  • 在03系统提示词中使用固定的导航模板
  • 忽略{{page_list}}中的具体页面信息
  • 自行创建不在页面规划中的导航分组
  • 导航菜单项与实际页面不匹配

✅ 正确做法

  • 严格基于{{page_list}}的内容生成导航配置
  • 每个导航菜单项都对应实际页面
  • 遵循页面规划中的分组逻辑
  • 完成所有验证检查清单

优化效果

通过以上优化,确保:

  1. 02→03系统提示词:数据传递完整准确
  2. 导航架构一致性:界面设计与页面规划完全一致
  3. 质量保证:多层验证机制确保输出质量
  4. 用户体验:生成的导航系统与页面规划完美匹配
Changes

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.

  1. 8d ago First seen · 74 lines · 0 tokens per session scan A 6d7c61e053d8

Subscribe to this mod's changes

consistency-guide is a command published in the GitHub repository flanliulf/AI-Copyright-Application-Generator (91 stars, last pushed 1y ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 826 tokens. 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.