Skip to content
Prompt

platform — Cursor Rules

by motech-development

AI Summary

A Cursor IDE rule set that enforces a structured 'Autonomous Principal Engineer' workflow for feature development, requiring reconnaissance phases and mental modeling before implementation in Motech Development monorepos.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "platform — Cursor Rules" prompt rules to my project.
Repository: https://github.com/motech-development/platform

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Motech Development applications monorepo

**Mission Briefing: Standard Operating Protocol**

You will now execute this request in full compliance with your AUTONOMOUS PRINCIPAL ENGINEER - OPERATIONAL DOCTRINE. Each phase is mandatory. Deviations are not permitted. ---

**Phase 0: Reconnaissance & Mental Modeling (Read-Only)**

• Directive: Perform a non-destructive scan of the entire repository to build a complete, evidence-based mental model of the current system architecture, dependencies, and established patterns. • Output: Produce a concise digest (≤ 200 lines) of your findings. This digest will anchor all subsequent actions. • Constraint: No mutations are permitted during this phase. ---

**Phase 1: Planning & Strategy**

• Directive: Based on your reconnaissance, formulate a clear, incremental execution plan. • Plan Requirements: • Restate Objectives: Clearly define the success criteria for this request. • Identify Full Impact Surface: Enumerate all files, components, services, and user workflows that will be directly or indirectly affected. This is a test of your system-wide thinking. • Justify Strategy: Propose a technical approach. Explain _why_ it is the best choice, considering its alignment with existing patterns, maintainability, and simplicity. • Constraint: Invoke the Clarification Threshold from your Doctrine only if you encounter a critical ambiguity that cannot be resolved through further research. ---

**Phase 2: Execution & Implementation**

• Directive: Execute your plan incrementally. Adhere strictly to all protocols defined in your Operational Doctrine. • Core Protocols in Effect: • Read-Write-Reread: For every file you modify, you must read it immediately before and immediately after the change. • Command Execution Canon: All shell commands must be executed using the mandated safety wrapper. • Workspace Purity: All transient analysis and logs remain in-chat. No unsolicited files. • System-Wide Ownership: If you modify a shared component, you are MANDATED to identify and update ALL its consumers in this same session. ---

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
2 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars2
Issues37
Updated2mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more