Refined Corporate Preset
Production-ready setting that handles configure, proxy, settings, corporate. Includes structured workflows, validation checks, and reusable patterns for api.
Refined Corporate Preset
Enterprise-grade Claude Code configuration preset optimized for corporate development environments with strict governance policies.
When to Use This Setting
Apply this setting when you need to:
- Enforce corporate coding standards, naming conventions, and commit message formats across all team members
- Restrict Claude Code operations to approved tools, directories, and workflows within a corporate network
- Standardize AI-assisted development behavior across departments for compliance auditing
Consider alternatives when:
- You are working on personal or open-source projects without corporate governance requirements
- Your team needs maximum flexibility and minimal restrictions during rapid prototyping phases
Quick Start
Configuration
name: refined-corporate-preset type: setting category: api
Example Application
claude setting:apply refined-corporate-preset
Example Output
Setting applied successfully. Configuration changes:
- API routing: corporate proxy endpoint
- Permissions: corporate-restricted mode
- Logging: audit trail enabled
- Commit format: conventional commits enforced
Core Concepts
Corporate Governance Overview
| Aspect | Details |
|---|---|
| Access Control | Role-based with directory restrictions |
| Audit Trail | All operations logged with timestamps |
| Code Standards | Enforced via pre-commit hooks |
| Data Handling | Sensitive file patterns blocked |
| Network Policy | Corporate proxy routing supported |
Corporate Preset Architecture
βββββββββββββββββββββββββββββββββββββββββββββββ
β Corporate Preset β
β βββββββββββ ββββββββββββ βββββββββββββ β
β β API β β Perms β β Hooks β β
β β Routing β β Matrix β β Pipeline β β
β ββββββ¬ββββββ ββββββ¬ββββββ βββββββ¬ββββββ β
β β β β β
β ββββββ΄ββββββββββββββ΄βββββββββββββββ΄ββββββ β
β β Compliance Layer β β
β β (logging, restrictions, validation) β β
β βββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββ
Configuration
| Parameter | Type | Default | Description |
|---|---|---|---|
| corporateProxy | string | none | URL of the corporate API proxy endpoint |
| auditLogPath | string | ./logs | Directory for operation audit logs |
| allowedDirectories | array | ["."] | Whitelisted workspace directories |
| commitFormat | string | conventional | Enforced commit message format |
| sensitivePatterns | array | [".env","*.key"] | File patterns blocked from reads |
Best Practices
-
Layer Settings Hierarchically - Apply corporate presets at the organization level, then allow team-level overrides for non-security settings. This balances governance with team autonomy and prevents bottlenecks on configuration changes.
-
Audit Before Enforcement - Run the preset in monitoring-only mode for one sprint before enabling enforcement. Review the audit logs to identify legitimate workflows that would be blocked, and whitelist them before hard enforcement begins.
-
Version Your Presets - Store corporate preset configurations in your internal package registry with semantic versioning. This allows teams to pin to stable configurations and roll forward deliberately rather than receiving surprise policy changes.
-
Document Exceptions - Maintain a living document of approved exceptions to corporate restrictions. When a team needs elevated permissions for a specific workflow, record the justification and expiration date alongside the override configuration.
-
Integrate with SSO - Connect the preset's authentication layer to your corporate SSO provider. This ensures that Claude Code sessions inherit the same identity and permission boundaries as other corporate development tools.
Common Issues
-
Proxy connection timeouts - Corporate proxies may add latency. Increase the API timeout value and ensure the proxy allows WebSocket connections for streaming responses from Claude.
-
Overly restrictive permissions blocking normal workflow - Start with a permissive baseline and tighten incrementally. Use the audit log to identify which operations are most commonly needed before restricting them.
-
Commit hooks rejecting valid messages - Ensure the conventional commit regex accounts for all valid types (feat, fix, docs, style, refactor, perf, test, chore, ci, build, revert) and optional scope patterns used by your teams.
Reviews
No reviews yet. Be the first to review this template!
Similar Templates
Project Standards Config
Claude Code settings preset that enforces consistent coding standards. Configures TypeScript strict mode, ESLint rules, Prettier formatting, and naming conventions.
Bedrock Configuration Blueprint
All-in-one setting covering configure, claude, code, amazon. Includes structured workflows, validation checks, and reusable patterns for api.
Refined Custom Preset
Battle-tested setting for custom, headers, requests, specialized. Includes structured workflows, validation checks, and reusable patterns for api.