Marketplace
golden-paths
Use when designing standardized development workflows, paved roads, or opinionated defaults. Covers golden path patterns, template design, developer workflow optimization, and guardrails.
allowed_tools: Read, Glob, Grep
$ Instalar
git clone https://github.com/melodic-software/claude-code-plugins /tmp/claude-code-plugins && cp -r /tmp/claude-code-plugins/plugins/systems-design/skills/golden-paths ~/.claude/skills/claude-code-plugins// tip: Run this command in your terminal to install the skill
SKILL.md
name: golden-paths description: Use when designing standardized development workflows, paved roads, or opinionated defaults. Covers golden path patterns, template design, developer workflow optimization, and guardrails. allowed-tools: Read, Glob, Grep
Golden Paths
Patterns for designing standardized, opinionated development workflows that make the right way the easy way.
When to Use This Skill
- Designing standardized developer workflows
- Creating paved roads for common patterns
- Building template-based service creation
- Implementing guardrails with flexibility
- Optimizing developer onboarding
- Reducing cognitive load for developers
Golden Path Fundamentals
What is a Golden Path?
Golden Path Definition:
An opinionated, well-supported workflow that makes best practices
the path of least resistance while not blocking alternatives.
Key Characteristics:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GOLDEN PATH โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โ Opinionated: Clear decisions made for you โ
โ โ Supported: First-class documentation and tooling โ
โ โ Optimized: Fastest path to production โ
โ โ Maintained: Kept up-to-date by platform team โ
โ โ Escapable: Can deviate when needed โ
โ โ
โ "Make the right way the easy way" โ
โ โ
โ Golden Path โ The Only Path โ
โ Golden Path = The Recommended Path โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
vs Paved Road vs Rails:
โโโ Golden Path: Recommended workflow with alternatives
โโโ Paved Road: Same concept, Spotify terminology
โโโ Rails: More rigid, harder to deviate (often negative)
Golden Path vs Custom
Golden Path Benefits:
Developer Time:
โโโ New service: 15 min (golden) vs 2 days (custom)
โโโ Setup CI/CD: Automatic vs 4-8 hours
โโโ Observability: Built-in vs manual integration
โโโ Security: Automatic vs checklist review
Platform Support:
โโโ Golden path: Full support, rapid fixes
โโโ Custom: Best-effort support, lower priority
โโโ Hybrid: Support for platform components only
Example Journey:
Golden Path:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. Choose template โ node-api-template โ
โ 2. Answer questions โ name, team, database? โ
โ 3. Generate repo โ automatic โ
โ 4. First deployment โ automatic via CI โ
โ 5. Start coding โ focus on business logic โ
โ โ
โ Time: ~15 minutes โ
โ Result: Production-ready service โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Custom Path:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. Create repo โ manual setup โ
โ 2. Choose framework โ research options โ
โ 3. Setup build โ configure bundler/compiler โ
โ 4. Add observability โ integrate logging, metrics โ
โ 5. Security review โ checklist, manual fixes โ
โ 6. Setup CI/CD โ write pipeline config โ
โ 7. Deploy pipeline โ debug issues โ
โ 8. Documentation โ write from scratch โ
โ โ
โ Time: 2-5 days โ
โ Result: May miss best practices โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Designing Golden Paths
Identifying Candidates
Golden Path Selection Criteria:
High-Value Candidates:
โโโ Frequent: Done by many teams regularly
โโโ Complex: Easy to get wrong
โโโ Critical: Security/compliance implications
โโโ Costly: Takes significant time manually
โโโ Standardizable: Common pattern across teams
Assessment Matrix:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Frequency โ
โ Low High โ
โ โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ โ
โ High โ Custom โ GOLDEN PATH โ โ High Impact โ
โ โ Solution โ PRIORITY โ โ
โ Impact โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโค โ
โ Low โ Ignore โ Document/ โ โ
โ โ โ Automate โ โ
โ โโโโโโโโโโโโโโโดโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Common Golden Paths:
1. New service creation (by service type)
2. Database provisioning
3. CI/CD pipeline setup
4. Security scanning integration
5. Observability setup
6. Environment creation
7. API development workflow
8. Frontend application setup
Template Design Principles
Template Design:
1. Opinionated Defaults
โโโ Make decisions so developers don't have to
โโโ Choose proven technologies
โโโ Use sensible configurations
โโโ Document why choices were made
2. Minimal Required Input
โโโ Service name
โโโ Team/owner
โโโ 1-3 key configuration choices
โโโ Everything else has defaults
3. Complete Package
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Template Contents: โ
โ โ
โ Application Layer: โ
โ โโโ Application code skeleton โ
โ โโโ Configuration management โ
โ โโโ Health check endpoints โ
โ โโโ API documentation setup โ
โ โ
โ Quality Layer: โ
โ โโโ Unit test framework โ
โ โโโ Integration test setup โ
โ โโโ Linting and formatting โ
โ โโโ Pre-commit hooks โ
โ โ
โ Operations Layer: โ
โ โโโ Dockerfile โ
โ โโโ Kubernetes manifests โ
โ โโโ CI/CD pipeline โ
โ โโโ Infrastructure as Code โ
โ โ
โ Observability Layer: โ
โ โโโ Structured logging โ
โ โโโ Metrics instrumentation โ
โ โโโ Distributed tracing โ
โ โโโ Dashboard templates โ
โ โ
โ Documentation Layer: โ
โ โโโ README template โ
โ โโโ ADR templates โ
โ โโโ Runbook templates โ
โ โโโ API specification โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
4. Clear Extension Points
โโโ Where to add business logic
โโโ How to add new endpoints
โโโ How to integrate dependencies
โโโ How to customize behavior
Template Architecture
Template Implementation Patterns:
1. Scaffolding/Generation (Backstage, Yeoman)
Input โ Template + Variables โ Generated Repo
Pros: Simple, full control
Cons: Generated code diverges over time
2. Cookiecutter/Copier
Template repo โ Variable substitution โ New repo
Pros: Easy to maintain templates
Cons: Post-generation updates hard
3. Base Image/Library Pattern
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Application Code โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Company Base Library โ โ
โ โ โโโ Logging (preconfigured) โ โ
โ โ โโโ Metrics (preconfigured) โ โ
โ โ โโโ Tracing (preconfigured) โ โ
โ โ โโโ HTTP client (with retry) โ โ
โ โ โโโ Health checks (standard) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Company Base Image โ โ
โ โ โโโ Runtime (Node, Go, .NET) โ โ
โ โ โโโ Security patches โ โ
โ โ โโโ Standard tooling โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Pros: Updates propagate automatically
Cons: Requires versioning strategy
4. Mono-Repo with Generators
Centralized templates โ Generated into mono-repo
Pros: Consistency, shared tooling
Cons: Mono-repo complexity
Guardrails and Flexibility
Guardrail Design
Guardrails: Automatic enforcement of standards without blocking.
Types of Guardrails:
1. Preventive (Block before it happens)
โโโ Pre-commit hooks
โโโ PR checks
โโโ Template validation
โโโ Infrastructure policies
2. Detective (Alert after it happens)
โโโ Compliance scans
โโโ Drift detection
โโโ Audit logs
โโโ Security scanning
3. Corrective (Auto-fix issues)
โโโ Auto-formatting
โโโ Auto-remediation
โโโ Self-healing infrastructure
โโโ Automated rollbacks
Guardrail Implementation:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ DEVELOPMENT LIFECYCLE โ
โ โ
โ Code โโโบ Commit โโโบ PR โโโบ Merge โโโบ Deploy โโโบ Production โ
โ โ โ โ โ โ โ โ
โ โผ โผ โผ โผ โผ โผ โ
โ [Lint] [Pre- [PR [Build [Deploy [Runtime โ
โ [Format] commit] checks] gates] policies] monitoring] โ
โ โ
โ Guardrails at each stage: โ
โ โโโ IDE: Real-time feedback, auto-fix โ
โ โโโ Commit: Secrets scan, lint โ
โ โโโ PR: Tests, security scan, approval โ
โ โโโ Build: Vulnerability scan, compliance โ
โ โโโ Deploy: Canary, health checks โ
โ โโโ Runtime: Anomaly detection, auto-scale โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Escape Hatches
Escape Hatches: How to deviate from golden path when needed.
Principles:
โโโ Make deviation possible but intentional
โโโ Require justification, not approval
โโโ Don't punish teams for legitimate needs
โโโ Learn from deviations to improve paths
Escape Hatch Patterns:
1. Documented Exception
# .platform/exceptions.yaml
exceptions:
- rule: must-use-company-base-image
reason: "ML workload requires specific CUDA version"
approved-by: platform-team
expires: 2024-12-31
review-issue: PLAT-1234
2. Tiered Support
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Tier 1: Golden Path โ
โ - Full support โ
โ - Automatic updates โ
โ - Priority bug fixes โ
โ โ
โ Tier 2: Supported Deviation โ
โ - Documented exception โ
โ - Best-effort support โ
โ - Manual updates may be needed โ
โ โ
โ Tier 3: Custom โ
โ - Self-supported โ
โ - No guarantees โ
โ - Must meet minimum security standards โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
3. Override Mechanism
# pipeline.yaml
lint:
enabled: true
override: true # Skip for this repo
override-reason: "Legacy code, lint fix scheduled for Q2"
Common Golden Paths
Service Creation Path
Service Creation Golden Path:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Step 1: Select Template โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Available Templates: โ
โ โ REST API (Node.js) - Standard HTTP API โ
โ โ REST API (Go) - High-performance API โ
โ โ REST API (.NET) - Enterprise API โ
โ โ GraphQL Service - Flexible API layer โ
โ โ Event Consumer - Kafka/message processing โ
โ โ Scheduled Job - Batch/cron workloads โ
โ โ
โ [Continue with GraphQL Service] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Step 2: Configure Service โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Service Name: _________ (kebab-case, e.g., user-service) โ
โ Owner Team: [โผ Select team ] โ
โ Description: _________________________________________ โ
โ โ
โ Optional Features: โ
โ โ Database (PostgreSQL) โ
โ โ Cache (Redis) โ
โ โ Message Queue (Kafka consumer) โ
โ โ External API Client โ
โ โ
โ [Create Service] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Step 3: Automatic Setup (60 seconds) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โ Repository created github.com/org/user-service โ
โ โ CI/CD pipeline configured Actions workflow created โ
โ โ Dev environment ready user-service.dev.internal โ
โ โ Database provisioned PostgreSQL on RDS โ
โ โ Secrets configured Vault paths created โ
โ โ Monitoring setup Datadog dashboards created โ
โ โ Registered in catalog Backstage entry created โ
โ โ
โ [Open Repository] [View in Catalog] [Start Coding] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Deployment Path
Deployment Golden Path:
Developer Workflow:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ 1. Developer pushes to feature branch โ
โ โโโ Automatic: lint, test, build, security scan โ
โ โ
โ 2. Developer opens PR โ
โ โโโ Automatic: preview environment, E2E tests โ
โ โ
โ 3. PR approved and merged โ
โ โโโ Automatic: deploy to staging โ
โ โ
โ 4. Staging validation (automated + manual) โ
โ โโโ Automatic: smoke tests, synthetic monitoring โ
โ โ
โ 5. Production deployment โ
โ โโโ Automatic: canary โ gradual rollout โ
โ โ
โ No manual steps required for standard deployments โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Pipeline Configuration:
# Comes pre-configured in template
# Developers only modify if needed
deploy:
staging:
trigger: merge-to-main
strategy: rolling
tests: [smoke, integration]
production:
trigger: staging-success
strategy: canary
canary-percentage: 5
canary-duration: 15m
rollback: automatic
Adoption Strategy
Rolling Out Golden Paths
Adoption Phases:
Phase 1: Pilot (1-2 teams, 1-2 months)
โโโ Partner with friendly teams
โโโ Gather intensive feedback
โโโ Iterate rapidly
โโโ Build success stories
โโโ Document learnings
Phase 2: Early Adopters (5-10 teams, 2-3 months)
โโโ Expand to interested teams
โโโ Refine based on feedback
โโโ Build champions network
โโโ Create training materials
โโโ Measure adoption metrics
Phase 3: Early Majority (30-50% teams, 3-6 months)
โโโ Marketing and communication
โโโ Training sessions
โโโ Self-service documentation
โโโ Deprecate old paths
โโโ Track DORA metrics
Phase 4: Late Majority (70-90% teams, 6-12 months)
โโโ Mandate for new services
โโโ Migration support for existing
โโโ Advanced features
โโโ Refinement and optimization
โโโ Continuous improvement
Adoption Tactics:
โโโ Make golden path faster than alternatives
โโโ Provide migration tooling
โโโ Celebrate early adopters
โโโ Address blockers quickly
โโโ Don't force premature adoption
โโโ Listen to resistors (they find real issues)
Measuring Success
Golden Path Metrics:
Adoption Metrics:
โโโ % new services using templates
โโโ % teams with at least one golden path service
โโโ Template usage by type
โโโ Deviation rate (why teams don't use)
โโโ Migration rate (legacy to golden path)
Efficiency Metrics:
โโโ Time to first deployment (new service)
โโโ Time to production change
โโโ PR cycle time
โโโ Incident resolution time
โโโ Developer time saved
Quality Metrics:
โโโ Deployment success rate
โโโ Security scan pass rate
โโโ Change failure rate
โโโ Incident rate (golden vs custom)
โโโ Compliance audit findings
Satisfaction Metrics:
โโโ Developer NPS for platform
โโโ Template satisfaction surveys
โโโ Support ticket volume
โโโ Documentation effectiveness
โโโ Onboarding experience rating
Anti-Patterns
Golden Path Anti-Patterns:
1. "One Golden Path for All"
โ Same template for microservices and ML workloads
โ Multiple paths for different use cases
2. "Rails, Not Paths"
โ Making deviation impossible or punished
โ Deviation possible with justification
3. "Technical Purity Over Practicality"
โ Choosing trendy tech that teams struggle with
โ Use tech teams can actually use
4. "Set and Forget"
โ Creating path once and never updating
โ Continuous improvement based on feedback
5. "Mandate Without Value"
โ Forcing adoption before path is good
โ Make path so good teams want to use it
6. "Complexity Hiding"
โ Hiding all complexity, no learning opportunity
โ Progressive disclosure of complexity
7. "No Escape Hatch"
โ Blocking legitimate deviations
โ Clear process for exceptions
Best Practices
Golden Path Best Practices:
1. Start with Pain Points
โโโ Interview developers about friction
โโโ Measure current time-to-production
โโโ Identify most common tasks
โโโ Focus on highest-impact paths first
2. Make Right Way Easy
โโโ Golden path should be faster than alternatives
โโโ Defaults should be secure and compliant
โโโ Documentation integrated into workflow
โโโ Errors should guide to solutions
3. Iterate Based on Feedback
โโโ Regular user research
โโโ Fast iteration cycles
โโโ A/B test improvements
โโโ Deprecate gracefully
4. Balance Opinionation and Flexibility
โโโ Strong defaults with clear rationale
โโโ Document why choices were made
โโโ Allow overrides with justification
โโโ Learn from deviations
5. Invest in Documentation
โโโ Getting started guides
โโโ Decision explanations
โโโ Troubleshooting guides
โโโ Migration guides
6. Build Community
โโโ Champions in each team
โโโ Regular office hours
โโโ Contribution guidelines
โโโ Celebrate successes
Related Skills
internal-developer-platform- Platform engineering overviewself-service-infrastructure- Infrastructure provisioning patternsdesign-interview-methodology- Interview preparationquality-attributes-taxonomy- Understanding quality requirements
Repository

melodic-software
Author
melodic-software/claude-code-plugins/plugins/systems-design/skills/golden-paths
3
Stars
0
Forks
Updated4d ago
Added1w ago