Skip to main content

Enterprise Rollout Guide

Plan and execute an organization-wide rollout of Manicode code security prompts. This guide covers assessment, selection, architecture, phased deployment, and success measurement.

When to Use

  • A security or engineering leader is evaluating Manicode for org-wide adoption
  • A security team wants to systematically deploy code security prompts across multiple teams and projects
  • An organization needs a structured plan for stakeholder buy-in and phased rollout
  • A team is preparing an internal proposal for adopting AI security prompts

Phase 1: Current State Assessment

Before selecting prompts, assess your organization's environment.

AI Tool Inventory

QuestionNotes
Which AI coding tools are developers using? (Copilot, Cursor, Claude Code, Windsurf, etc.)
Which LLM APIs are integrated into products? (OpenAI, Anthropic, Google, etc.)
Which AI models are approved for use?
Is there a central AI/ML platform team?

Technology Stack Inventory

QuestionNotes
Primary backend languages and frameworks
Primary frontend languages and frameworks
Mobile platforms (iOS, Android, Flutter, React Native)
Infrastructure (cloud provider, container orchestration)
Database systems
Authorization policy engines (OPA, OpenFGA, Cedar, etc.)

Phase 2: Prompt Selection

Match each team's primary framework to the appropriate Code Security prompt:

Team / ProjectLanguageFrameworkRecommended PromptModel Variants Available
Example: Backend APIPythonDjangoPython/Django code securityOpus 4.6, GPT 5.3, Gemini 3.1, Grok 4.1, Copilot

Coverage: 328 prompts across 13 categories — backend frameworks, frontend frameworks, AI security, infrastructure, web/API security, authentication, authorization, cryptography, mobile, embedded/IoT, WASM, C/C++, and code quality.

Phase 3: Integration Architecture

Choose a deployment architecture based on your organization's needs.

Commit prompt files directly to each repository:

ToolFileLocation
Claude CodeCLAUDE.mdRepository root
GitHub Copilot.github/copilot-instructions.mdRepository root
Cursor.cursor/rules/security.mdcRepository root
Windsurf.windsurfrulesRepository root
JetBrains AI.junie/guidelines.mdRepository root
Cline / Roo Code.clinerulesRepository root
Amazon Q.amazonq/rules/security.mdRepository root

Pros: Version-controlled with the code, immediate effect, no infrastructure needed, auditable.

Cons: Manual updates across repos, per-repo configuration effort.

See IDE Integrations and AI Coding Agents for detailed setup.

Option B: Central Prompt Repository

Maintain a single repository of prompts that other repos reference:

  1. Create an internal manicode-prompts repository
  2. Store selected prompts organized by category
  3. Use git submodules, a package manager, or a sync script to distribute prompts to downstream repos
  4. Updates propagate from the central repo to all consuming repos

Pros: Single source of truth, easy updates, consistent versions.

Cons: Requires sync mechanism, slight complexity in repo setup.

Option C: API-First Deployment

For programmatic integrations (CI/CD pipelines, custom tooling):

  1. Store prompts in a central location (object storage, config service, or the prompt repository)
  2. Fetch prompts at runtime via API or configuration
  3. Pass prompts as system messages in LLM API calls

See API and Programmatic Usage for code examples.

Pros: Dynamic prompt selection, runtime flexibility, works for non-IDE use cases.

Cons: Infrastructure dependency, latency for prompt fetching.

Phase 4: Phased Rollout Plan

Week 1–2: Pilot

ActivityDetails
Select 2–3 willing teamsPrefer teams with security-aware developers and active AI tool usage
Deploy code security promptsConfigure IDE files for primary repos
Collect baseline metricsRecord current security finding rates from SAST/code review

Week 3–6: Expansion

ActivityDetails
Roll out to remaining high-risk codebasesPrioritize repos with sensitive data handling
Add AI security promptsFor teams building LLM/RAG applications
Add infrastructure promptsFor teams managing Kubernetes, Terraform, CI/CD
Create internal documentationOnboarding guide, FAQ, support channel

Week 7+: Standardization

ActivityDetails
Add prompt presence to PR checklist or CIVerify prompts are configured before merge
Establish update cadenceQuarterly review and refresh of prompt selections
Track adoption metricsDashboard covering framework coverage
Run effectiveness reviewsCompare pre/post security metrics

Phase 5: Success Metrics

Adoption Metrics

MetricHow to MeasureTarget
Repos with code security prompts configuredScan for IDE config files across repos80%+ of active repos
Framework coveragePrompts deployed for all primary frameworks100% of primary frameworks
Developer awarenessInternal training/communicationAll AI-using developers

Effectiveness Metrics

MetricHow to MeasureTarget
Security findings per code reviewCompare SAST/review findings pre/post30%+ reduction
Time to remediate security issuesTrack from finding to fix25%+ reduction
Developer satisfactionQuarterly surveyNet positive

Limitations

  • Rollout timelines depend heavily on organizational size, number of repos, and team willingness. The phase durations above are guidelines, not prescriptions.
  • Prompt effectiveness varies by model. When teams use different AI models, prompt behavior may differ. See Model-Specific Guidance for details.
  • Adoption metrics require instrumentation. If you cannot scan repos for config files, manual reporting is needed initially.
  • This guide covers prompt deployment. Organizational change management (training, incentives, cultural adoption) is equally important and requires separate planning.