RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/johnpeterman72/CursorRIPER.sigma

Cursor rule

.cursor/rules/prd-system.mdc
Cursor rules

Quality

58/100

Scores the file, not the repository.

Length

617 words

16 headings · 11 code blocks

Repository

206

— · pushed 397 days ago

Last changed

3 days ago

First indexed 3 days ago.
johnpeterman72/CursorRIPER.sigma/.cursor/rules/prd-system.mdcRawGitHub
1# 📄 PRD System for CursorRIPER Σ
2# Symbol: Ρ (Rho)
3# Version: 1.0.0
4 
5## 📋 PRD Definition System
6```
7service = "Product Requirements Document System"
8symbol = "Ρ"
9driver = "Transform memory-bank → PRD-driven methodology"
10```
11 
12## 📐 PRD Components
13```
14Ρ = {
15 Ρ₁: {
16 name: "Business Objectives",
17 required: true,
18 template: "objectives_template.md",
19 owner: Β₁,
20 validation: [measurable, time_bound, aligned]
21 },
22
23 Ρ₂: {
24 name: "Functional Requirements",
25 required: true,
26 template: "requirements_template.md",
27 owner: Β₁,
28 validation: [specific, testable, prioritized]
29 },
30
31 Ρ₃: {
32 name: "Technical Constraints",
33 required: true,
34 template: "constraints_template.md",
35 owner: Β₂,
36 validation: [feasible, documented, approved]
37 },
38
39 Ρ₄: {
40 name: "User Stories",
41 required: true,
42 template: "story_template.md",
43 owner: Β₁,
44 validation: [sized, estimated, acceptance_defined]
45 },
46
47 Ρ₅: {
48 name: "Acceptance Criteria",
49 required: true,
50 template: "acceptance_template.md",
51 owner: Β₁ ∪ Β₄,
52 validation: [measurable, complete, testable]
53 },
54
55 Ρ₆: {
56 name: "Success Metrics",
57 required: true,
58 template: "metrics_template.md",
59 owner: Β₁,
60 validation: [quantifiable, trackable, relevant]
61 }
62}
63```
64 
65## 📁 PRD Structure
66```
67/prd/
68├── active/
69│ ├── current_prd.md # Ρ_active
70│ ├── metadata.json # Version, status, approvals
71│ └── components/
72│ ├── objectives.md # Ρ₁
73│ ├── requirements.md # Ρ₂
74│ ├── constraints.md # Ρ₃
75│ ├── stories/ # Ρ₄
76│ ├── acceptance/ # Ρ₅
77│ └── metrics.md # Ρ₆
78├── templates/
79│ ├── prd_master.md
80│ ├── objectives_template.md
81│ ├── requirements_template.md
82│ ├── constraints_template.md
83│ ├── story_template.md
84│ ├── acceptance_template.md
85│ └── metrics_template.md
86└── archive/
87 └── [version]/ # Historical PRDs
88```
89 
90## 🔄 Memory Bank Migration
91```
92σ_to_Ρ_migration = {
93 σ₁: { // projectbrief.md
94 migrate_to: Ρ₁,
95 transform: extract_objectives(),
96 preserve: backup_original()
97 },
98
99 σ₂: { // systemPatterns.md
100 migrate_to: Β₂_artifacts,
101 transform: convert_to_arch_docs(),
102 link: reference_in_Ρ₃
103 },
104
105 σ₃: { // techContext.md
106 migrate_to: Ρ₃,
107 transform: structure_constraints(),
108 enhance: add_validation_rules()
109 },
110
111 σ₄: { // activeContext.md
112 migrate_to: Γ_prd ∪ Γ_roles,
113 transform: separate_contexts(),
114 maintain: real_time_sync()
115 },
116
117 σ₅: { // progress.md
118 migrate_to: Κ_gates ∪ Ρ₆,
119 transform: convert_to_metrics(),
120 track: gate_completion_status()
121 },
122
123 σ₆: { // protection.md
124 maintain: no_change,
125 integrate: apply_to_PRD_sections()
126 }
127}
128```
129 
130## 🔐 PRD State Management
131```
132Ρ_state = {
133 draft: {
134 editable: true,
135 validators: [Β₁, Β₂],
136 next: in_review
137 },
138
139 in_review: {
140 editable: false,
141 reviewers: [Β₁, Β₂, Β₃],
142 next: approved ∨ draft
143 },
144
145 approved: {
146 editable: false,
147 locked: true,
148 gate: Κ₁,
149 next: in_development
150 },
151
152 in_development: {
153 editable: change_requests_only,
154 tracked: true,
155 next: completed ∨ revised
156 },
157
158 completed: {
159 editable: false,
160 archived: true,
161 reference: immutable
162 }
163}
164```
165 
166## 📝 PRD Operations
167```
168create_prd(project_name) = {
169 validate: no_active_prd() ∨ confirm_archive(),
170 initialize: {
171 id: generate_prd_id(),
172 version: "1.0.0",
173 created: timestamp(),
174 state: "draft",
175 components: init_all_Ρ()
176 },
177 structure: create_directory_structure(),
178 templates: copy_templates_to_active(),
179 return: prd_id
180}
181 
182update_prd_component(Ρᵢ, content) = {
183 check_state: Ρ_state[current].editable ? proceed : deny,
184 check_owner: Β_current ∈ Ρᵢ.owner ? proceed : warn,
185 validate: Ρᵢ.validation.all(content) ? proceed : errors,
186 update: {
187 content: content,
188 modified: timestamp(),
189 modified_by: Β_current
190 },
191 track: log_change(Ρᵢ, diff)
192}
193```
194 
195## ⚡ PRD Commands
196```
197S_prd = {
198 !prd: "open_active_prd",
199 !prdn: "create_new_prd",
200 !prda: "archive_current_prd",
201 !prds: "show_prd_status",
202 !prdv: "validate_prd_components",
203 !prdc: "check_prd_completeness",
204 !prdh: "prd_history"
205}
206```
207 
208## 🔍 PRD Validation
209```
210validate_prd() = {
211 components: Ρ.map(c => ({
212 name: c.name,
213 valid: c.validation.all(c.content),
214 errors: c.validation.failures()
215 })),
216
217 completeness: {
218 required: Ρ.filter(c => c.required),
219 complete: required.all(c => c.content.length > 0),
220 percentage: (complete.count / required.count) * 100
221 },
222
223 ready_for_approval: completeness.percentage === 100
224}
225```
226 
227## 📊 PRD Context
228```
229Γ_prd = {
230 active_prd: current_prd_id,
231 prd_state: Ρ_state[current],
232 prd_version: semantic_version,
233 last_modified: timestamp,
234 components_status: {
235 Ρ₁: status,
236 Ρ₂: status,
237 ...
238 },
239 pending_reviews: review_queue[],
240 change_requests: cr_queue[]
241}
242```
243 
244## 🔗 PRD Integration
245```
246# PRD + Gates
247prd_gate_check(Κ₁) = {
248 prd_complete: validate_prd().ready_for_approval,
249 all_reviews: reviews_completed(),
250 approvals: has_required_approvals(),
251
252 all_true ? allow_gate_passage() : show_blockers()
253}
254 
255# PRD + Modes
256prd_mode_operations = {
257 Ω₁: [read_prd, analyze_requirements],
258 Ω₂: [read_prd, suggest_improvements],
259 Ω₃: [read_prd, create_tech_spec],
260 Ω₄: [read_prd, implement_requirements],
261 Ω₅: [read_prd, verify_implementation]
262}
263```
264 
265## 📈 PRD Metrics
266```
267track_prd_metrics() = {
268 cycle_time: approved_date - created_date,
269 revision_count: version_history.length,
270 requirement_changes: diff_count(Ρ₂),
271 completion_rate: implemented / total_requirements,
272 quality_score: (bugs_found / requirements) * 100
273}
274```
275 

