creating-claude-rules
Create Correct Claude Rules
Incorrect rule frontmatter can prevent project instructions from loading as intended. This skill guides valid paths syntax, glob patterns, global rules, and Cursor migrations.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "creating-claude-rules" from https://skillstore.io/skills/agentworkforce-creating-claude-rules.md and its manifest at https://skillstore.io/api/skills/agentworkforce-creating-claude-rules/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "creating-claude-rules". Create a repository-wide TypeScript import convention.
Expected outcome:
A global TypeScript conventions rule is proposed without frontmatter because it must apply across the repository. The response also recommends a descriptive filename.
Using "creating-claude-rules". Convert a Cursor rule that uses globs and alwaysApply.
Expected outcome:
Cursor-only fields are removed, scoped patterns are moved to Claude paths frontmatter, and each glob is quoted. The original rule intent remains unchanged.
Using "creating-claude-rules". Review rules for source files and tests.
Expected outcome:
The review separates source and test scopes, identifies overlapping patterns, and recommends clear filenames under organized subdirectories.
Security Audit
SafeAll 24 command detections are false positives caused by Markdown code spans and fenced examples. The URL is a static Claude documentation reference, with no automated request or data transfer. No prompt injection, secret handling, or malicious intent was found.
Risk Factors
โ๏ธ External commands (24)
๐ Network access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/agentworkforce-creating-claude-rules/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/agentworkforce-creating-claude-rules?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/agentworkforce-creating-claude-rules?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/agentworkforce-creating-claude-rules/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/agentworkforce-creating-claude-rules.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
AgentWorkforce. (2026). creating-claude-rules security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/agentworkforce-creating-claude-rules/audits/9BibTeX citation
@techreport{agentworkforce-agentworkforce-creating-claude-rules-2026,
author = {AgentWorkforce},
title = {creating-claude-rules security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/agentworkforce-creating-claude-rules/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "creating-claude-rules security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "AgentWorkforce"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/agentworkforce-creating-claude-rules/audits/9"
identifiers:
- type: other
value: "skillstore:agentworkforce-creating-claude-rules:audit:9"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Create repository conventions
Build global or scoped instructions that Claude applies to relevant project files.
Standardize team rules
Organize testing, frontend, and language conventions into maintainable rule files.
Migrate Cursor configuration
Translate Cursor rule fields and globs into supported Claude paths frontmatter.
Try These Prompts
Create a global Claude rule for [project convention]. Place it under .claude/rules and explain why paths frontmatter is unnecessary.
Create a Claude rule for [convention] that applies to [file patterns]. Quote each glob and explain the selected scope.
Convert this Cursor rule to Claude format: [rule]. Remove unsupported fields, preserve intent, quote every glob, and show the target filename.
Review these Claude rule files: [files]. Find invalid frontmatter, Cursor-only fields, unquoted globs, conflicting scope, and repository coverage gaps.
Best Practices
- Quote every glob pattern in YAML frontmatter.
- Omit paths frontmatter when a rule should apply globally.
- Use descriptive filenames and subdirectories to organize related conventions.
Avoid
- Do not use the Cursor-only globs field in Claude rules.
- Do not add alwaysApply for repository-wide Claude rules.
- Do not leave glob patterns unquoted in YAML.
Frequently Asked Questions
Where should Claude rule files be stored?
Which frontmatter field scopes a rule?
How do I create a global rule?
Can I use Cursor globs and alwaysApply fields?
Must glob patterns be quoted?
Does this skill execute commands or contact services?
Developer Details
Author
AgentWorkforceLicense
MIT
Skillstore revision
r2
Version notice
The author did not declare a version.
Repository
https://github.com/AgentWorkforce/relay/tree/main/.claude/skills/creating-claude-rules-skillRef
31bc7611b504c197d3e993aef7943461c871616f
Maintenance freshness
7/26/2026
Usage
7 downloads ยท 266 views
File structure
๐ SKILL.md