- Home
- Skills
- Prompt & Skill Engineering
- AI Coding Guardrails:Ultimate .curcorrules, Claude generator
Works with the AI Agents you already use
AI Coding Guardrails:Ultimate .curcorrules, Claude generator
Generate evidence-based coding instructions and scoped rules for Cursor and Claude Code based on your repository.
$8
AI Coding Guardrails:Ultimate .curcorrules, Claude generator
Example session with this skill installed
Audit my repo and generate a CLAUDE.md file and a Cursor rule for my TypeScript React components in src/components.
- Read your context and instructions
- Compiled the ai coding guardrails
I have inspected the repository. I found a Vite-based React setup using pnpm and vitest. I am generating CLAUDE.md for general project context and a scoped Cursor rule for your components.
AI Guardrails Generated
# CLAUDE.md
## Project Overview
- Tech Stack: React, TypeScript, Vite, Tailwind CSS
- Package Manager: pnpm
## Build & Test Commands
- Build: `pnpm build`
- Dev: `pnpm dev`
- Test: `pnpm test`
- Lint: `pnpm lint`
## Coding Conventions
- Use functional components with TypeScript interfaces for props
- Follow the atomic design pattern in `src/components`
- Use Tailwind for styling; avoid CSS modules unless specified
---
description: Rules for React components in src/components
globs: src/components/**/*.tsx
alwaysApply: false
---
# React Component Standards
## Patterns
- Use `interface Props` for component properties.
- Export components as named exports.
- Place associated types in the same file as the component.
## Verification
- Run `pnpm test <file>` after modifying component logic.
- Run `pnpm lint` to verify styling and type constraints.
Next steps
- Review the generated
CLAUDE.mdin the project root. - Move the
.mdccontent into.cursor/rules/react-components.mdc. - Run
pnpm testto ensure the listed test commands are fully operational.
Connects securely to your tools. The creator never sees your data.
About this skill
Writing custom instructions for AI coding assistants by hand is tedious and prone to error. This skill inspects your actual repository structure, scripts, and conventions to generate precise, evidence-based guardrails for Cursor and Claude Code.
What it does
- Evidence-based auditing reads your package manifests, README, and source files to extract real project conventions.
- Multi-target generation creates
.cursor/rules/*.mdcfiles for modern Cursor andCLAUDE.mdfor Claude Code. - Legacy migration handles the conversion from root
.cursorrulesto scoped.mdcrules with proper YAML frontmatter. - Context optimization structures rules using globs and descriptions to ensure the LLM only sees instructions relevant to the current file.
- Command verification validates every suggested terminal command against your actual
scriptsor binaries before inclusion.
How it works
- Repository Inspection starts by scanning your build configs, test suites, and project architecture.
- Drafting creates scoped instruction files based on the verified tech stack and directory patterns.
- Refinement merges new rules with existing ones, preserving your manual edits while fixing contradictions.
- Validation checks YAML frontmatter, file globs, and cross-references for syntax and logic errors.
Frameworks & tools
Works with any repository architecture. Specifically optimized for Cursor (.mdc, .cursorrules) and Claude Code (CLAUDE.md, .claude/rules/).
Why this beats prompting it yourself
Generic prompts produce boilerplate "best practices" that often conflict with your actual build scripts or file paths. This skill generates instructions grounded in your specific codebase, reducing LLM hallucinations and ensuring the agent uses your preferred package manager and test runners correctly.
Use cases
- Scaffold a new
CLAUDE.mdand.cursor/rules/directory for a fresh project. - Migrate a bloated legacy
.cursorrulesfile into organized, scoped.mdcrules. - Audit existing instructions to remove broken links or commands that no longer exist in the repo.
- Standardize AI coding conventions across a monorepo with specific directory-level rules.
Known limitations
Does not create automated hooks, CI/CD scripts, or tool permissions. Instructions are context for the model, not hard technical enforcement or security boundaries.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.
Instructions provide context, not technical enforcement. Cannot create automated scripts or modify tool permissions. Requires read access to project manifests and source files.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 22 days ago