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/brunogama/ios-cursor-rulesWrote 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/brunogama/ios-cursor-rules/project-onboarding-rule)<a href="https://agentmods.dev/rules/brunogama/ios-cursor-rules/project-onboarding-rule"><img src="https://agentmods.dev/badge/rules/brunogama/ios-cursor-rules/project-onboarding-rule/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/brunogama/ios-cursor-rules/project-onboarding-rule"><img src="https://agentmods.dev/badge/rules/brunogama/ios-cursor-rules/project-onboarding-rule.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.01324 | $0.01324 |
| Opus 5.5 | $0.00530 | $0.00530 |
| Sonnet 5.5 | $0.00265 | $0.00265 |
| Haiku 4.5 | $0.00132 | $0.00132 |
Grade A, and why
project-onboarding-rule 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.
How it starts
The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Onboarding System
Rule for automatically analyzing existing projects and integrating them into the AI-driven development workflow.
actions:
-
type: react conditions:
- pattern: "onboard project|project onboard" action: |
Comprehensive onboarding of an existing project
I'll perform a complete project onboarding by:
-
Creating the required directory structure:
.cursor/specs/- Requirements and specifications (managed by specification_management rule).cursor/tasks/- Task tracking (managed by development_workflow_system rule).cursor/learnings/- Knowledge capture (managed by knowledge_management rule).cursor/docs/- Documentation (managed by knowledge_management rule).cursor/rules/- Cursor rule files.cursor/output/- Generated reports
-
Analyzing project structure:
- Directory structure
- File types and counts
- Lines of code statistics
-
Discovering existing documentation:
- Finding README, CONTRIBUTING, CHANGELOG files
- Cataloging documentation into
.cursor/docs/existing/ - Creating a documentation index
-
Extracting core components:
- Identifying main modules and components
- Analyzing component relationships
- Documenting component purposes
-
Creating initial specifications:
- Architecture overview specs
- Component specifications
- Feature specifications based on existing code
-
Generating knowledge base:
- Project structure learning
- Component identification learning
- Documentation assessment learning
-
Setting up task tracking:
- Initial onboarding completion task
- Task index creation
This process integrates an existing project into the AI-driven workflow without requiring changes to the original codebase.
-
type: react conditions:
- pattern: "analyze existing|existing analyze" action: |
Analyze an existing codebase without full onboarding
I'll analyze the existing codebase by:
-
Examining project overview:
- Project type detection
- Repository structure analysis
- File type distribution
-
Calculating code statistics:
- Lines of code by language
- File counts by type
- Directory structure
-
Identifying key components:
- Main modules and structure
- Component relationships
- Entry points
-
Analyzing test structure:
- Test directory organization
- Test coverage assessment
- Testing approach
-
Reviewing documentation:
- Available documentation files
- Documentation completeness
- Documentation types
-
Providing integration recommendations:
- Suggestions for specification creation (via specification_management rule)
- Test coverage improvements (via development_workflow_system rule)
- Documentation enhancements (via knowledge_management rule)
The analysis report will be saved to
.cursor/output/codebase_analysis_[timestamp].md -
type: react conditions:
- pattern: "setup rules|rules setup" action: |
Set up default rules for a project
I'll set up the AI-driven development workflow rules:
- Creating the rules directory
.cursor/rules/ - Setting up the following rule files:
development-workflow-rule.mdc- Task tracking, testing, and version controlspecification-management-rule.mdc- Specification creation and validationknowledge-management-rule.mdc- Knowledge capture and applicationlocation-rule.mdc- Rules for organizing rule filescommand-rules.mdc- AI command systemproject-onboarding-rule.mdc- Project onboardingon-load-rule.mdc- Critical development principles
- Creating required directory structure
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 · 196 lines · 1,324 tokens per session scan A e77613ff7d7c
project-onboarding-rule is a cursor rule published in the GitHub repository brunogama/ios-cursor-rules (75 stars, last pushed 1y ago), licensed MIT. It adds 1,324 tokens to every session, about $0.0053 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-30.
Other cursor rules, from other repositories
swiftui
Rules for IcySky, a SwiftUI project for a bluesky client.
202-swift-standards-detailed
A detailed set of coding standards for Swift 6.2 and Apple platforms from iOS 18 through iOS 26.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.