- Implemented a validation script to check the installation of Claude optimized templates. - The script verifies the presence of required files, directory structure, and file content. - Added tests for command structure, version consistency, and installation timestamp. docs: Create comprehensive init command analysis report - Added an analysis report detailing the structure and functionality of the `claude-flow init` command. - Included sections on command flow, file structure, key functions, and SPARC integration. - Provided recommendations for optimization and next steps for further development. chore: Introduce init command file map for better organization - Created a JSON file mapping the structure and key components of the init command. - Included details on file locations, generated files, and key functions for easier reference. test: Develop extensive test suite for init command functionality - Established a comprehensive test suite covering unit, integration, and performance tests for the init command. - Included tests for batch initialization features, error handling, and environment configurations. - Ensured high test coverage and validation of all command functionalities. test: Add batch initialization tests for various scenarios - Implemented tests for batch initialization, including validation of options, project templates, and environment configurations. - Covered error handling and multi-environment initialization scenarios.
Claude Flow Examples
This directory contains examples demonstrating various features and capabilities of the Claude Flow system, organized by category.
Directory Structure
examples/
├── 01-configurations/ # System and workflow configuration examples
├── 02-workflows/ # Multi-agent workflow definitions
├── 03-demos/ # Live demonstration scripts
├── 04-testing/ # Testing and validation examples
├── 05-swarm-apps/ # Applications created by the swarm system
├── 06-tutorials/ # Step-by-step guides and tutorials
└── README.md # This file
Quick Start
- New to Claude Flow? Start with
01-configurations/basic-config.json - Want to see it in action? Run
03-demos/quick-demo.sh - Building an app? Check
05-swarm-apps/for complete examples - Testing your setup? Use
04-testing/test-swarm-cli.sh
Categories
01. Configurations
System and workflow configuration files showing how to set up Claude Flow for different use cases.
02. Workflows
Multi-agent workflow definitions demonstrating parallel execution, task dependencies, and agent coordination.
03. Demos
Shell scripts that demonstrate the swarm system creating various types of applications.
04. Testing
Scripts for testing Claude Flow features, SPARC modes, and system functionality.
05. Swarm Apps
Complete applications created by the swarm system, including source code, tests, and documentation.
06. Tutorials
Step-by-step guides for common tasks and advanced features.
Running Examples
Most shell script examples can be run directly:
cd examples/03-demos
./quick-demo.sh
For configuration examples, use them with Claude Flow commands:
cd examples
../claude-flow swarm create "Your task description" --config ./01-configurations/basic/simple-config.json
Or from the project root:
./claude-flow swarm create "Your task description" --config ./examples/01-configurations/basic/simple-config.json
Contributing
When adding new examples:
- Place them in the appropriate category folder
- Include clear comments and documentation
- Test the example thoroughly
- Update this README if adding new categories