Commit Graph

14 Commits

  • refactor: slim down 4 remaining oversized agents (73% reduction)
    - go-build-resolver: 368 -> 94 lines (-74%), references golang-patterns skill
    - refactor-cleaner: 306 -> 85 lines (-72%), removed project-specific rules & templates
    - tdd-guide: 280 -> 80 lines (-71%), references tdd-workflow skill
    - go-reviewer: 267 -> 76 lines (-72%), references golang-patterns skill
    
    Combined with prior round: 10 agents optimized, 3,710 lines saved total.
    All agents now under 225 lines. Largest: code-reviewer (224).
  • refactor: move embedded patterns from agents to skills (#174)
    Reduces the 6 largest agent prompts by 79-87%, saving ~2,800 lines
    that loaded into subagent context on every invocation.
    
    Changes:
    - e2e-runner.md: 797 → 107 lines (-87%)
    - database-reviewer.md: 654 → 91 lines (-86%)
    - security-reviewer.md: 545 → 108 lines (-80%)
    - build-error-resolver.md: 532 → 114 lines (-79%)
    - doc-updater.md: 452 → 107 lines (-76%)
    - python-reviewer.md: 469 → 98 lines (-79%)
    
    Patterns moved to on-demand skills (loaded only when referenced):
    - New: skills/e2e-testing/SKILL.md (Playwright patterns, POM, CI/CD)
    - Existing: postgres-patterns, security-review, python-patterns
  • docs: add hooks guide, expand planner agent, add Django example
    - Add hooks/README.md: comprehensive hook documentation with input schema,
      customization guide, 4 ready-to-use hook recipes, and cross-platform notes
    - Expand planner agent with full worked example (Stripe subscriptions plan)
      and sizing/phasing guidance (119 → 212 lines)
    - Add Django REST API example config (DRF + Celery + pytest + Factory Boy)
    - Update README directory tree with new files
  • docs: improve README with agent guide, FAQ, and fix component counts
    - Fix inaccurate counts: 13 agents (was 15+), 34 skills (was 30+), 31 commands (was 30)
    - Add "Which Agent Should I Use?" decision table with common workflows
    - Add FAQ section addressing top recurring issues (hooks, context window, cross-platform)
    - Add 5 missing skills and 7 missing commands to directory tree listing
    - Expand code-reviewer agent with React/Next.js, Node.js patterns, and confidence filtering
    - Add real-world SaaS example (Next.js + Supabase + Stripe) in examples/
  • fix: resolve multiple reported issues (#205, #182, #188, #172, #173) (#207)
    * fix: resolve multiple reported issues (#205, #182, #188, #172, #173)
    
    - fix(observe.sh): replace triple-quote JSON parsing with stdin pipe to
      prevent ~49% parse failures on payloads with quotes/backslashes/unicode
    - fix(hooks.json): correct matcher syntax to use simple tool name regexes
      instead of unsupported logical expressions; move command/path filtering
      into hook scripts; use exit code 2 for blocking hooks
    - fix(skills): quote YAML descriptions containing colons in 3 skill files
      and add missing frontmatter to 2 skill files for Codex CLI compatibility
    - feat(rules): add paths: filters to all 15 language-specific rule files
      so they only load when working on matching file types
    - fix(agents): align model fields with CONTRIBUTING.md recommendations
      (opus for planner/architect, sonnet for reviewers/workers, haiku for
      doc-updater)
    
    * ci: use AgentShield GitHub Action instead of npx
    
    Switch from npx ecc-agentshield to uses: affaan-m/agentshield@v1
    for proper GitHub Action demo and marketplace visibility.
  • 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: 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.
  • fix: use correct unscoped agent-browser package name (#77)
    * fix: use correct unscoped agent-browser package name
    
    The @anthropic-ai/agent-browser package does not exist on npm.
    The correct package is the unscoped 'agent-browser' from Vercel Labs (v0.7.6).
    
    Fixes the issue noted in PR #75 review comment.
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
    
    * fix: correct agent-browser API to match actual package exports
    
    - Change AgentBrowser to BrowserManager (correct export name)
    - Update documentation to show actual CLI-based usage pattern
    - Add snapshot + refs system examples (the real agent-browser API)
    - Add programmatic BrowserManager API for advanced use cases
    - Show CLI wrapper approach for script integration
    
    The agent-browser package from Vercel is primarily a CLI tool,
    not a JavaScript library with semantic methods. This corrects
    the documentation to match the actual package API.
    
    Fixes CodeRabbit review comment about incorrect import/export.
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
  • Fix plugin manifest validation errors (#75)
    Fixes plugin manifest validation errors caused by explicit agents field and incorrect tools format. Fixes #74
  • feat(agents): add database-reviewer agent with Supabase patterns (#48)
    Adds comprehensive database-reviewer agent with Supabase PostgreSQL best practices
  • fix: security and documentation fixes
    - fix(utils.js): prevent command injection in commandExists() by using
      spawnSync instead of execSync with string interpolation, and validate
      input to only allow alphanumeric chars, dash, underscore, dot (#42)
    
    - fix(utils.js): add security documentation to runCommand() warning
      against passing user-controlled input
    
    - fix(setup-package-manager.js): replace <script> and <binary> with
      [script-name] and [binary-name] to avoid XSS scanner false positives (#43)
    
    - fix(doc-updater.md): replace invalid 'npx ts-morph' with correct
      'npx tsx scripts/codemaps/generate.ts' since ts-morph is a library,
      not a CLI tool (#51)
    
    Fixes #42, #43, #51
  • 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