Sections

  • 📄 PRD System for CursorRIPER Σ
  • Symbol: Ρ (Rho)
  • Version: 1.0.0
  • 📋 PRD Definition System
  • 📐 PRD Components
  • 📁 PRD Structure
  • 🔄 Memory Bank Migration
  • 🔐 PRD State Management
  • 📝 PRD Operations
  • ⚡ PRD Commands
  • 🔍 PRD Validation
  • 📊 PRD Context
  • 🔗 PRD Integration
  • PRD + Gates
  • PRD + Modes
  • 📈 PRD Metrics

What it covers

architecturedatabaseperformancedeployment

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
johnpeterman72
Language
—
License
—
Archived
no

All configs in this repo

Also in johnpeterman72/CursorRIPER.sigma

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
johnpeterman72/CursorRIPER.sigma.cursor/rules/enterprise.mdc · 206Cursor rulesunclassifiedsecuritydeploymentdocs54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/bmad-roles.mdc · 206Cursor rulesunclassifiedsecuritydeployment54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/codeprotection.mdc · 206Cursor rulesunclassifieddo-notagent-behaviour55/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/cursorriper-sigma-mcp.mdc · 206Cursor rulesunclassifiedsetuptestapideployment+276/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-docker.mdc · 206Cursor rulesunclassifiedsecuritydeployment54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-filesystem.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-github.mdc · 206Cursor rulesunclassifiedsetupgitdeployment50/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-puppeteer.mdc · 206Cursor rulesunclassifiedtestdeployment66/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/mcp-websearch.mdc · 206Cursor rulesunclassifieddeploymentdo-not61/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/quality-gates.mdc · 206Cursor rulesunclassifieddeployment54/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma-mcp.mdc · 206Cursor rulesunclassifiedsetuptestdatabaseapi+355/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma1.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma101codeprotect.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma102.mdc · 206Cursor rulesunclassifiedperformance48/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma103.mdc · 206Cursor rulesunclassifiedsecurityperformance40/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma104.mdc · 206Cursor rulesunclassifiedsecurityperformance40/1003 days ago
johnpeterman72/CursorRIPER.sigma.cursor/rules/ripersigma105.mdc · 206Cursor rulesunclassifiedsecurityperformance40/1003 days ago
Diff against .cursor/rules/enterprise.mdc Diff against .cursor/rules/bmad-roles.mdc Diff against .cursor/rules/codeprotection.mdc Diff against .cursor/rules/cursorriper-sigma-mcp.mdc Diff against .cursor/rules/mcp-docker.mdc Diff against .cursor/rules/mcp-filesystem.mdc Diff against .cursor/rules/mcp-github.mdc Diff against .cursor/rules/mcp-puppeteer.mdc Diff against .cursor/rules/mcp-websearch.mdc Diff against .cursor/rules/quality-gates.mdc Diff against .cursor/rules/ripersigma-mcp.mdc Diff against .cursor/rules/ripersigma1.mdc Diff against .cursor/rules/ripersigma101codeprotect.mdc Diff against .cursor/rules/ripersigma102.mdc Diff against .cursor/rules/ripersigma103.mdc Diff against .cursor/rules/ripersigma104.mdc Diff against .cursor/rules/ripersigma105.mdc
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack