govcms-saas-project-documentation-creation

govcms-saas-project-documentation-creation is a cursor rule for Cursor from abderrahimghazali/cursor-rules. It costs 37 tokens per session (519 once invoked), scanned A, original, MIT.

A rule for generating technical documentation for GovCMS SaaS projects, which are Drupal-based government website projects delivered as a hosted service. It detects technologies and proposes documentation for the project, theme, and content-management setup.

In plain words
What is it for?
It helps document architecture, features, development and deployment, maintenance, SaaS constraints, theme regions, CSS and JavaScript, responsive design, accessibility, and customization.
Why use it?
It reduces the effort of examining a project and organizing its technical documentation. It also checks framework choices and GovCMS compatibility requirements.

Cursor rule for Cursor

Install

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.

agentmods
npx agentmods add rules/abderrahimghazali/cursor-rules/govcms-saas-project-documentation-creation
Clone the repo
git clone --depth 1 https://github.com/abderrahimghazali/cursor-rules

Made for: Cursor.

Wrote 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.

agentmods badge for govcms-saas-project-documentation-creation

README.md
[![agentmods](https://agentmods.dev/badge/rules/abderrahimghazali/cursor-rules/govcms-saas-project-documentation-creation.svg)](https://agentmods.dev/rules/abderrahimghazali/cursor-rules/govcms-saas-project-documentation-creation)
Your own site
<a href="https://agentmods.dev/rules/abderrahimghazali/cursor-rules/govcms-saas-project-documentation-creation"><img src="https://agentmods.dev/badge/rules/abderrahimghazali/cursor-rules/govcms-saas-project-documentation-creation.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.00519
Opus 5 $0.00018 $0.00260
Sonnet 5 $0.00007 $0.00104
Haiku 4.5 $0.00004 $0.00052

Measured 5d ago against content hash 06bafa4b447d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

govcms-saas-project-documentation-creation 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 5d 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.

.cursor/rules/govcms-saas-project-documentation-creation.mdc · 73 lines

What it actually says

name: govcms_documentation_generator description: Generate comprehensive documentation for GovCMS SaaS projects version: 1.0.0 filters:

  • type: file_extension pattern: "(php|yml|js|css|twig|md)$"

  • type: file_path pattern: "(themes/custom|modules/custom|templates|docs)" actions:

  • type: suggest message: |

    GovCMS SaaS Documentation Generator

    Framework Detection

    1. Scan codebase for CSS frameworks (Tailwind, Bootstrap, Foundation, etc.)
    2. Identify JS libraries (Alpine.js, Vue, React, etc.)
    3. Confirm Drupal 10+ compatibility
    4. Check for GovCMS SaaS constraints compliance

    Documentation Structure

    Generate these core documentation files:

    1. Project Documentation (project-documentation.md)

    • Project Overview
    • Platform Architecture (GovCMS SaaS)
    • Components & Features
    • Development Workflow
    • Deployment Process
    • Maintenance Guidelines
    • SaaS Constraints & Workarounds

    2. Theme Documentation (theme-documentation.md)

    • Technical Specifications
    • Theme Structure & Regions
    • CSS Framework Implementation
    • JavaScript Functionality
    • Responsive Design Approach
    • Accessibility Compliance
    • Customization Guidelines

    3. Content Management (content-management-guidelines.md)

    • Content Types & Fields
    • Media Management
    • Editorial Guidelines
    • Content Workflow
    • SEO Best Practices
    • Accessibility Requirements

    4. Testing Guidelines (testing-guidelines.md)

    • Theme Compilation Testing
    • Responsive Testing
    • Functional Testing
    • Accessibility Testing
    • Performance Testing
    • Browser Compatibility

    Output Format

    • Use Markdown with proper heading hierarchy
    • Include code examples
    • Add relevant screenshots
    • Link between documentation sections
    • Include version information and dates

    GovCMS SaaS Constraints

    • Emphasize theme-only customizations (no custom modules)
    • Focus on configuration-based solutions
    • Document admin UI customizations
    • Include Lagoon/platform-specific details
Changes

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.

  1. 5d ago First seen · 73 lines · 37 tokens per session scan A 06bafa4b447d

Subscribe to this mod's changes

govcms-saas-project-documentation-creation is a cursor rule published in the GitHub repository abderrahimghazali/cursor-rules (2 stars, last pushed 1y ago), licensed MIT. It adds 37 tokens to every session and 519 once invoked, about $0.0002 per session on Opus 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.