Commit Graph

58 Commits

Author SHA1 Message Date
Affaan Mustafa
9bc587aaae 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.
2026-01-27 04:01:06 -08:00
Affaan Mustafa
0ced59a26b Merge pull request #91 from Hor1zonZzz/fix/readme-rules-limitation
docs: add note about rules limitation in plugin installation
2026-01-27 02:04:04 -08:00
Affaan Mustafa
2563d1e0ab Merge pull request #92 from jhsong-musinsa/fix/plugin-manifest-validation
fix: use array format for plugin manifest fields
2026-01-27 02:03:02 -08:00
Affaan Mustafa
5dc1edba49 Merge pull request #93 from pangerlkr/patch-3
Create PLUGIN_SCHEMA_NOTES.md
2026-01-27 02:02:03 -08:00
Panger Lkr
2aac2d9a98 Create PLUGIN_SCHEMA_NOTES.md
This PR documents and stabilizes the Claude Code plugin manifest schema based on real validator behavior observed in Issue #90.
2026-01-27 11:34:13 +05:30
송정훈(JH)
cdf987d5ae fix: use explicit file paths for agents in plugin.json
Fixes plugin installation validation error: "agents: Invalid input"

The plugin manifest validator requires explicit file paths for agents,
not directory paths. Changed format:
- "agents": "./agents" → explicit file path array
- Added version field (required by validator)
- Changed commands/skills to array format for consistency

This matches the format used by other working plugins (e.g.,
Parslee-ai/neo uses explicit file paths for agents).

Validated with: claude plugin validate .claude-plugin/plugin.json

Fixes #90

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 14:48:20 +09:00
m0_56676577
384b255ff8 docs: add note about rules limitation in plugin installation
The Claude Code plugin system does not support distributing rules
via plugins. Added a note to Option 1 (Plugin Installation) section
explaining this limitation and providing manual installation steps.

Closes #88

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 13:38:17 +08:00
Affaan Mustafa
accbb470cc feat: add proper header banner to shortform guide 2026-01-26 21:26:35 -08:00
Affaan Mustafa
ff67b03a25 feat: add images and rename guides to the-shortform-guide.md and the-longform-guide.md
- Renamed SHORTHAND-GUIDE.md to the-shortform-guide.md
- Renamed LONGFORM-GUIDE.md to the-longform-guide.md
- Added assets/images/shortform/ with 11 images for shorthand guide
- Added assets/images/longform/ with 10 images for longform guide
- Updated both guides with embedded images from original X articles
- Images include: hackathon tweet, command chaining, hooks, MCPs, plugins,
  tmux demo, GitHub PR review, Zed editor, VS Code extension, custom statusline,
  session storage, model selection table, pricing table, mgrep benchmark,
  Boris parallel terminals, two-terminal setup, and 25k stars celebration
2026-01-26 20:45:11 -08:00
Affaan Mustafa
7fc5ef1088 Merge pull request #83 from msyahidin/claude/add-golang-support-frw0Z
Excellent contribution adding comprehensive Go language support. Includes go-reviewer and go-build-resolver agents, TDD commands, and detailed Go patterns/testing skills.
2026-01-26 20:02:00 -08:00
Affaan Mustafa
779085e272 fix: add missing agents and hooks declarations to plugin.json
- Added agents field pointing to ./agents directory (10 agents)
- Added hooks field pointing to ./hooks/hooks.json
- These were supported but not declared, potentially causing
  agents not to load when installed as a plugin

Addresses part of #88 (rules still need manual install per
upstream limitation - filed anthropics/claude-code#21163)
2026-01-26 20:00:20 -08:00
Affaan Mustafa
5e1835a759 Merge pull request #81 from pangerlkr/patch-2
Adds Longform Guide as .md - completes #23
2026-01-26 19:57:42 -08:00
Affaan Mustafa
2abefe6553 Merge pull request #79 from pangerlkr/patch-1
Adds Shorthand Guide as .md - partially addresses #23
2026-01-26 19:57:38 -08:00
Affaan Mustafa
4bca615d32 Merge pull request #80 from lichengzhe/fix/stop-hook-shell-error
Fixes #78 - Stop hook shell syntax error on macOS/zsh by moving inline Node.js to separate script
2026-01-26 19:57:36 -08:00
Affaan Mustafa
a1f47f1fdf Merge pull request #85 from roeiba/add-license-file
Adding MIT LICENSE file - referenced in README but was missing
2026-01-26 19:57:33 -08:00
Roei Bar Aviv
01ad21b1d4 docs: add missing MIT LICENSE file 2026-01-26 14:07:14 +01:00
Claude
c6c32cdc7a 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.
2026-01-26 09:35:43 +00:00
Claude
75e1e46f3f 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.
2026-01-26 08:20:42 +00:00
Panger Lkr
2feac5aed5 docs: add The Longform Guide to Everything Claude Code 2026-01-26 09:32:09 +05:30
李成喆
a0b84f7b86 Fix: Move Stop hook inline code to separate script file
Fixes #78

