Commit Graph

17 Commits

Author SHA1 Message Date
mithun50
43bfa0aa02 fix: add --system flag to uv pip install in workflows
Added --system flag to all uv pip install commands to fix
"No virtual environment found" error in GitHub Actions CI/CD.

UV requires either a virtual environment or the --system flag
in CI/CD environments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 18:09:37 +01:00
mithun50
32c0086d0f fix: correct package paths in publish-pypi workflow
Fixed package structure verification paths:
- Changed superclaude/ to src/superclaude/
- Updated Python path for version imports
- Added README-kr.md to quality check workflow

Fixes directory not found errors in CI/CD pipeline.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 17:59:29 +01:00
mithun50
8c0559ca9a feat: add comprehensive test suite, CI/CD workflows, and install command
Major improvements to SuperClaude Framework infrastructure and testing:

## New Features
- Add 'superclaude install' command to install slash commands (/research, /index-repo, /agent, /recommend)
- Create comprehensive test suite with 71 tests (70 passing, 1 skipped)
- Add GitHub Actions CI/CD workflows for automated testing
- Add essential documentation files (PLANNING.md, TASK.md, KNOWLEDGE.md)

## Testing
- tests/unit/: 59 tests covering PM Agent components
  - test_confidence.py: 13 tests for ConfidenceChecker
  - test_self_check.py: 14 tests for SelfCheckProtocol
  - test_reflexion.py: 9 tests for ReflexionPattern
  - test_token_budget.py: 12 tests for TokenBudgetManager
  - test_cli_install.py: 12 tests for install command (NEW)
- tests/integration/: 11 tests for pytest plugin integration
- tests/conftest.py: Shared fixtures for all tests

## CI/CD Workflows
- .github/workflows/test.yml: Comprehensive test matrix
  - Tests on Python 3.10, 3.11, 3.12
  - Lint and format checks with ruff
  - Pytest plugin verification
  - SuperClaude doctor health checks
  - Coverage reporting with Codecov
- .github/workflows/quick-check.yml: Fast PR validation (~2-3 min)
- .github/workflows/README.md: Workflow documentation

## Documentation
- PLANNING.md: Architecture, design principles, absolute rules
- TASK.md: Current tasks, priorities, backlog
- KNOWLEDGE.md: Accumulated insights, best practices, troubleshooting

## Bug Fixes
- Fix .gitignore contradictions (remove conflicting Claude Code patterns)
- Fix TokenBudgetManager to properly validate and default invalid complexity
- Update package.json version to 4.1.6 (sync with VERSION file)

## CLI Improvements
- src/superclaude/cli/install_commands.py: Command installation logic
- src/superclaude/cli/main.py: Add 'install' command with --list and --force options
- README.md: Update installation instructions with correct commands

## Breaking Changes
None - all changes are backwards compatible

## Migration Guide
Users should run 'superclaude install' after upgrading to install slash commands

