Skip to content

Role-Specific Workflows

Estimated time: ~35 minutes

Prerequisite: Module 16.1 (Case Studies)

Outcome: After this module, you will have a customized Claude Code workflow optimized for your specific role.


A frontend developer and a DevOps engineer use Claude Code very differently. Frontend generates React components and CSS. DevOps writes Terraform and GitHub Actions.

Generic workflows waste time. Role-specific workflows maximize impact — focus on YOUR common tasks, use patterns from YOUR domain, leverage tools YOU use daily. Customize Claude Code for YOUR job.


graph TB
A["Your Role"] --> B["Common Tasks<br/>(daily work)"]
A --> C["Key Patterns<br/>(domain-specific)"]
A --> D["Primary Tools<br/>(languages)"]
A --> E["Quality Focus<br/>(priorities)"]
A --> F["Collaboration<br/>(team)"]
RolePrimary TasksKey TechniquesPriority Phases
FrontendComponents, UITemplates, image context5, 15
BackendAPIs, databasesThink mode, testing6, 9
FullstackEnd-to-end featuresTask breakdown7, 14
Tech LeadReview, architectureQuality, team standards10, 14
DevOpsCI/CD, infrastructureAutomation, hooks11, 12
DataPipelines, analysisData analysis13
  1. List top 10 daily tasks
  2. Map each to course techniques
  3. Create templates for repeated tasks
  4. Define quality criteria for your role
  5. Build role-specific CLAUDE.md section

Daily Tasks: Components, designs from Figma, styling, state management

Key Techniques:

  • Phase 5: Image context for design specs
  • Phase 15: Component templates
  • Phase 3: Reading existing patterns

CLAUDE.md Section:

## Frontend Standards
- Components: Functional TypeScript
- Styling: Tailwind CSS, no inline
- State: Zustand global, useState local

Templates: /component, /style, /a11y


Daily Tasks: APIs, database schemas, auth, performance

Key Techniques:

  • Phase 6: Think mode for API design
  • Phase 9: Legacy code refactoring
  • Phase 13: Log analysis

CLAUDE.md Section:

## Backend Standards
- APIs: REST with OpenAPI spec
- Database: PostgreSQL, migrations required
- Auth: JWT tokens, refresh pattern

Templates: /api, /schema, /query


Daily Tasks: Code review, architecture, mentoring, planning

Key Techniques:

  • Phase 10: Team CLAUDE.md
  • Phase 14: Quality optimization
  • Phase 6: Think mode for architecture

CLAUDE.md Section:

## Tech Lead Focus
- Reviews: Security, performance, maintainability
- Architecture: Document decisions in ADRs
- Mentoring: Explain WHY, not just WHAT

Templates: /review, /arch, /mentor


Daily Tasks: CI/CD, infrastructure as code, monitoring, incidents

Key Techniques:

  • Phase 11: GitHub Actions, hooks
  • Phase 12: n8n automation
  • Phase 13: Log analysis

CLAUDE.md Section:

## DevOps Standards
- CI/CD: GitHub Actions
- Infrastructure: Terraform modules
- Monitoring: Prometheus + Grafana

Templates: /pipeline, /terraform, /incident


Goal: Create a customized workflow for your role.

Instructions:

  1. List your top 5 daily tasks
  2. Map each to relevant course techniques
  3. Identify 3 templates to create
  4. Draft your role section for CLAUDE.md
💡 Hint Start with tasks you do MOST frequently. Map to phases that directly address those tasks.
✅ Solution

Example: Mobile Developer

Top 5 tasks:

  1. Build UI screens → Phase 15 templates
  2. API integration → Phase 6 Think mode
  3. Debug crashes → Phase 13 log analysis
  4. Code review → Phase 10 team standards
  5. Performance → Phase 14 optimization

Templates: /screen, /api-call, /debug

CLAUDE.md section:

## Mobile Standards
- UI: SwiftUI/Jetpack Compose
- Network: async/await patterns
- State: MVVM architecture

## [Role] Workflow
### Daily Tasks
1. [Most frequent task]
2. [Second task]
### Key Techniques
- Phase X: [Technique]
### Templates
/template — [Description]
### Quality Criteria
- [What "done" means for your role]
RoleFocus Phases
Frontend5 (Image), 15 (Templates)
Backend6 (Think), 9 (Legacy)
Fullstack7 (Auto), 14 (Task)
Tech Lead10 (Team), 14 (Quality)
DevOps11 (Automation), 12 (n8n)
Data13 (Analysis)

❌ Mistake✅ Correct Approach
Generic workflow for all rolesCustomize for YOUR specific tasks
Too many templates (10+)Focus on top 5 high-frequency tasks
Ignoring team contextAlign with team CLAUDE.md standards
Not measuring impactTrack time saved per task
Static workflow foreverEvolve as your role changes

Scenario: Vietnamese tech company, 20 developers across 4 roles. Everyone used Claude Code generically — some loved it, some found it unhelpful.

Role Workflow Initiative:

  • Week 1: Survey top tasks per role
  • Week 2: Build role-specific workflows + templates
  • Week 3: Role-specific training sessions
  • Week 4: Measure and iterate

Results (1 month):

  • Frontend: 40% faster component development
  • Backend: 50% faster API implementation
  • DevOps: 60% faster pipeline creation
  • Tech Lead: 30% faster code reviews

Quote: “Generic training was okay. Role-specific workflows made Claude Code essential for MY job.”


Next: Module 16.3: Teaching & Workshop Design