Team and Enterprise Deployment
Individual developers can configure prompts in their personal tools, but teams and enterprises need consistent, auditable, and maintainable prompt deployment. This page covers strategies for scaling prompt deployment across organizations.
Version Control as the Source of Truth
The most reliable way to ensure prompt consistency is to commit prompt configuration files to your repository. When Manicode delivers a prompt update (see Prompt Delivery), merge it into your repo and all developers automatically get the new version on their next pull.
Recommended Repository Structure
your-project/
├── .github/
│ └── copilot-instructions.md # GitHub Copilot
├── .cursor/
│ └── rules/
│ └── security.mdc # Cursor
├── .amazonq/
│ └── rules/
│ └── security.md # Amazon Q Developer
├── .junie/
│ └── guidelines.md # JetBrains AI
├── .clinerules # Cline / Roo Code
├── .windsurfrules # Windsurf
├── CLAUDE.md # Claude Code
├── AGENTS.md # OpenAI Codex
└── prompts/
├── VERSION # Manicode version metadata
└── [framework]-security.md # Source prompt files
Keeping Files in Sync
All IDE and agent configuration files should contain the same security prompt. Use a script to update them all at once:
#!/bin/bash
# scripts/sync-security-prompt.sh
SOURCE="prompts/node-security.md"
PROMPT=$(cat "$SOURCE")
echo "$PROMPT" > .github/copilot-instructions.md
echo "$PROMPT" > .windsurfrules
echo "$PROMPT" > .clinerules
echo "$PROMPT" > CLAUDE.md
echo "$PROMPT" > AGENTS.md
echo "$PROMPT" > .junie/guidelines.md
echo "$PROMPT" > .amazonq/rules/security.md
# Cursor rules need frontmatter
cat > .cursor/rules/security.mdc << EOF
---
description: Enforce secure coding practices
globs: *
alwaysApply: true
---
$PROMPT
EOF
echo "All prompt files updated from $SOURCE"
Run this script after merging a Manicode prompt delivery PR to propagate the update to all tools.
Monorepo Strategy
In monorepos with multiple services using different frameworks, scope prompts by directory:
monorepo/
├── services/
│ ├── api/ (Node.js)
│ │ ├── CLAUDE.md # Node.js security prompt
│ │ └── ...
│ ├── ml-service/ (Python)
│ │ ├── CLAUDE.md # Python security prompt
│ │ └── ...
│ └── gateway/ (Go)
│ ├── CLAUDE.md # Go security prompt
│ └── ...
├── .github/
│ └── copilot-instructions.md # General security guidelines
└── CLAUDE.md # Repo-wide defaults
Agents like Claude Code and Codex support directory-scoped instructions, so each service gets the right framework-specific prompt automatically.
Auditing Prompt Usage
Git-Based Auditing
Since prompt files are committed to version control, you get an automatic audit trail:
# See when the security prompt was last updated
git log --oneline -10 -- prompts/
# See who changed the prompt
git log --format="%h %an %s" -- .github/copilot-instructions.md
# Diff the current prompt against a known version
git diff v2026.02.01..HEAD -- prompts/node-security.md
Verifying Prompt Versions
Check the current prompt version at any time:
cat prompts/VERSION
Compare against the latest Manicode release to ensure you are up to date.
Onboarding New Team Members
When a new developer joins the team:
- They clone the repository — all prompt configuration files are included
- They open the project in their IDE — the IDE reads the relevant config file automatically
- No manual configuration required
This works because the prompt files are committed to the repo. The developer's AI tools pick them up without any additional setup.
Organization-Level Defaults
Some tools support organization-wide configuration:
| Tool | Organization setting |
|---|---|
| GitHub Copilot | Organization custom instructions in GitHub Enterprise settings |
| Cursor | Team rules via Cursor for Business |
| Claude Code | Global ~/.claude/CLAUDE.md (per-machine, not centralized) |
For tools that don't support centralized org-level configuration, rely on the committed repository files as the standardization mechanism.
Handling Multiple Security Prompts
If your organization uses multiple frameworks, manage prompts as a collection:
prompts/
├── VERSION
├── node-security.md
├── python-security.md
├── java-security.md
├── go-security.md
├── react-security.md
└── ...
Map each project to the appropriate prompt using the sync script or a configuration file:
{
"api-service": "node-security.md",
"data-pipeline": "python-security.md",
"backend": "java-security.md",
"frontend": "react-security.md"
}
Rollback
If a prompt update causes issues, roll back using Git:
# Revert the last prompt delivery merge
git revert -m 1 HEAD
# Or check out a specific known-good version
git checkout v2026.01.15 -- prompts/
See Managing Versions for more details on version management and rollback procedures.