An experiment in organizing Claude Code skills. Token-optimized configurations for Go, Python, Rails, and Terraform with patterns extracted from real projects.
git clone https://github.com/maroffo/claude-forge.gitClaude Forge is a four-tier system for organizing Claude Code skills and agents into a deterministic, rules-driven workflow. It combines identity and workflow rules (always active), on-demand review agents, user-invoked language and tool skills, and runtime enforcement hooks that ensure Claude follows established patterns even if it forgets. The system is tuned for Claude Opus 4.8 with token-optimized configurations for Go, Python, Rails, and Terraform extracted from real projects. Installation is simple via one-liner script or manual copy, and the architecture automatically loads rules, launches agents based on file patterns, and activates skills contextually. Runtime hooks enforce code quality gates, prevent direct commits to main, validate commit intent, require documentation markers, and route files to appropriate reviewers.
Run the one-liner installer (curl -sL https://raw.githubusercontent.com/maroffo/claude-forge/main/get.sh | bash) which clones the repo and prompts you to select skill categories, then personalizes and copies files to ~/.claude/. Alternatively, clone manually and copy skills, agents, and rules directories to ~/.claude/, then merge hook settings from hooks/settings.example.json into your settings.json.
Enforce consistent coding patterns across Go, Python, Rails, and Terraform projects
Automate code review routing based on file type and repository conventions
Prevent unsafe commits with pre-commit gates and main-branch guards
Maintain project identity and workflow rules across Claude Code sessions
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/maroffo/claude-forgeCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a code assistant for [COMPANY], a [INDUSTRY] company. I need help with [PROGRAMMING_LANGUAGE] code. Use the claude-forge configurations to optimize my code for [SPECIFIC_TASK]. Provide clear, concise instructions and token-efficient solutions.
# Code Optimization for [COMPANY] (Retail Industry)
## Python Script for Inventory Management
```python
# Optimized inventory tracking function
def update_inventory(product_id, quantity_change):
# Connect to database using optimized connection pool
conn = db_pool.get_connection()
cursor = conn.cursor()
# Use parameterized queries for security
query = """
UPDATE inventory
SET stock = stock + %s
WHERE product_id = %s
"""
cursor.execute(query, (quantity_change, product_id))
conn.commit()
# Close connection efficiently
cursor.close()
conn.close()
return f"Inventory updated for product {product_id}"
```
## Key Optimizations:
- Connection pooling for database access
- Parameterized queries to prevent SQL injection
- Efficient resource management
- Clear function documentation
Recover up to 99% of import fees with no upfront costs
Infrastructure as code for multi-cloud deployments
AI assistant built for thoughtful, nuanced conversation
Get more done every day with Microsoft Teams – powered by AI
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan