A collection of reusable AI code assistant tools and agents designed to enhance development workflows.
- Build automation with intelligent log analysis
- Support for both Gradle and Maven projects
- Structured output reports (Markdown + JSON)
- Minimal console output, detailed file logs
-
Clone this repository:
git clone <repo-url> cd codegenial
-
List available tools:
# Linux/macOS ./setup list # Windows (PowerShell) .\setup.ps1 list
-
Install a tool to your project:
# Linux/macOS ./setup claude /path/to/your/project # Windows (PowerShell) .\setup.ps1 claude C:\path\to\your\project
Windows Requirements: PowerShell 3.0 or later (available on Windows 7+ with updates, built-in on Windows 8+)
After installing the Claude Code tools, navigate to your project and use the build command:
cd /path/to/your/project
./.claude/commands/build-and-summarizeNote for Windows users: The build-and-summarize command is a bash script. You'll need:
- WSL (Windows Subsystem for Linux), or
- Git Bash, or
- Cygwin
to run it on Windows.
The command will:
- Auto-detect your build tool (Gradle or Maven)
- Run the build with full logging
- Show minimal console output
- Generate detailed analysis reports in
build/reports/claude/
Provides Claude Code agents and commands for build automation:
- build-logs-analyst agent: Parses Gradle/Maven build logs and extracts structured information
- build-and-summarize command: Runs builds with log capture and automated analysis
Outputs:
build/logs/- Timestamped build logsbuild/reports/claude/build-summary.md- Human-readable summarybuild/reports/claude/build-summary.json- Machine-readable structured data
Tool definitions are stored in tools.conf:
[tool-id]
name = Display Name
description = Short description
source = Source directory in this repo
target = Target subdirectory in the destination project
instructions_file = INSTRUCTIONS.md (optional)Special Features:
- Underscore files exclusion: Files starting with
_in the source directory are not copied - Instructions append: If
_add_instructions.mdexists in source andinstructions_fileis specified, its contents are appended to the target instructions file (idempotent - won't duplicate on reinstall) - Instructions validation: If
instructions_fileis specified, it must exist in the target directory before installation
- Create a directory for your tool (e.g.,
cursor/) - Add your tool's files (agents, commands, etc.)
- Add a tool definition to
tools.conf - Test with
./setup listand./setup <tool-id> <target-dir>
- Detection: Auto-detect Gradle (via
gradlew) or Maven (viamvnw/pom.xml) - Execution: Run build with appropriate flags
- Logging: Capture full output to timestamped log files
- Analysis: Parse logs using specialized agents
- Reporting: Generate structured artifacts (MD + JSON)
The build-logs-analyst agent detects build tools by signatures:
- Gradle:
> Task :,BUILD SUCCESSFUL,BUILD FAILED, Gradle Daemon messages - Maven:
[INFO]/[ERROR]/[WARNING]line prefixes,BUILD SUCCESS,BUILD FAILURE,[INFO] Reactor Summary
Extracted information includes:
- Build status and duration
- Failing tasks/goals with exceptions
- Test results per module
- Performance metrics (slowest tasks)
- Dependency and network issues
See CLAUDE.md for detailed architecture documentation and development guidelines.
Run the automated smoke tests to verify the setup script works correctly:
# Linux/macOS
./test-setup.sh
# Windows (PowerShell)
.\test-setup.ps1This will test installation, error handling, and basic functionality without modifying your system (uses a temporary directory).
Contributions are welcome! Please read CONTRIBUTING.md for guidelines on:
- Reporting issues
- Submitting changes
- Adding new tools
- Coding standards
Apache License 2.0 - See LICENSE for details.