Commit Graph

50 Commits

  • Merge pull request #309 from cookiee339/feat/kotlin-ecosystem
    feat(kotlin): add Kotlin/Ktor/Exposed ecosystem
  • feat: add /aside command (#407)
    * Introduces /aside — a mid-task side conversation command inspired by
      Claude Code's native /btw feature. Allows users to ask a question while
      Claude is actively working without losing task context or touching any files.
    
      Key behaviors:
      - Freezes current task state before answering (read-only during aside)
      - Delivers answers in a consistent ASIDE / Back to task format
      - Auto-resumes the active task after answering
      - Handles edge cases: no question given, answer reveals a blocker,
        question implies a task redirect, chained asides, ambiguous questions,
        and answers that suggest code changes without making them
    
    * Two documentation inconsistencies fixed:
    
    * Fixed 4 pre-existing lint errors in skills/videodb/ that were causing  CI to fail across all PR checks:  - api-reference.md: add blockquote continuation line to fix MD028  - capture-reference.md: wrap bare URL to fix MD034  - SKILL.md: wrap bare URL to fix MD034
  • feat(skills): add prompt-optimizer skill and /prompt-optimize command (#418)
    * feat(skills): add prompt-optimizer skill and /prompt-optimize command
    
    Adds a prompt-optimizer skill that analyzes draft prompts, matches them
    to ECC components (skills/commands/agents), and outputs a ready-to-paste
    optimized prompt. Advisory role only — never executes the task.
    
    Features:
    - 6-phase analysis pipeline (project detection, intent, scope, component
      matching, missing context, workflow + model recommendation)
    - Auto-detects project tech stack from package.json, go.mod, etc.
    - Maps intents to ECC commands, skills, and agents by type and tech stack
    - Recommends correct model tier (Sonnet vs Opus) based on task complexity
    - Outputs Full + Quick versions of the optimized prompt
    - Hard gate: never executes the task, only produces advisory output
    - AskUserQuestion trigger when 3+ critical context items are missing
    - Multi-prompt splitting guidance for HIGH/EPIC scope tasks
    - Feedback footer for iterative refinement
    
    Also adds /prompt-optimize command as an explicit invocation entry point.
    
    * fix: keep prompt optimizer advisory-only
    
    * fix: refine prompt optimizer guidance
    
    ---------
    
    Co-authored-by: Affaan Mustafa <affaan@dcube.ai>
  • docs: update session file path in save-session command documentation
    Revised the documentation for the `/save-session` command to reflect the actual resolved path to the session file, enhancing clarity for users regarding where their session data is stored. This change aligns with previous updates to session file management.
  • docs: update session file paths in save-session and resume-session commands
    Revised the documentation for both the  and  commands to clarify that session files are saved and loaded from the project-level  directory, rather than the global  directory. This change enhances user understanding of session management and ensures consistency in file path references.
  • docs: clarify session file paths and usage in resume-session command
    Updated the documentation for the `/resume-session` command to specify that session files are loaded from the project-level `.claude/sessions/` directory first, with a fallback to the global `~/.claude/sessions/` directory. Enhanced usage examples and clarified the process for locating session files, improving user understanding of session management.
  • docs: enhance session file naming guidelines in save-session command
    Updated the documentation for the `/save-session` command to include detailed rules for generating the session short-id, including allowed characters, minimum length, and examples of valid and invalid formats. This improves clarity and helps users adhere to the required naming conventions.
  • fix: update session file paths to use the home directory
    Updated the documentation for the `/resume-session` and `/save-session` commands to reflect the correct file paths, changing references from `.claude/sessions/` to `~/.claude/sessions/`. This ensures clarity on the global directory used for session management and maintains consistency across commands.
  • feat: add resume and save session commands for session management
    Introduced two new commands: `/resume-session` and `/save-session`. The `/resume-session` command allows users to load the most recent session file or a specific session file, providing a structured briefing of the session's context. The `/save-session` command captures the current session state, saving it to a dated file for future reference. Both commands enhance user experience by enabling seamless session continuity and context preservation.
  • fix: resolve markdownlint MD001 heading level violation
    Change h4 (####) to h3 (###) for sub-steps 5a and 5b to comply with
    heading increment rule (headings must increment by one level at a time).
  • feat(commands): improve learn-eval with checklist-based holistic verdict
    Replace the 5-dimension numeric scoring rubric with a checklist + holistic
    verdict system (Save / Improve then Save / Absorb into [X] / Drop).
    
    Key improvements:
    - Explicit pre-save checklist: grep skills/ for duplicates, check MEMORY.md,
      consider appending to existing skills, confirm reusability
    - 4-way verdict instead of binary save/don't-save: adds "Absorb into [X]"
      to prevent skill file proliferation, and "Improve then Save" for iterative
      refinement
    - Verdict-specific confirmation flows tailored to each outcome
    - Design rationale explaining why holistic judgment outperforms numeric
      scoring with modern frontier models
  • fix(commands): make ace-tool MCP optional in multi-* commands with built-in fallbacks
    The multi-* commands (multi-plan, multi-execute, multi-workflow, multi-backend,
    multi-frontend) previously required ace-tool MCP (Augment Code) which is a paid
    service. This change makes ace-tool completely optional by:
    
    - Changing "MUST call" to "If ace-tool MCP is available" for enhance_prompt
    - Changing mandatory search_context calls to optional with fallback procedures
    - Adding detailed fallback instructions using Claude Code built-in tools
      (Glob, Grep, Read, Task/Explore agent) when ace-tool is unavailable
    - Updating all translations (ja-JP, zh-CN) to match
    
    This ensures multi-* commands work out of the box without ace-tool MCP configured.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
  • fix: resolve CI failures on main — lint, hooks validator, and test alignment
    - Fix MD012 trailing blank lines in commands/projects.md and commands/promote.md
    - Fix MD050 strong-style in continuous-learning-v2 (escape __tests__ as inline code)
    - Extract doc-file-warning hook to standalone script to fix hooks validator regex parsing
    - Update session-end test to match #317 behavior (always update summary content)
    - Allow shell script hooks in integration test format validation
    
    All 992 tests passing.
  • feat: project-scoped instinct isolation
    * feat: add project-scoped instinct isolation
    
    * fix(continuous-learning-v2): harden instinct loading and promotion safety; sync v2.1 command docs
    
    * fix(ci): make copilot-setup-steps a valid GitHub Actions workflow
    
    * fix(hooks): stabilize docs warning inline JS regex parsing
  • Merge pull request #233 from andydiaz122/nano_claw_v1
    LGTM — NanoClaw agent REPL. Safe, uses only local Claude CLI, good input validation, includes tests.
  • feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)
    ECC community plugin pruning: removed 530+ non-essential files
    (.cursor/, .opencode/, docs/ja-JP, docs/zh-CN, docs/zh-TW,
    language-specific skills/agents/rules). Retained 4 agents,
    3 commands, 5 skills. Promoted 13 rule files (8 common + 5
    typescript) to .claude/rules/ for CC native loading. Extracted
    reusable patterns to EXTRACTED-PATTERNS.md.
  • feat: add NanoClaw agent REPL — persistent session-aware CLI for ECC
    Implements a barebones agent loop that delegates to `claude -p` with
    markdown-as-database session persistence and ECC skill context loading.
    Zero external dependencies, ~264 lines of pure Node.js CommonJS.
    
    - scripts/claw.js: core module (storage, context, delegation, REPL)
    - commands/claw.md: slash command definition with usage docs
    - tests/scripts/claw.test.js: 14 unit tests covering all modules
    - package.json: add claw script and files entry
    - tests/run-all.js: register claw tests in test manifest
  • fix: broken cross-references, version sync, and enhanced command validator
    - Fix /build-and-fix → /build-fix in tdd.md, plan.md (+ cursor, zh-CN)
    - Fix non-existent explorer agent → planner in orchestrate.md (+ cursor, zh-CN, zh-TW)
    - Fix /python-test → /tdd in python-review.md (+ cursor, zh-CN)
    - Sync package.json version from 1.0.0 to 1.4.1 to match plugin.json
    - Enhance validate-commands.js with cross-reference checking:
      command refs, agent path refs, skill dir refs, workflow diagrams
    - Strip fenced code blocks before scanning to avoid false positives
    - Skip hypothetical "Creates:" lines in evolve.md examples
    - Add 46 new tests (suggest-compact, session-manager, utils, hooks)
  • fix: skip code blocks in command cross-reference validation
    The validator was matching example/template content inside fenced code
    blocks as real cross-references, causing false positives for evolve.md
    (example /new-table command and debugger agent).
    
    - Strip ``` blocks before running cross-reference checks
    - Change evolve.md examples to use bold instead of backtick formatting
      for hypothetical outputs
    
    All 261 tests pass.
  • docs: enhance 5 thin commands and add Rust API example
    Commands enhanced with multi-language support, error recovery strategies,
    and structured step-by-step workflows:
    - build-fix: build system detection table, fix loop, recovery strategies
    - test-coverage: framework detection, test generation rules, before/after report
    - refactor-clean: safety tiers (SAFE/CAUTION/DANGER), multi-language tools
    - update-codemaps: codemap format spec, diff detection, metadata headers
    - update-docs: source-of-truth mapping, staleness checks, generated markers
    
    New example:
    - rust-api-CLAUDE.md: Axum + SQLx + PostgreSQL with layered architecture,
      thiserror patterns, compile-time SQL verification, integration test examples
  • fix(sessions): resolve require() paths for plugin installations (#200)
    Replace relative require('./scripts/lib/...') with dynamic path resolution
    using CLAUDE_PLUGIN_ROOT env var (set by Claude Code for plugins) with
    fallback to ~/.claude/ for manual installations. This fixes /sessions
    command failing when ECC is installed as a plugin.
  • fix: use 4-backtick fences for nested code blocks
    Use quadruple backticks to properly fence markdown content containing
    triple-backtick code blocks, resolving markdownlint MD041 violations.
  • fix: resolve markdownlint issues in documentation
    - Remove trailing whitespace from inline code
    - Add blank line before table
    - Fix heading levels to ensure proper hierarchy
    - Convert bare URLs to markdown links
  • feat: add pm2 and multi-agent orchestration commands
    Add 6 new command files:
    - pm2.md: PM2 process management for running multiple services
    - multi-plan.md: Multi-agent planning orchestration
    - multi-execute.md: Multi-agent parallel execution
    - multi-backend.md: Backend-focused multi-agent workflow
    - multi-frontend.md: Frontend-focused multi-agent workflow
    - multi-workflow.md: General multi-agent workflow coordination
    
    Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
  • fix: correct markdown code block syntax in go-test.md
    * fix: correct markdown code block syntax in go-test.md
    
    * fix: remove language specifier from markdown code block in go-test.md
    
    ---------
    
    Co-authored-by: neo <neo.dowithless@gmail.com>
  • feat: add /sessions command for session history management (#142)
    Add a new /sessions command to manage Claude Code session history with
    alias support for quick access to previous sessions.
    
    Features:
    - List sessions with pagination and filtering (by date, ID)
    - Load and view session content and metadata
    - Create memorable aliases for sessions
    - Remove aliases
    - Display session statistics (lines, items, size)
    - List all aliases
    
    New libraries:
    - scripts/lib/session-manager.js - Core session CRUD operations
    - scripts/lib/session-aliases.js - Alias management with atomic saves
    
    New command:
    - commands/sessions.md - Complete command with embedded scripts
    
    Modified:
    - scripts/lib/utils.js - Add getAliasesPath() export
    - scripts/hooks/session-start.js - Show available aliases on session start
    
    Session format support:
    - Old: YYYY-MM-DD-session.tmp
    - New: YYYY-MM-DD-<short-id>-session.tmp
    
    Aliases are stored in ~/.claude/session-aliases.json with Windows-
    compatible atomic writes and backup support.
    
    Co-authored-by: 王志坚 <wangzhijian10@bgyfw.com>
    Co-authored-by: Claude <noreply@anthropic.com>
  • feat: add Python/Django support and enhance READMEs (#139)
    ## Python Support
    - **agents/python-reviewer.md**: Expert Python code review agent with PEP 8 compliance, type hints, security, and performance checks
    - **commands/python-review.md**: Slash command for automated Python code review with ruff, mypy, pylint, black, bandit
    - **skills/python-patterns/SKILL.md**: Python idioms, type hints, error handling, context managers, decorators, concurrency
    - **skills/python-testing/SKILL.md**: pytest configuration, fixtures, parametrization, mocking, async testing, TDD methodology
    
    ## Django Support
    - **skills/django-patterns/SKILL.md**: Django architecture, DRF patterns, project structure, QuerySets, serializers, ViewSets, service layer, caching
    - **skills/django-security/SKILL.md**: Django security best practices, authentication, CSRF, SQL injection, XSS prevention, production settings
    - **skills/django-tdd/SKILL.md**: Django testing with pytest-django, Factory Boy, model testing, API testing, integration testing
    - **skills/django-verification/SKILL.md**: Pre-deployment verification loop including migrations, tests, security scans, performance checks
    
    ## Documentation Enhancements
    - **Quick Start**: Added 3-step quick start guide to all READMEs (EN, zh-CN, zh-TW)
    - **Beautification**: Added emoji icons for better visual hierarchy across all READMEs
    - **.claude-plugin/plugin.json**: Added python-reviewer to agents list
    
    All files follow project conventions with proper frontmatter, markdown formatting, and comprehensive code examples.
    
    Co-authored-by: Freakz3z <freakk@FreakkdeMacBook-Air.local>
    Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
  • fix: use CLAUDE_PLUGIN_ROOT for continuous-learning-v2 paths
    Fixes #113
    
    The instinct commands referenced hardcoded paths that only work with
    manual installation (~/.claude/skills/...). When installed as a plugin,
    files are at ~/.claude/plugins/cache/.../skills/...
    
    Changes:
    - Updated instinct-status, instinct-import, evolve commands to use
      ${CLAUDE_PLUGIN_ROOT} with fallback to manual path
    - Updated observe.sh hook documentation with both install methods
    - Updated SKILL.md with plugin vs manual installation instructions
    - Removed duplicate commands from skills/continuous-learning-v2/commands/
      (already exist in commands/)
    
    Users should use ${CLAUDE_PLUGIN_ROOT} in their hooks config when
    installed as a plugin.
  • feat: add skill-create and continuous-learning-v2 commands
    New commands:
    - /skill-create: Local git history analysis to generate SKILL.md files
    - /instinct-status: Show learned instincts with confidence levels
    - /instinct-import: Import instincts from files or repos
    - /instinct-export: Export instincts for sharing
    - /evolve: Cluster instincts into skills/commands/agents
    
    These integrate the continuous-learning-v2 system and provide a local
    alternative to the Skill Creator GitHub App for pattern extraction.
  • fix: add language labels to fenced code blocks for MD040 compliance
    Add `text` language identifier to unlabeled fenced code blocks
    to satisfy markdownlint MD040 rule across Go documentation files.
  • feat: add comprehensive Golang language support
    Add Go-specific agents, skills, and commands for idiomatic Go development:
    
    Agents:
    - go-reviewer: Go code review for concurrency, error handling, security
    - go-build-resolver: Fix Go build errors with minimal changes
    
    Skills:
    - golang-patterns: Idiomatic Go patterns, best practices, conventions
    - golang-testing: TDD, table-driven tests, benchmarks, fuzzing
    
    Commands:
    - /go-review: Invoke Go code reviewer
    - /go-test: Go TDD workflow with coverage
    - /go-build: Fix Go build/vet/lint errors
    
    Also updates README.md to document the new Go support.
  • feat: cross-platform support with Node.js scripts
    - Rewrite all bash hooks to Node.js for Windows/macOS/Linux compatibility
    - Add package manager auto-detection (npm, pnpm, yarn, bun)
    - Add scripts/lib/ with cross-platform utilities
    - Add /setup-pm command for package manager configuration
    - Add comprehensive test suite (62 tests)
    
    Co-authored-by: zerx-lab
  • feat: package as Claude Code plugin with marketplace distribution
    - Add .claude-plugin/plugin.json manifest for direct installation
    - Add .claude-plugin/marketplace.json for marketplace distribution
    - Reorganize skills to proper skill-name/SKILL.md format
    - Update hooks.json with relative paths for portability
    - Add new skills: continuous-learning, strategic-compact, eval-harness, verification-loop
    - Add new commands: checkpoint, eval, orchestrate, verify
    - Update README with plugin installation instructions
    
    Install via:
      /plugin marketplace add affaan-m/everything-claude-code
      /plugin install everything-claude-code@everything-claude-code
  • feat: add continuous learning skill with session examples
    Stop hook-based pattern extraction - no README, comments in .sh file.
  • Initial release: Complete Claude Code configuration collection
    Battle-tested configs from 10+ months of daily Claude Code usage.
    Won Anthropic x Forum Ventures hackathon building zenith.chat.
    
    Includes:
    - 9 specialized agents (planner, architect, tdd-guide, code-reviewer, etc.)
    - 9 slash commands (tdd, plan, e2e, code-review, etc.)
    - 8 rule files (security, coding-style, testing, git-workflow, etc.)
    - 7 skills (coding-standards, backend-patterns, frontend-patterns, etc.)
    - Hooks configuration (PreToolUse, PostToolUse, Stop)
    - MCP server configurations (15 servers)
    - Plugin/marketplace documentation
    - Example configs (project CLAUDE.md, user CLAUDE.md, statusline)
    
    Read the full guide: https://x.com/affaanmustafa/status/2012378465664745795