## Problem
The Stop hook used inline JavaScript code with `node -e`, which caused
shell syntax errors on macOS/zsh due to special characters (parentheses,
braces, arrow functions) being misinterpreted by the shell.

Error message:
/bin/sh: -c: line 0: syntax error near unexpected token \`('

## Solution
- Created scripts/hooks/check-console-log.js with the hook logic
- Updated hooks/hooks.json to reference the external script
- This follows the same pattern as other hooks in the plugin

## Benefits
- Fixes shell compatibility issues across different environments
- Improves code maintainability (separate, well-documented script)
- Follows plugin's own best practices
- Makes the code easier to test and debug

## Testing
Tested on macOS with zsh - no more syntax errors.
The hook still functions correctly to detect console.log statements.
2026-01-26 12:00:39 +08:00
Panger Lkr
1564213dfe docs: add The Shorthand Guide to Everything Claude Code 2026-01-26 09:29:45 +05:30
Jeff Scott Ward
56ff5d444b 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>
2026-01-25 19:04:47 -08:00
Affaan Mustafa
5c63fa9006 feat: v1.1.0 release - session ID tracking, async hooks, new skills
- Add session ID to session filenames (Issue #62)
- Add getSessionIdShort() helper for unique per-session tracking
- Add async hooks documentation with example
- Create iterative-retrieval skill for progressive context refinement
- Add continuous-learning-v2 skill with instinct-based learning
- Add ecc.tools ecosystem section to README
- Update skills list in README

All 67 tests passing.
v1.1.0
2026-01-25 18:21:27 -08:00
Jeff Scott Ward
5670fcd34f Fix plugin manifest validation errors (#75)
Fixes plugin manifest validation errors caused by explicit agents field and incorrect tools format. Fixes #74
2026-01-25 17:38:25 -08:00
voovvaa
1c9fa0b8f8 Add hooks.md to documentation index (#40)
Docs: Add hooks.md reference to rules table
2026-01-25 15:46:04 -08:00
Panger Lkr
2bfd2fbbee feat: add cloud infrastructure security skill (#44)
Adds cloud infrastructure security skill with AWS/Vercel/Railway patterns
2026-01-25 15:45:24 -08:00
soilmass
fae9716c0a feat(agents): add database-reviewer agent with Supabase patterns (#48)
Adds comprehensive database-reviewer agent with Supabase PostgreSQL best practices
2026-01-25 15:44:54 -08:00
voovvaa
a2087a8193 fix: remove unnecessary .sh hooks (#41)
Cleanup: removes old .sh hooks since we now use the JS versions in scripts/hooks/
2026-01-25 15:44:52 -08:00
Affaan Mustafa
b9b7831ef5 fix: multiple community-reported issues
- feat(plugin.json): add agents declaration to make 9 agents visible
  in /agents command (fixes #66, closes PR #67)

- fix(backend-patterns): correct requirePermission HOF pattern to
  properly wrap handlers instead of expecting Request directly
  (fixes #54, closes PR #63)

- docs(user-CLAUDE): add privacy guideline about redacting secrets
  from logs before sharing (fixes #38, closes PR #39)

- fix(eval-harness): add mandatory frontmatter with name, description,
  and tools fields (closes PR #58)
2026-01-25 15:43:48 -08:00
Affaan Mustafa
660e0d3bad 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
2026-01-24 01:36:02 -08:00
Affaan Mustafa
a7bc5f2a90 revert: remove hooks declaration - auto-loaded by convention
Claude Code automatically loads hooks/hooks.json if it exists.
Declaring it in plugin.json causes "Duplicate hooks file" error.

Fixes #52
2026-01-23 22:27:21 -08:00
Affaan Mustafa
22ad036cb5 fix: add hooks declaration to plugin.json for proper hook loading
Previously hooks were not loaded when the plugin was installed because
plugin.json didn't declare the hooks path. This caused errors like:
"Stop hook error: .../skills/continuous-learning/evaluate-session.sh: No such file"

The hooks are defined in hooks/hooks.json and use JS implementations in
scripts/hooks/ directory.
2026-01-23 20:47:22 -08:00
gzb1128
5230892ee8 fix: remove version fields from marketplace.json
Removes remaining version fields from marketplace.json to fully enable automatic plugin updates via git SHA.

Fixes #36
2026-01-22 23:14:23 -08:00
zerx-lab
970f8bf884 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
2026-01-22 23:08:07 -08:00
gzb1128
4ec7a6b15a fix: remove version field to enable automatic plugin updates
Remove the static `version: "1.0.0"` field from plugin.json to enable
Claude Code's git SHA-based version detection and automatic updates.

Previously, the presence of a version field caused Claude Code to use
static version string comparison instead of git commit SHA comparison,
preventing `/plugin update` from detecting new commits.

This change aligns with the pattern used by all official Anthropic
plugins in claude-plugins-official marketplace.

Fixes #33
2026-01-22 22:31:20 -08:00
Affaan Mustafa
0d438dd042 style: side-by-side guide layout matching profile README 2026-01-22 22:29:06 -08:00
Affaan Mustafa
7f4f622517 feat: add star history chart and minimal badge bar 2026-01-22 22:19:01 -08:00
Affaan Mustafa
c3f1594acd fix: move session-end hooks from Stop to SessionEnd
Stop hook fires after every response, SessionEnd fires only when
session actually terminates. This was causing session-end.sh and
evaluate-session.sh to run on every response instead of at session end.

Fixes issue reported by user about hooks triggering every response.
2026-01-22 21:06:23 -08:00
Affaan Mustafa
19345df79d fix: remove duplicate hooks field from plugin.json
Claude Code automatically loads hooks/hooks.json from the plugin directory.
Explicitly specifying it in plugin.json causes a duplicate hooks error:

  Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded
  file .../hooks/hooks.json. The standard hooks/hooks.json is loaded
  automatically, so manifest.hooks should only reference additional hook files.

Fixes #29
2026-01-22 16:45:07 -08:00
Affaan Mustafa
73bda1aad6 fix: use ${CLAUDE_PLUGIN_ROOT} for hook script paths
Relative paths like ./hooks/... fail when the plugin is installed
because hooks run in the project directory, not the plugin directory.
Using ${CLAUDE_PLUGIN_ROOT} ensures scripts are found regardless of
where the plugin is installed.

Fixed paths:
- hooks/strategic-compact/suggest-compact.sh
- hooks/memory-persistence/pre-compact.sh
- hooks/memory-persistence/session-start.sh
- hooks/memory-persistence/session-end.sh
- skills/continuous-learning/evaluate-session.sh
2026-01-22 16:42:04 -08:00
Affaan Mustafa
ecfbbd3da1 fix: use relative path './' for plugin source instead of GitHub object
Using './' lets Claude Code use the already-cloned marketplace repo
directly instead of fetching from GitHub again. This avoids potential
double-fetch issues and simplifies the installation.
2026-01-22 15:02:48 -08:00
Affaan Mustafa
ee5affbdbd fix: remove agents field temporarily to debug validation 2026-01-22 13:37:10 -08:00
Affaan Mustafa
d362ae65eb fix: use string format for repository field in plugin.json 2026-01-22 13:35:57 -08:00
Affaan Mustafa
9e8006c8ca fix: use GitHub source object in marketplace.json
Fixes 'Invalid schema: plugins.0.source: Invalid input' error when
installing via /plugin marketplace add. The source field needs to be
a GitHub source object, not a relative path, when the plugin is at
the repo root.
2026-01-22 13:14:19 -08:00
Affaan Mustafa
5010f82c3e 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
v1.0.0
2026-01-22 04:16:49 -08:00
Affaan Mustafa
4491f15577 Clarify README description of the repository 2026-01-21 12:23:50 -08:00
Affaan Mustafa
e6440d32b8 docs: restructure README to flow shorthand → longform guides together 2026-01-21 12:05:58 -08:00
Affaan Mustafa
fa0928a3d7 Enhance README with update section and resources
Added update section with an image and a link to a guide.
2026-01-21 11:40:43 -08:00
Affaan Mustafa
2d6fd7007e feat: add strategic-compact hook and update hooks.json with all hooks 2026-01-20 19:57:05 -08:00
Affaan Mustafa
f96ef1e6ab feat: add memory persistence hooks and context files 2026-01-20 18:51:09 -08:00