Fixes #466 (indirectly by clarifying installation process)
Refs #419 (plugin system - documentation updated)

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:21:22 +01:00
habuchin
7c14a31bc3 Fix ModuleNotFoundError in PyPI publish workflow (#433)
## Problem
The v4.1.6 PyPI publish workflow is failing with `ModuleNotFoundError: No module named 'SuperClaude'`.

**Failed workflow runs:**
- 5 consecutive failures since v4.1.6 release

**Root cause:**
v4.1.6 partially fixed the module import but missed updating variable references:
-  Changed `import SuperClaude` → `import superclaude`
-  Left `SuperClaude.__version__` unchanged (should be `superclaude.__version__`)

## Changes

Fixed 2 remaining incorrect module references:

1. **Line 125** (deployment summary step):
   - `from SuperClaude import __version__` → `from superclaude import __version__`

2. **Line 164** (test installation step):
   - `SuperClaude.__version__` → `superclaude.__version__`

## Context

- **Package name** (PyPI): `SuperClaude` (used for `pip install SuperClaude`)
- **Module name** (Python): `superclaude` (used for `import superclaude`)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-15 18:32:27 +05:30
Mithun Gowda B
f973dc9ba7 Update publish-pypi.yml
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-10-14 15:01:36 +05:30
Mithun Gowda B
385c96c9d4 Update publish-pypi.yml
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-10-14 14:57:45 +05:30
Mithun Gowda B
fd1e5eda3f Update publish-pypi.yml
Signed-off-by: Mithun Gowda B <mithungowda.b7411@gmail.com>
2025-10-14 14:54:58 +05:30
sarosh
cd57278069 added spec-panel, which transforms the project specs though the lens … (#346)
Introduces a multi-expert specification review and improvement system
powered by renowned software engineering and specification experts. This
command transforms technical specifications through the lens of industry
  experts, providing actionable feedback and systematic improvement
  recommendations.

  🎯 Key Features

  Expert Panel System
  - 10 Industry Experts: Karl Wiegers, Gojko Adzic, Alistair Cockburn,
  Martin Fowler, Michael Nygard, Sam Newman, Gregor Hohpe, Lisa Crispin,
  Janet Gregory, and Kelsey Hightower
- Domain Specialization: Requirements engineering, architecture,
testing,
   compliance, and cloud-native patterns
  - Authentic Methodologies: Each expert applies their real-world
  frameworks and critique styles

  Analysis Modes
  - Discussion Mode: Collaborative improvement through expert dialogue
  - Critique Mode: Systematic review with prioritized recommendations
  - Socratic Mode: Learning-focused questioning for deeper understanding

  Focus Areas
  - Requirements: Clarity, completeness, testability validation
- Architecture: Interface design, scalability, maintainability analysis
  - Testing: Quality attributes, coverage, edge case identification
- Compliance: Regulatory requirements, security, operational excellence

  🔧 Technical Implementation

  Command Structure
  /sc:spec-panel [content|@file] [--mode discussion|critique|socratic]
  [--focus area] [--iterations N]

  MCP Integration
  - Sequential MCP: Expert panel coordination and structured analysis
  - Context7 MCP: Industry patterns and best practices
  - Persona System: Technical Writer, System Architect, Quality Engineer
  activation

  Quality Metrics
  - Clarity Score (0-10): Language precision and understandability
  - Completeness Score (0-10): Coverage of essential elements
  - Testability Score (0-10): Measurability and validation capability
  - Consistency Score (0-10): Internal coherence assessment

  📊 Output Examples

  Expert Critique Format
  KARL WIEGERS - Requirements Engineering:
   CRITICAL: Password complexity requirements not specified
  📝 RECOMMENDATION: Add requirement "System SHALL enforce password
  complexity: minimum 8 characters, mixed case, numbers"
  🎯 PRIORITY: High - Security vulnerability without standards
  📊 QUALITY IMPACT: +35% security compliance, +20% completeness

  Improvement Roadmap
  - Immediate: Critical security and clarity issues
  - Short-term: Architecture refinements and testing strategies
  - Long-term: Evolution planning and advanced optimizations

  🚀 Integration Patterns

  Workflow 
1. Generate specification using
https://github.com/github/spec-kit/blob/main/spec-driven.md
  2. Review and improve with expert panel
  3. Iterative refinement based on feedback

  CI/CD Integration
  - Specification validation in development workflow
  - Quality gate enforcement with automated checks
  - Version control integration for evolution tracking

  📈 Quality Impact

  Based on an example review:
  - Security Completeness: +35% improvement
  - Requirements Clarity: +14% improvement
  - Testability Score: +19% improvement
  - Production Readiness: +47% improvement
  - Overall Quality: +24% improvement

  🎓 Learning Features

  Educational Value
  - Socratic questioning mode for skill development
  - Expert methodology exposure and learning
  - Progressive specification writing guidance
  - Best practice pattern recognition

  Mentoring Integration
  - Step-by-step improvement guidance
  - Industry standard alignment
  - Professional specification writing techniques

  🔗 Files Changed

  - SuperClaude/Commands/spec-panel.md - Complete command specification

  🧪 Testing

  Includes comprehensive examples:
  - API specification review with security focus
  - Requirements workshop with collaborative analysis
  - Architecture validation with socratic questioning
  - Multi-iteration improvement workflows

This feature significantly enhances SuperClaude's specification analysis
  capabilities, providing professional-grade review and improvement
guidance through authentic expert perspectives and proven methodologies.
2025-09-09 20:31:56 +05:30
markm-io
82b92a1ca1 fix: Add missing toml dependency to prevent release version skipping
- Add toml package to build dependencies in publish-pypi.yml
- Prevents ModuleNotFoundError during version verification
- Fixes root cause of v4.0.8 version skipping issue
- Ensures reliable PyPI release workflow execution
2025-09-05 16:02:59 -05:00
SevenThRe
494e9e6b1a feat: Add complete multilingual README support with quality automation
- Add README-zh.md with full Chinese translation
- Add README-ja.md with full Japanese translation
- Update README.md with professional language selector
- Add GitHub Actions workflow for README quality checks
2025-08-28 16:24:29 +09:00
NomenAK
e8afb94163 Add comprehensive PyPI publishing infrastructure
## Version Management & Consistency
- Update to version 4.0.0b1 (proper beta versioning for PyPI)
- Add __version__ attribute to SuperClaude/__init__.py
- Ensure version consistency across pyproject.toml, __main__.py, setup/__init__.py

## Enhanced Package Configuration
- Improve pyproject.toml with comprehensive PyPI classifiers
- Add proper license specification and enhanced metadata
- Configure package discovery with inclusion/exclusion patterns
- Add development and test dependencies

## Publishing Scripts & Tools
- scripts/build_and_upload.py: Advanced Python script for building and uploading
- scripts/publish.sh: User-friendly shell wrapper for common operations
- scripts/validate_pypi_ready.py: Comprehensive validation and readiness checker
- All scripts executable with proper error handling and validation

## GitHub Actions Automation
- .github/workflows/publish-pypi.yml: Complete CI/CD pipeline
- Automatic publishing on GitHub releases
- Manual workflow dispatch for TestPyPI uploads
- Package validation and installation testing

## Documentation & Security
- PUBLISHING.md: Comprehensive PyPI publishing guide
- scripts/README.md: Detailed script usage documentation
- .env.example: Environment variable template
- Secure token handling with both .pypirc and environment variables

## Features
 Version consistency validation across all files
 Comprehensive PyPI metadata and classifiers
 Multi-environment publishing (TestPyPI + PyPI)
 Automated GitHub Actions workflow
 Security best practices for API token handling
 Complete documentation and troubleshooting guides
 Enterprise-grade validation and error handling

The SuperClaude Framework is now fully prepared for PyPI publication
with professional-grade automation, validation, and documentation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 15:15:51 +02:00
NomenAK
b2fc8965ce Delete .github/workflows directory
Signed-off-by: NomenAK <39598727+NomenAK@users.noreply.github.com>
2025-08-07 18:38:22 +02:00
NomenAK
1d03832f2d SuperClaude V4 Beta: Major framework restructuring
- Restructured core framework components
- Added new Agents, MCP servers, and Modes documentation
- Introduced SuperClaude-Lite minimal implementation
- Enhanced Commands with session management capabilities
- Added comprehensive Hooks system with Python integration
- Removed legacy setup and profile components
- Updated .gitignore to exclude Tests/, ClaudeDocs/, and .serena/
- Consolidated configuration into SuperClaude/Config/
- Added Templates for consistent component creation

This is the initial commit for the V4 Beta branch containing all recent framework improvements and architectural changes.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 13:59:17 +02:00
NomenAK
2fcb88aa9b Delete .github/workflows/claude-code-review.yml
Signed-off-by: NomenAK <39598727+NomenAK@users.noreply.github.com>
2025-07-15 16:46:05 +02:00
NomenAK
44c5615aa6 Delete .github/workflows/claude.yml
Signed-off-by: NomenAK <39598727+NomenAK@users.noreply.github.com>
2025-07-15 16:45:55 +02:00
NomenAK
468f70123c Claude Code Review workflow 2025-07-14 21:05:08 +02:00
NomenAK
359d0d28ee Claude PR Assistant workflow 2025-07-14 21:05:07 +02:00