Skip to content
Back to skills

Create Rule

ASecurity

创建持久化项目规则。写 AGENTS.md 等项目级长期指导。

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 16, 2026
ai-agentsdocumentation

Works with

  • cursor

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 16, 2026

npx -y skills add 0mlkrizzz655335v/claude-skills-zh --skill create-rule --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Rule?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Rule
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/0mlkrizzz655335v-create-rule/badge)](https://www.skillsdirectory.com/skills/0mlkrizzz655335v-create-rule)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-rule
description: "创建持久化项目规则。写 AGENTS.md 等项目级长期指导。"
---


# Create Persistent Guidance

Create or update persistent instructions in the format the user's actual agent or editor reads. Honor an explicitly named file such as `AGENTS.md` or an existing `.cursor/rules/*.mdc` rule; do not silently switch formats.

For Codex project guidance, inspect applicable `AGENTS.md` files and use the appropriate repository or nested directory scope. For personal guidance, resolve the active Codex configuration root and instruction mechanism from the current runtime/documentation. Do not create a user-level policy from an ordinary one-off task.

For an editor that supports `.cursor/rules/*.mdc`, read [rule format](references/mdc-rules.md). Use that schema only for the matching runtime. Existing files and authoritative product documentation determine discovery and precedence.

Infer purpose, scope, and file patterns from the request and repository. Ask only when a meaningful ambiguity remains. Preserve unrelated instructions, user-provided exact wording, and supported metadata. Keep the rule focused on useful project facts and decisions; do not add generic workflow, mandatory examples, or arbitrary line limits.

After writing, verify syntax where applicable, intended directory scope, and the content diff. Distinguish a saved rule from a confirmed runtime reload.

Files in this skill

  • SKILL.md1.4 KB
  • references/mdc-rules.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.