/f5-sync
Sync project state across team
$ npx -y skills add Fujigo-Software/f5-framework-claude --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/f5-sync
Context preview
What this command does when you run it.
Sync project state across team
Command definition
f5-sync.mddescription: Sync project state across team
argument-hint: [--push|--pull|--status]
/f5-sync - Configuration Sync
Sync F5 configuration to CLAUDE.md for Claude Code integration.
ARGUMENTS
The user's request is: $ARGUMENTS
PURPOSE
Sync keeps CLAUDE.md updated with:
- Active modules and their knowledge
- Installed skills
- Current mode settings
- Quality gate status
- Project-specific rules
WHAT GETS SYNCED
| Source | Target | Content | |--------|--------|---------| | `.f5/config.json` | `CLAUDE.md` | Project settings, stack, domain | | `.claude/skills/*` | `CLAUDE.md` | Skill knowledge references | | `.f5/quality/gates-status.yaml` | `CLAUDE.md` | Current gate status | | `.f5/memory/constitution.md` | `CLAUDE.md` | Project principles |
ACTIONS
Run Sync
/f5-sync
Output:
๐ Syncing F5 Configuration
Reading sources:
โ .f5/config.json
โ .claude/skills/ (3 skills)
โ .f5/quality/gates-status.yaml
โ .f5/memory/constitution.md
Generating CLAUDE.md sections:
โ Project Overview
โ Tech Stack Configuration
โ Domain Knowledge
โ Active Skills
โ Quality Gates Status
โ Project Rules
โ CLAUDE.md updated successfully!
Changes:
~ Updated stack section (added redis)
+ Added new skill: performance-tuning
~ Updated gate D3 status: PASSED
Preview Sync
/f5-sync --preview
Output:
๐๏ธ Sync Preview (dry run)
Would update CLAUDE.md with:
PROJECT OVERVIEW:
Name: online-shop
Architecture: modular-monolith
Scale: growth
Domain: e-commerce/b2c-retail
TECH STACK:
Backend: nestjs
Frontend: react
Database: postgresql
Cache: redis (NEW)
ACTIVE SKILLS:
- api-design v1.0.0
- testing-strategy v1.2.0
- performance-tuning v1.0.0 (NEW)
QUALITY GATES:
D1: โ
PASSED (92%)
D2: โ
PASSED (88%)
D3: โ
PASSED (90%) (CHANGED)
D4: ๐ IN PROGRESS
No changes applied (preview mode)
Run /f5-sync to apply
Sync Specific Section
/f5-sync --section skills
Output:
๐ Syncing Skills Section
Reading .claude/skills/:
โ api-design
โ testing-strategy
โ security-basics
Updating CLAUDE.md skills section...
โ Skills section updated
Full Regenerate
/f5-sync --full
Output:
๐ Full CLAUDE.md Regeneration
This will regenerate CLAUDE.md from template.
Custom modifications will be preserved in:
.claude/custom-instructions.md
Proceed? [y/N]
Regenerating...
โ Applied base template
โ Merged project configuration
โ Added skill references
โ Updated quality gates
โ Preserved custom instructions
โ CLAUDE.md fully regenerated
SYNC SECTIONS
Project Overview
## Overview
**Project:** online-shop
**Type:** product
**Architecture:** modular-monolith
**Scale:** growth
**Domain:** e-commerce / b2c-retail
Tech Stack
## Tech Stack
| Layer | Technology |
|-------|------------|
| Backend | NestJS (TypeScript) |
| Frontend | React (TypeScript) |
| Database | PostgreSQL |
| Cache | Redis |
| Queue | - |
Active Modules
## Active Modules
### Tech Modules
- **nestjs**: NestJS framework patterns and best practices
- **react**: React component patterns and hooks
- **postgresql**: PostgreSQL optimization and queries
### Domain Module
- **e-commerce/b2c-retail**: B2C retail patterns, checkout flows, inventory management
Skills Reference
## Skills
Claude has access to the following knowledge skills:
| Skill | Type | Description |
|-------|------|-------------|
| api-design | Technical | REST/GraphQL API design patterns |
| testing-strategy | Process | Comprehensive testing approaches |
| security-basics | Security | Essential security practices |
Skills are located in `.claude/skills/` and auto-activate based on context.
Quality Gates
## Quality Gates Status
| Gate | Name | Status | Score |
|------|------|--------|-------|
| D1 | Research Complete | โ
PASSED | 92% |
| D2 | SRS Approved | โ
PASSED | 88% |
| D3 | Basic Design | โ
PASSED | 90% |
| D4 | Detail Design | ๐ IN PROGRESS | - |
| G2 | Implementation | โณ WAITING | - |
| G3 | Testing | โณ WAITING | - |
| G4 | Deployment | โณ WAITING | - |
Current Focus: D4 (Detail Design)
Project Rules
## Project Rules
From `.f5/memory/constitution.md`:
### Non-Negotiable
1. All code must have traceability comments
2. No implementation without active SIP session
3. Follow existing naming conventions
### Quality Standards
- Test coverage minimum: 80%
- No critical security vulnerabilities
- API response time < 200ms
AUTO-SYNC
Configure auto-sync triggers:
// .f5/config.json
{
"sync": {
"auto": true,
"triggers": [
"config-change",
"skill-install",
"gate-update"
],
"exclude": [
"session-changes"
]
}
}Auto-Sync Events
| Event | Triggers Sync | |-------|---------------| | Config change | โ | | Skill installed/removed | โ | | Gate status change | โ | | Module activated | โ | | Session changes | โ |
CUSTOM INSTRUCTIONS
Preserve custom instructions during sync:
<!-- .claude/custom-instructions.md -->
## Custom Team Instructions
These instructions are preserved during /f5-sync --full
### Code Style
- Use 2-space indentation
- Prefer functional components
### Review Process
- All PRs need 2 approvals
- Security review for auth changes
EXAMPLES
# Run sync
/f5-sync
# Preview changes
/f5-sync --preview
# Sync specific section
/f5-sync --section skills
/f5-sync --section gates
/f5-sync --section stack
# Full regeneration
/f5-sync --full
# Force sync (no confirmation)
/f5-sync --force
# Verbose output
/f5-sync --verbose
TROUBLESHOOTING
"CLAUDE.md not found"
/f5-sync --init
Creates CLAUDE.md from template if missing.
"Config validation failed"
/f5-sync --validate
Validates config before sync, shows errors.
"Merge conflicts"
/f5-sync --resolve
Interactive conflict resolution for custom s
Read more
description: Sync project state across team argument-hint: [--push|--pull|--status]
/f5-sync - Configuration Sync
Sync F5 configuration to CLAUDE.md for Claude Code integration.
ARGUMENTS
The user's request is: $ARGUMENTS
PURPOSE
Sync keeps CLAUDE.md updated with:
- Active modules and their knowledge
- Installed skills
- Current mode settings
- Quality gate status
- Project-specific rules
WHAT GETS SYNCED
| Source | Target | Content | |--------|--------|---------| | `.f5/config.json` | `CLAUDE.md` | Project settings, stack, domain | | `.claude/skills/*` | `CLAUDE.md` | Skill knowledge references | | `.f5/quality/gates-status.yaml` | `CLAUDE.md` | Current gate status | | `.f5/memory/constitution.md` | `CLAUDE.md` | Project principles |
ACTIONS
Run Sync
/f5-sync Output: ๐ Syncing F5 Configuration Reading sources: โ .f5/config.json โ .claude/skills/ (3 skills) โ .f5/quality/gates-status.yaml โ .f5/memory/constitution.md Generating CLAUDE.md sections: โ Project Overview โ Tech Stack Configuration โ Domain Knowledge โ Active Skills โ Quality Gates Status โ Project Rules โ CLAUDE.md updated successfully! Changes: ~ Updated stack section (added redis) + Added new skill: performance-tuning ~ Updated gate D3 status: PASSED
Preview Sync
/f5-sync --preview Output: ๐๏ธ Sync Preview (dry run) Would update CLAUDE.md with: PROJECT OVERVIEW: Name: online-shop Architecture: modular-monolith Scale: growth Domain: e-commerce/b2c-retail TECH STACK: Backend: nestjs Frontend: react Database: postgresql Cache: redis (NEW) ACTIVE SKILLS: - api-design v1.0.0 - testing-strategy v1.2.0 - performance-tuning v1.0.0 (NEW) QUALITY GATES: D1: โ PASSED (92%) D2: โ PASSED (88%) D3: โ PASSED (90%) (CHANGED) D4: ๐ IN PROGRESS No changes applied (preview mode) Run /f5-sync to apply
Sync Specific Section
/f5-sync --section skills Output: ๐ Syncing Skills Section Reading .claude/skills/: โ api-design โ testing-strategy โ security-basics Updating CLAUDE.md skills section... โ Skills section updated
Full Regenerate
/f5-sync --full Output: ๐ Full CLAUDE.md Regeneration This will regenerate CLAUDE.md from template. Custom modifications will be preserved in: .claude/custom-instructions.md Proceed? [y/N] Regenerating... โ Applied base template โ Merged project configuration โ Added skill references โ Updated quality gates โ Preserved custom instructions โ CLAUDE.md fully regenerated
SYNC SECTIONS
Project Overview
## Overview **Project:** online-shop **Type:** product **Architecture:** modular-monolith **Scale:** growth **Domain:** e-commerce / b2c-retail
Tech Stack
## Tech Stack | Layer | Technology | |-------|------------| | Backend | NestJS (TypeScript) | | Frontend | React (TypeScript) | | Database | PostgreSQL | | Cache | Redis | | Queue | - |
Active Modules
## Active Modules ### Tech Modules - **nestjs**: NestJS framework patterns and best practices - **react**: React component patterns and hooks - **postgresql**: PostgreSQL optimization and queries ### Domain Module - **e-commerce/b2c-retail**: B2C retail patterns, checkout flows, inventory management
Skills Reference
## Skills Claude has access to the following knowledge skills: | Skill | Type | Description | |-------|------|-------------| | api-design | Technical | REST/GraphQL API design patterns | | testing-strategy | Process | Comprehensive testing approaches | | security-basics | Security | Essential security practices | Skills are located in `.claude/skills/` and auto-activate based on context.
Quality Gates
## Quality Gates Status | Gate | Name | Status | Score | |------|------|--------|-------| | D1 | Research Complete | โ PASSED | 92% | | D2 | SRS Approved | โ PASSED | 88% | | D3 | Basic Design | โ PASSED | 90% | | D4 | Detail Design | ๐ IN PROGRESS | - | | G2 | Implementation | โณ WAITING | - | | G3 | Testing | โณ WAITING | - | | G4 | Deployment | โณ WAITING | - | Current Focus: D4 (Detail Design)
Project Rules
## Project Rules From `.f5/memory/constitution.md`: ### Non-Negotiable 1. All code must have traceability comments 2. No implementation without active SIP session 3. Follow existing naming conventions ### Quality Standards - Test coverage minimum: 80% - No critical security vulnerabilities - API response time < 200ms
AUTO-SYNC
Configure auto-sync triggers:
// .f5/config.json
{
"sync": {
"auto": true,
"triggers": [
"config-change",
"skill-install",
"gate-update"
],
"exclude": [
"session-changes"
]
}
}Auto-Sync Events
| Event | Triggers Sync | |-------|---------------| | Config change | โ | | Skill installed/removed | โ | | Gate status change | โ | | Module activated | โ | | Session changes | โ |
CUSTOM INSTRUCTIONS
Preserve custom instructions during sync:
<!-- .claude/custom-instructions.md --> ## Custom Team Instructions These instructions are preserved during /f5-sync --full ### Code Style - Use 2-space indentation - Prefer functional components ### Review Process - All PRs need 2 approvals - Security review for auth changes
EXAMPLES
# Run sync /f5-sync # Preview changes /f5-sync --preview # Sync specific section /f5-sync --section skills /f5-sync --section gates /f5-sync --section stack # Full regeneration /f5-sync --full # Force sync (no confirmation) /f5-sync --force # Verbose output /f5-sync --verbose
TROUBLESHOOTING
"CLAUDE.md not found"
/f5-sync --init Creates CLAUDE.md from template if missing.
"Config validation failed"
/f5-sync --validate Validates config before sync, shows errors.
"Merge conflicts"
/f5-sync --resolve Interactive conflict resolution for custom s
AI-Powered Development Framework for Claude Code
Repo: Fujigo-Software/f5-framework-claude
Other commands on f5-framework.
- /f5-agent
Manage AI agents, personas, and get smart suggestions
Open command - /f5-analytics
View project analytics and metrics
Open command - /f5-ba
Business analysis workflow
Open command - /f5-backend
Backend development commands
Open command - /f5-checkpoint
[DEPRECATED] Use /f5-ctx checkpoint
Open command - /f5-classify
Classify input files by type using content-first analysis, detect gaps, and generate coverage declaration
Open command

