Skip to content

Commit 4ec65b7

Browse files
committed
refactor: update rule sets and documentation structure
- Streamline rule file organization - Update installer configuration - Refresh documentation references - Optimize file mappings in test suite
1 parent e794f6d commit 4ec65b7

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

.tests/file-maps.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ WEB_FILES=(
2525
"docker-compose-standards.mdc"
2626
"drupal-file-permissions.mdc"
2727
"generic_bash_style.mdc"
28-
"govcms-saas-project-documentation-creation.mdc"
2928
"javascript-performance.mdc"
3029
"javascript-standards.mdc"
3130
"lagoon-docker-compose-standards.mdc"
@@ -57,7 +56,6 @@ DRUPAL_FILES=(
5756
"drupal-security-misconfiguration.mdc"
5857
"drupal-ssrf.mdc"
5958
"drupal-vulnerable-components.mdc"
60-
"govcms-saas.mdc"
6159
"php-drupal-best-practices.mdc"
6260
"security-practices.mdc"
6361
)

AGENTS.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ Below are the rule bundles and their rule files. Each item links directly to the
5454
- [.cursor/rules/drupal-ssrf.mdc](.cursor/rules/drupal-ssrf.mdc)
5555
- [.cursor/rules/drupal-vulnerable-components.mdc](.cursor/rules/drupal-vulnerable-components.mdc)
5656
- [.cursor/rules/generic_bash_style.mdc](.cursor/rules/generic_bash_style.mdc)
57-
- [.cursor/rules/govcms-saas-project-documentation-creation.mdc](.cursor/rules/govcms-saas-project-documentation-creation.mdc)
58-
- [.cursor/rules/govcms-saas.mdc](.cursor/rules/govcms-saas.mdc)
5957
- [.cursor/rules/javascript-performance.mdc](.cursor/rules/javascript-performance.mdc)
6058
- [.cursor/rules/javascript-standards.mdc](.cursor/rules/javascript-standards.mdc)
6159
- [.cursor/rules/lagoon-docker-compose-standards.mdc](.cursor/rules/lagoon-docker-compose-standards.mdc)

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cat install.php | php -- --core # Test piped input locally
6262
1. **Core Rules** (7 files): Git standards, testing guidelines, README maintenance
6363
2. **Web Development Rules**:
6464
- Frontend: JavaScript, React, Vue, Tailwind, accessibility
65-
- Backend: PHP/Drupal standards, database, GovCMS
65+
- Backend: PHP/Drupal standards, database
6666
- Security: OWASP Top 10 implementations for Drupal
6767
- DevOps: Docker, Lagoon, Vortex configurations
6868
3. **Python Rules** (10 files): Security-focused rules following OWASP standards

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,6 @@ Each rule is written in `.mdc` format and structured to enforce best practices i
233233
| [`php-drupal-development-standards.mdc`](.cursor/rules/php-drupal-development-standards.mdc) | Standards for PHP and Drupal development |
234234
| [`drupal-database-standards.mdc`](.cursor/rules/drupal-database-standards.mdc) | Database schema changes, migrations, and query optimisation |
235235
| [`drupal-file-permissions.mdc`](.cursor/rules/drupal-file-permissions.mdc) | Drupal file permissions security standards |
236-
| [`govcms-saas.mdc`](.cursor/rules/govcms-saas.mdc) | Constraints and best practices for GovCMS Distribution projects |
237-
| [`govcms-saas-project-documentation-creation.mdc`](.cursor/rules/govcms-saas-project-documentation-creation.mdc) | GovCMS SaaS Documentation Generator. This rule helps generate comprehensive technical documentation for GovCMS SaaS projects, automatically detecting frameworks and dependencies, and providing structured documentation that aligns with government standards. |
238236

239237
#### Security Rules
240238
| File Name | Purpose |

install.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ function install_cursor_rules(array $options = []): bool {
159159
'drupal-ssrf.mdc',
160160
'drupal-vulnerable-components.mdc',
161161
'generic_bash_style.mdc',
162-
'govcms-saas-project-documentation-creation.mdc',
163-
'govcms-saas.mdc',
164162
'javascript-performance.mdc',
165163
'javascript-standards.mdc',
166164
'lagoon-docker-compose-standards.mdc',

0 commit comments

Comments
 (0)