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.
git clone --depth 1 https://github.com/muzaffar640/commitpressWrote 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/rules/muzaffar640/commitpress/coding-standard)<a href="https://agentmods.dev/rules/muzaffar640/commitpress/coding-standard"><img src="https://agentmods.dev/badge/rules/muzaffar640/commitpress/coding-standard/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/rules/muzaffar640/commitpress/coding-standard"><img src="https://agentmods.dev/badge/rules/muzaffar640/commitpress/coding-standard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00438 | $0.00438 |
| Opus 5.5 | $0.00175 | $0.00175 |
| Sonnet 5.5 | $0.00088 | $0.00088 |
| Haiku 4.5 | $0.00044 | $0.00044 |
Grade A, and why
coding-standard 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 1mo 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.
What it actually says
description: globs: alwaysApply: true
Coding Standards
TypeScript Guidelines
- Use TypeScript for all components and functions
- Define proper interfaces for component props
- Avoid using
anytype - Use proper type annotations for functions and variables
Component Structure
- Server Components are the default (no 'use client' directive needed)
- Only use Client Components when interactivity or hooks are required
- Use the following component definition syntax:
// Server Component (default)
const ComponentName = ({ prop1, prop2 }: ComponentNameProps) => {
return <div>Content</div>;
};
// Client Component
'use client'
const ClientComponent = ({ prop1, prop2 }: ClientComponentProps) => {
const [state, setState] = useState(initialState);
return <div>Interactive Content</div>;
};
UI Component Library
- Use shadcn/ui for new reusable components whenever possible
- Follow shadcn/ui patterns and examples in the app/components/ui directory
- Customize shadcn components with Tailwind CSS to match the design system
- When extending shadcn components, maintain consistent API patterns
- Only create custom components when a suitable shadcn component doesn't exist
Styling with Tailwind CSS
- Use Tailwind classes for all styling
- Follow responsive design patterns (mobile-first)
- Use the project's color scheme defined in tailwind.config.ts
- Avoid inline styles
File Structure
- Use .tsx extension for React components
- Use .ts extension for utility functions and types
- Create reusable components in the components directory
- Organize related components in subdirectories
Next.js Best Practices
- Use metadata API for SEO in layout or page files
- Implement efficient data fetching in Server Components
- Use proper loading and error handling with loading.tsx and error.tsx
- Use Next.js Image component for optimized images
- Implement appropriate caching strategies
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.
- 1mo ago First seen · 69 lines · 438 tokens per session scan A 0ac1da585e8e
coding-standard is a cursor rule published in the GitHub repository muzaffar640/commitpress (7 stars, last pushed 1y ago), licensed MIT. It adds 438 tokens to every session, about $0.0018 per session on Opus 5.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-31.
Other cursor rules, from other repositories
ui-components
Cursor rule "ui-components" from FluroAsh/nextjs-mdx-portfolio, covering ui components and styling, component libraries, shadcn/ui, custom components and styling approach.
coding-guidelines
You are working on tRPC - a TypeScript-first RPC library that provides end-to-end type safety between client and server. As a TypeScript expert contributing to this library, you should.
update-ai-sdk
Update ai-sdk(ai, @ai/) to latest.
nextjs-typescript-tailwind-cursorrules-prompt-file
Cursor rules for Next.js development with TypeScript and Tailwind CSS integration.
nextjs-tailwind-typescript-apps-cursorrules-prompt
Cursor rules for Next.js development with Tailwind CSS and TypeScript integration.
qwik-tailwind-cursorrules-prompt-file
Cursor rules for Qwik development with Tailwind CSS integration.