2025-06-24 21:24:14 +02:00
|
|
|
|
# Universal Constants & Shared Values
|
|
|
|
|
|
# Single source of truth for all legends, symbols, paths, and common constants
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
|
## Universal_Legend
|
2025-06-24 12:58:12 +02:00
|
|
|
|
| Symbol | Meaning | | Abbrev | Meaning |
|
|
|
|
|
|
|--------|---------|---|--------|---------|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
| → | leads to | | cfg | configuration |
|
|
|
|
|
|
| & | and/with | | impl | implementation |
|
|
|
|
|
|
| w/ | with | | perf | performance |
|
|
|
|
|
|
| @ | at/located | | ops | operations |
|
|
|
|
|
|
| > | greater than | | val | validation |
|
|
|
|
|
|
| ∀ | for all/every | | req | requirements |
|
|
|
|
|
|
| ∃ | exists/there is | | deps | dependencies |
|
|
|
|
|
|
| ∴ | therefore | | env | environment |
|
|
|
|
|
|
| ∵ | because | | db | database |
|
|
|
|
|
|
| ≡ | equivalent | | api | interface |
|
|
|
|
|
|
| ≈ | approximately | | docs | documentation |
|
|
|
|
|
|
| 📁 | directory/path | | std | standard |
|
|
|
|
|
|
| 🔢 | number/count | | def | default |
|
|
|
|
|
|
| 📝 | text/string | | ctx | context |
|
|
|
|
|
|
| ⚙ | setting/config | | err | error |
|
|
|
|
|
|
| 🎛 | control/flags | | exec | execution |
|
|
|
|
|
|
| 🔧 | configuration | | qual | quality |
|
|
|
|
|
|
| 📋 | group/category | | rec | recovery |
|
|
|
|
|
|
| 🚨 | critical/urgent | | sev | severity |
|
|
|
|
|
|
| ⚠ | warning/caution | | resp | response |
|
|
|
|
|
|
| 🔄 | retry/recovery | | esc | escalation |
|
|
|
|
|
|
| ✅ | success/fixed | | tok | token |
|
|
|
|
|
|
| ❌ | failure/error | | opt | optimization |
|
|
|
|
|
|
| ℹ | information | | UX | user experience |
|
|
|
|
|
|
| ⚡ | fast/quick | | UI | user interface |
|
|
|
|
|
|
| 🐌 | slow/delayed | | C | critical |
|
|
|
|
|
|
| ✨ | complete/done | | H | high |
|
|
|
|
|
|
| 📖 | read operation | | M | medium |
|
|
|
|
|
|
| ✏ | edit operation | | L | low |
|
|
|
|
|
|
| 🗑 | delete operation | | |
|
|
|
|
|
|
|
|
|
|
|
|
## Universal Symbols & Process Flow
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
Process_Flow:
|
|
|
|
|
|
Leads_To: "→"
|
|
|
|
|
|
Combine: "&"
|
|
|
|
|
|
With: "w/"
|
|
|
|
|
|
At_Location: "@"
|
|
|
|
|
|
Greater_Than: ">"
|
|
|
|
|
|
For_All: "∀"
|
|
|
|
|
|
Exists: "∃"
|
|
|
|
|
|
Therefore: "∴"
|
|
|
|
|
|
Because: "∵"
|
|
|
|
|
|
Equivalent: "≡"
|
|
|
|
|
|
Approximately: "≈"
|
|
|
|
|
|
|
|
|
|
|
|
Status_Indicators:
|
|
|
|
|
|
Success: "✅"
|
|
|
|
|
|
Failure: "❌"
|
|
|
|
|
|
Warning: "⚠"
|
|
|
|
|
|
Information: "ℹ"
|
|
|
|
|
|
Critical: "🚨"
|
|
|
|
|
|
Fast: "⚡"
|
|
|
|
|
|
Slow: "🐌"
|
|
|
|
|
|
Progress: "🔄"
|
|
|
|
|
|
Complete: "✨"
|
|
|
|
|
|
|
|
|
|
|
|
File_Operations:
|
|
|
|
|
|
Read: "📖"
|
|
|
|
|
|
Write: "📝"
|
|
|
|
|
|
Edit: "✏"
|
|
|
|
|
|
Delete: "🗑"
|
|
|
|
|
|
Copy: "📋"
|
|
|
|
|
|
Move: "➡"
|
|
|
|
|
|
Create: "➕"
|
|
|
|
|
|
Directory: "📁"
|
|
|
|
|
|
|
|
|
|
|
|
Control_Elements:
|
|
|
|
|
|
Controls: "🎛"
|
|
|
|
|
|
Configuration: "🔧"
|
|
|
|
|
|
Settings: "⚙"
|
|
|
|
|
|
Group: "📋"
|
|
|
|
|
|
Count: "🔢"
|
|
|
|
|
|
Text: "📝"
|
|
|
|
|
|
```
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
## Standard Paths & Directories
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
Documentation_Paths:
|
|
|
|
|
|
Claude_Docs: ".claudedocs/"
|
|
|
|
|
|
Reports: ".claudedocs/reports/"
|
|
|
|
|
|
Metrics: ".claudedocs/metrics/"
|
|
|
|
|
|
Summaries: ".claudedocs/summaries/"
|
|
|
|
|
|
Checkpoints: ".claudedocs/checkpoints/"
|
|
|
|
|
|
Tasks: ".claudedocs/tasks/"
|
|
|
|
|
|
Task_Pending: ".claudedocs/tasks/pending/"
|
|
|
|
|
|
Task_In_Progress: ".claudedocs/tasks/in-progress/"
|
|
|
|
|
|
Task_Completed: ".claudedocs/tasks/completed/"
|
|
|
|
|
|
Task_Cancelled: ".claudedocs/tasks/cancelled/"
|
|
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Project_Documentation:
|
2025-06-24 12:58:12 +02:00
|
|
|
|
Documentation: "docs/"
|
|
|
|
|
|
API_Docs: "docs/api/"
|
|
|
|
|
|
User_Docs: "docs/user/"
|
|
|
|
|
|
Developer_Docs: "docs/dev/"
|
|
|
|
|
|
|
|
|
|
|
|
Build_Artifacts:
|
|
|
|
|
|
Build_Dir: "build/"
|
|
|
|
|
|
Dist_Dir: "dist/"
|
|
|
|
|
|
Output_Dir: "out/"
|
|
|
|
|
|
Next_Dir: ".next/"
|
|
|
|
|
|
Temp_Dir: "tmp/"
|
|
|
|
|
|
Cache_Dir: ".cache/"
|
|
|
|
|
|
Node_Modules: "node_modules/"
|
|
|
|
|
|
|
|
|
|
|
|
Git_Paths:
|
|
|
|
|
|
Git_Dir: ".git/"
|
|
|
|
|
|
Git_Hooks: ".git/hooks/"
|
|
|
|
|
|
Git_Config: ".git/config"
|
|
|
|
|
|
Gitignore: ".gitignore"
|
|
|
|
|
|
```
|
|
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
## Standard Abbreviations & Technical Terms
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
```yaml
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Technical_Terms:
|
2025-06-24 12:58:12 +02:00
|
|
|
|
Configuration: "cfg"
|
|
|
|
|
|
Implementation: "impl"
|
|
|
|
|
|
Performance: "perf"
|
|
|
|
|
|
Validation: "val"
|
|
|
|
|
|
Requirements: "req"
|
|
|
|
|
|
Dependencies: "deps"
|
|
|
|
|
|
Environment: "env"
|
|
|
|
|
|
Database: "db"
|
|
|
|
|
|
Interface: "api"
|
|
|
|
|
|
Documentation: "docs"
|
|
|
|
|
|
Operations: "ops"
|
|
|
|
|
|
Standard: "std"
|
|
|
|
|
|
Default: "def"
|
|
|
|
|
|
Context: "ctx"
|
|
|
|
|
|
Error: "err"
|
|
|
|
|
|
Recovery: "rec"
|
|
|
|
|
|
Execution: "exec"
|
|
|
|
|
|
Token: "tok"
|
|
|
|
|
|
Optimization: "opt"
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Quality: "qual"
|
|
|
|
|
|
Severity: "sev"
|
|
|
|
|
|
Response: "resp"
|
|
|
|
|
|
Escalation: "esc"
|
|
|
|
|
|
|
|
|
|
|
|
Action_Abbreviations:
|
|
|
|
|
|
Analyze: "anlz"
|
|
|
|
|
|
Build: "bld"
|
|
|
|
|
|
Deploy: "dply"
|
|
|
|
|
|
Test: "tst"
|
|
|
|
|
|
Configure: "cfg"
|
|
|
|
|
|
Implement: "impl"
|
|
|
|
|
|
Validate: "val"
|
|
|
|
|
|
Execute: "exec"
|
|
|
|
|
|
Optimize: "opt"
|
|
|
|
|
|
|
|
|
|
|
|
Severity_Levels:
|
|
|
|
|
|
Critical: "C"
|
|
|
|
|
|
High: "H"
|
|
|
|
|
|
Medium: "M"
|
|
|
|
|
|
Low: "L"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Standard Time & Size Limits
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
Time_Limits:
|
2025-06-24 22:02:29 +02:00
|
|
|
|
Quick_Operation: "Fast"
|
|
|
|
|
|
Standard_Operation: "Moderate duration"
|
|
|
|
|
|
Long_Operation: "Extended duration"
|
|
|
|
|
|
Critical_Timeout: "Maximum allowed duration"
|
|
|
|
|
|
Session_Timeout: "Extended session limit"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
Token_Limits:
|
2025-06-24 22:02:29 +02:00
|
|
|
|
Small_Response: "Minimal usage"
|
|
|
|
|
|
Medium_Response: "Moderate usage"
|
|
|
|
|
|
Large_Response: "Extensive usage"
|
|
|
|
|
|
Context_Warning: "High context usage"
|
|
|
|
|
|
Context_Critical: "Very high context usage"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
File_Size_Limits:
|
2025-06-24 22:02:29 +02:00
|
|
|
|
Small_File: "Minimal size"
|
|
|
|
|
|
Medium_File: "Moderate size"
|
|
|
|
|
|
Large_File: "Large size"
|
|
|
|
|
|
Huge_File: "Very large size"
|
|
|
|
|
|
Max_Analysis: "Maximum analyzable size"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
Retry_Limits:
|
2025-06-24 22:02:29 +02:00
|
|
|
|
Default_Retries: "Multiple attempts"
|
|
|
|
|
|
Network_Retries: "Several attempts"
|
|
|
|
|
|
File_Lock_Retries: "Multiple attempts"
|
|
|
|
|
|
MCP_Server_Retries: "Multiple attempts"
|
|
|
|
|
|
Max_Consecutive_Failures: "Several failures"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
## Standard Priority & Status Values
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
Priority_Levels:
|
|
|
|
|
|
Critical: "critical"
|
|
|
|
|
|
High: "high"
|
|
|
|
|
|
Medium: "medium"
|
|
|
|
|
|
Low: "low"
|
|
|
|
|
|
|
|
|
|
|
|
Severity_Numbers:
|
2025-06-24 22:02:29 +02:00
|
|
|
|
Critical: "Maximum severity"
|
|
|
|
|
|
High: "High severity"
|
|
|
|
|
|
Medium: "Medium severity"
|
|
|
|
|
|
Low: "Low severity"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
Status_Values:
|
|
|
|
|
|
Pending: "pending"
|
|
|
|
|
|
In_Progress: "in_progress"
|
|
|
|
|
|
Completed: "completed"
|
|
|
|
|
|
Failed: "failed"
|
|
|
|
|
|
Cancelled: "cancelled"
|
|
|
|
|
|
Paused: "paused"
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Standard Tool Names & Commands
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
Native_Tools:
|
|
|
|
|
|
File_Tools: ["Read", "Write", "Edit", "MultiEdit", "Glob"]
|
|
|
|
|
|
System_Tools: ["Bash", "LS"]
|
|
|
|
|
|
Search_Tools: ["Grep", "Task"]
|
|
|
|
|
|
Notebook_Tools: ["NotebookRead", "NotebookEdit"]
|
|
|
|
|
|
Web_Tools: ["WebFetch", "WebSearch"]
|
|
|
|
|
|
Task_Tools: ["TodoRead", "TodoWrite"]
|
|
|
|
|
|
|
|
|
|
|
|
MCP_Servers:
|
|
|
|
|
|
Context7: "mcp__context7__*"
|
|
|
|
|
|
Sequential: "mcp__sequential-thinking__*"
|
|
|
|
|
|
Magic: "mcp__magic__*"
|
|
|
|
|
|
Puppeteer: "mcp__puppeteer__*"
|
|
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Universal_Flags:
|
2025-06-24 12:58:12 +02:00
|
|
|
|
Planning: "--plan"
|
|
|
|
|
|
Thinking: ["--think", "--think-hard", "--ultrathink"]
|
|
|
|
|
|
Compression: ["--uc", "--ultracompressed"]
|
|
|
|
|
|
MCP_Control: ["--c7", "--seq", "--magic", "--pup", "--all-mcp", "--no-mcp"]
|
|
|
|
|
|
Execution: ["--dry-run", "--watch", "--interactive", "--force"]
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Quality: ["--tdd", "--iterate", "--threshold", "--validate", "--security"]
|
|
|
|
|
|
|
|
|
|
|
|
Common_Commands:
|
|
|
|
|
|
Git_Commands: ["status", "add", "commit", "push", "pull", "checkout", "branch", "merge"]
|
|
|
|
|
|
Build_Commands: ["build", "test", "lint", "format", "typecheck"]
|
|
|
|
|
|
Package_Commands: ["install", "update", "audit", "outdated"]
|
2025-06-24 12:58:12 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
2025-06-25 00:21:27 +02:00
|
|
|
|
## Standard_Messages_Templates
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
Success_Messages:
|
|
|
|
|
|
Operation_Complete: "✅ {operation} completed successfully"
|
|
|
|
|
|
File_Created: "📝 Created: {file_path}"
|
|
|
|
|
|
File_Updated: "✏ Updated: {file_path}"
|
|
|
|
|
|
Task_Complete: "✨ Task completed: {task_title}"
|
|
|
|
|
|
|
|
|
|
|
|
Warning_Messages:
|
|
|
|
|
|
Performance_Warning: "⚠ Operation taking longer than expected"
|
|
|
|
|
|
Context_Warning: "⚠ Context size approaching limit"
|
|
|
|
|
|
Token_Warning: "⚠ High token usage detected"
|
|
|
|
|
|
Fallback_Warning: "⚠ Using fallback method"
|
|
|
|
|
|
|
|
|
|
|
|
Error_Messages:
|
|
|
|
|
|
File_Not_Found: "❌ File not found: {file_path}"
|
|
|
|
|
|
Permission_Denied: "❌ Permission denied: {operation}"
|
|
|
|
|
|
Operation_Failed: "❌ {operation} failed: {reason}"
|
|
|
|
|
|
Timeout_Error: "❌ Operation timed out after {duration}"
|
|
|
|
|
|
|
|
|
|
|
|
Info_Messages:
|
|
|
|
|
|
Operation_Started: "▶ Starting {operation}"
|
|
|
|
|
|
Checkpoint_Created: "💾 Checkpoint created: {checkpoint_id}"
|
|
|
|
|
|
Optimization_Applied: "⚡ Optimization applied: {optimization}"
|
|
|
|
|
|
Fallback_Used: "🔄 Using alternative approach: {method}"
|
|
|
|
|
|
|
|
|
|
|
|
Report_References:
|
|
|
|
|
|
Report_Saved: "📄 Report saved to: {path}"
|
|
|
|
|
|
Metrics_Updated: "📊 Metrics updated: {path}"
|
|
|
|
|
|
Log_Entry: "📝 Logged to: {path}"
|
|
|
|
|
|
Checkpoint_Reference: "🔖 Checkpoint: {id}"
|
|
|
|
|
|
```
|
|
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
## File Naming Conventions
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
```yaml
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Report_Files:
|
|
|
|
|
|
Analysis_Report: "analysis-{type}-{timestamp}.md"
|
|
|
|
|
|
Performance_Report: "performance-{date}.md"
|
|
|
|
|
|
Security_Report: "security-scan-{timestamp}.md"
|
|
|
|
|
|
Daily_Summary: "daily-summary-{YYYY-MM-DD}.md"
|
|
|
|
|
|
Weekly_Trends: "weekly-trends-{YYYY-WW}.md"
|
|
|
|
|
|
Monthly_Insights: "monthly-insights-{YYYY-MM}.md"
|
|
|
|
|
|
|
|
|
|
|
|
Task_Files:
|
|
|
|
|
|
Task_Format: "{type}-{id}-{slug}.md"
|
|
|
|
|
|
Task_ID_Format: "YYYYMMDD-HHMMSS"
|
|
|
|
|
|
Task_Types: ["feature", "bugfix", "refactor", "docs", "test"]
|
|
|
|
|
|
|
|
|
|
|
|
Git_Branches:
|
|
|
|
|
|
Task_Branch: "task/{id}-{slug}"
|
|
|
|
|
|
Feature_Branch: "feature/{name}"
|
|
|
|
|
|
Bugfix_Branch: "bugfix/{name}"
|
|
|
|
|
|
Release_Branch: "release/{version}"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Log_Files:
|
|
|
|
|
|
Performance_Log: "performance-{YYYY-MM-DD}.jsonl"
|
|
|
|
|
|
Error_Log: "errors-{YYYY-MM-DD}.log"
|
|
|
|
|
|
Audit_Log: "audit-{YYYY-MM-DD}.log"
|
|
|
|
|
|
Debug_Log: "debug-{timestamp}.log"
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Environment & Framework Constants
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
2025-06-24 12:58:12 +02:00
|
|
|
|
Environment_Types:
|
|
|
|
|
|
Development: "dev"
|
|
|
|
|
|
Testing: "test"
|
|
|
|
|
|
Staging: "staging"
|
|
|
|
|
|
Production: "prod"
|
|
|
|
|
|
Local: "local"
|
|
|
|
|
|
|
|
|
|
|
|
File_Extensions:
|
|
|
|
|
|
Markdown: [".md", ".markdown"]
|
|
|
|
|
|
Code: [".js", ".ts", ".tsx", ".jsx", ".py", ".go", ".rs", ".cpp", ".c", ".java"]
|
|
|
|
|
|
Config: [".json", ".yml", ".yaml", ".toml", ".ini", ".env"]
|
|
|
|
|
|
Documentation: [".md", ".rst", ".txt", ".adoc"]
|
|
|
|
|
|
|
|
|
|
|
|
Supported_Frameworks:
|
|
|
|
|
|
Frontend: ["React", "Vue", "Angular", "Svelte", "Next.js", "Nuxt.js"]
|
|
|
|
|
|
Backend: ["Express", "FastAPI", "Django", "Rails", "Spring", "Gin"]
|
|
|
|
|
|
Database: ["PostgreSQL", "MySQL", "MongoDB", "Redis", "SQLite"]
|
|
|
|
|
|
Testing: ["Jest", "Mocha", "Pytest", "JUnit", "Cypress", "Playwright"]
|
|
|
|
|
|
```
|
|
|
|
|
|
|
2025-06-24 21:24:14 +02:00
|
|
|
|
## Reference System
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
```yaml
|
2025-06-24 21:24:14 +02:00
|
|
|
|
File_Organization:
|
|
|
|
|
|
Constants_File: "shared/universal-constants.yml"
|
|
|
|
|
|
Patterns_Directory: "shared/*.yml"
|
|
|
|
|
|
Commands_Directory: "commands/*.md"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
Common_References:
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Legend: "See Universal Legend section above"
|
|
|
|
|
|
Symbols: "See Process Flow section above"
|
|
|
|
|
|
Paths: "See Documentation Paths section above"
|
|
|
|
|
|
Limits: "See Time Limits section above"
|
|
|
|
|
|
Messages: "See Success Messages section above"
|
2025-06-25 16:51:53 +02:00
|
|
|
|
Flags: "@include universal-constants.yml#Universal_Flags"
|
2025-06-24 12:58:12 +02:00
|
|
|
|
|
|
|
|
|
|
Usage_Examples:
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Command_Header: |
|
2025-06-25 16:51:53 +02:00
|
|
|
|
@include universal-constants.yml#Universal_Legend
|
|
|
|
|
|
@include universal-constants.yml#Process_Flow
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Report_Location: |
|
2025-06-25 16:51:53 +02:00
|
|
|
|
Reports: @include universal-constants.yml#Documentation_Paths.Reports
|
2025-06-24 21:24:14 +02:00
|
|
|
|
Success_Format: |
|
2025-06-25 16:51:53 +02:00
|
|
|
|
@include universal-constants.yml#Success_Messages.Operation_Complete
|
2025-06-24 12:58:12 +02:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
---
|
2025-06-25 16:51:53 +02:00
|
|
|
|
*Universal Constants v2 - Single source of truth for all SuperClaude shared values*
|