Commit Graph

42 Commits

Author SHA1 Message Date
Tobin South
e97b983948 docs(ralph-loop): add Windows compatibility section
Retargeted from PR #124 (originally against plugins/ralph-wiggum/,
since renamed). Documents the Git Bash workaround for Windows users
hitting WSL bash resolution issues in the stop hook.

Original author: @stefanzvonar
2026-03-16 12:49:52 -07:00
Tobin South
4f0a09875b Merge PR #497: Fix empty array crash on bash 3.2 in setup-ralph-loop.sh 2026-03-16 12:49:30 -07:00
Tobin South
f3f13c4499 Merge PR #116: fix(plugin-dev): add missing .claude-plugin/plugin.json 2026-03-16 12:49:30 -07:00
Claude
c96abc73df Add Apache 2.0 LICENSE to ruby-lsp plugin 2026-03-13 17:06:01 +00:00
Daisy S. Hollman
00f13a5f46 Merge pull request #106 from obahareth/main
Add Ruby LSP plugin with inline lspServers configuration
2026-03-10 13:21:32 -07:00
sfishman
028eccf544 address review: bound grep to tail -n 100; restore explicit error paths
- Split pipeline into two steps (extract lines, then parse) mirroring the
  original structure.
- set +e around the jq call so failures reach the $? check instead of
  aborting under set -e.
- The "no text content" branch remains removed (that was the original bug —
  all-tool-use turns now correctly yield empty text and the loop continues).
2026-03-04 00:25:42 +00:00
LuciferDono
acd3701274 Fix empty array crash on bash 3.2 in setup-ralph-loop.sh 2026-03-04 00:26:10 +05:30
sfishman
8644df9ad5 fix(ralph-loop): isolate loop state to the session that started it
The state file lives at .claude/ralph-loop.local.md — project-scoped,
not session-scoped. The plugin's Stop hook fires in every Claude Code
session open in that project directory. So if session A starts a loop,
session B's Stop events also find the state file and block, feeding A's
prompt into B and consuming A's iteration budget.

This was masked by the transcript-parsing bug fixed in the previous
commit: that bug deleted the state file on the first Stop in any
session, so neither session looped. Fixing it exposed the leak.

Fix: setup writes CLAUDE_CODE_SESSION_ID into the frontmatter; the hook
compares against .session_id from its stdin JSON and exits silently on
mismatch. State files without session_id (written by old setup scripts)
fall through to preserve existing behavior.
2026-03-02 22:52:00 +00:00
sfishman
adfc379663 fix(ralph-loop): stop hook fails when last assistant block is tool_use
Claude Code writes each assistant content block (text/tool_use/thinking)
as its own JSONL line. The hook's `grep role:assistant | tail -1` would
grab whichever block happened to be last — often tool_use — then jq's
text filter returned empty string, triggering the 'no text content' path
which deletes the state file and exits without blocking.

Net effect: the loop silently never fires. In one observed session, 62%
of assistant lines were tool_use-only; the hook deleted state on the
very first Stop event every time.

Fix: slurp all assistant lines with jq -rs, flatten to text blocks only,
take the last. Empty result is now non-fatal — no text means no <promise>
tag, so the loop continues. Also absorbs jq parse errors (control chars
in text) via || fallback instead of aborting under set -e.
2026-03-02 20:39:50 +00:00
Kenshiro Nakagawa
e05013d229 chore(skill-creator): update to latest skill-creator 2026-02-24 17:14:53 -08:00
Claude
aecd4c852f Add Apache 2.0 LICENSE files to all internal plugins
- Added Apache 2.0 license to the root of each plugin directory
- Ensures compliance with open-source licensing requirements
2026-02-20 01:06:49 +00:00
Kenshiro Nakagawa
30975e61e3 Add skill-creator plugin 2026-02-17 17:07:09 -08:00
Dickson Tsai
236752ad9a Merge pull request #339 from anthropics/dickson/kebab-case-skill-names
Use lower-kebab-case for SKILL.md names in hookify and plugin-dev
2026-02-05 13:57:52 -08:00
Dickson Tsai
2438937b32 Use lower-kebab-case for SKILL.md names in hookify and plugin-dev
Skills and commands are now merged, so SKILL.md name fields surface
in the UI as slash commands. Upper Space names like 'Hook Development'
become '/Hook Development', which doesn't work since user-invoked
commands don't support spaces.

Rename all affected SKILL.md name fields to lower-kebab-case:
- hookify: Writing Hookify Rules -> writing-hookify-rules
- plugin-dev: Agent Development -> agent-development
- plugin-dev: Command Development -> command-development
- plugin-dev: Hook Development -> hook-development
- plugin-dev: MCP Integration -> mcp-integration
- plugin-dev: Plugin Settings -> plugin-settings
- plugin-dev: Plugin Structure -> plugin-structure
- plugin-dev: Skill Development -> skill-development

Also update references in plugin-dev/README.md.
2026-02-05 09:21:57 -08:00
Dickson Tsai
82d041227f Fix YAML frontmatter parsing errors in agent description fields
Use YAML block scalars (|) for multi-line description fields that contain
<example> blocks with colons and special characters. Without block scalars,
the YAML parser fails because it interprets lines like 'user:' and
'assistant:' as new key-value pairs.

Affected files:
- plugins/plugin-dev/agents/agent-creator.md
- plugins/plugin-dev/agents/skill-reviewer.md
- plugins/plugin-dev/agents/plugin-validator.md
- plugins/pr-review-toolkit/agents/code-simplifier.md
2026-02-04 15:59:39 -08:00
Thariq Shihipar
4e459fbe74 Rename artifact plugin to playground 2026-01-29 15:24:01 -08:00
Thariq Shihipar
14aa27503d Add instruction to open artifact in browser after creation 2026-01-29 12:42:21 -08:00
Thariq Shihipar
54402a7c90 Replace writing-tool template with document-critique template
- Add document-critique.md template for review artifacts with
  approve/reject/comment workflow
- Remove writing-tool.md template
- Update SKILL.md to reference new template
2026-01-29 01:16:26 -08:00
Thariq Shihipar
09e3d78e31 Add code-map template to artifact skill 2026-01-29 01:01:59 -08:00
Thariq Shihipar
b7d10513cd Add diff-review template to artifact skill 2026-01-29 01:00:36 -08:00
Thariq Shihipar
21256d1605 Add artifact plugin
Adds a skill for creating interactive HTML artifacts — self-contained
single-file explorers with visual controls, live preview, and prompt
output with copy button.

Includes templates for:
- Design playgrounds (components, layouts, spacing, color, typography)
- Data explorers (SQL, APIs, pipelines, regex)
- Concept maps (learning, exploration, relationships)
- Writing tools (tone, structure, audience)
2026-01-29 00:27:35 -08:00
Isabella He
146d4788ff merge slash commands and skills 2026-01-20 20:15:08 -08:00
Isabella He
6efe83162f fix plugin.json description 2026-01-20 13:11:06 -08:00
Isabella He
3c1e3212f6 add marketplace.json changes 2026-01-20 12:43:47 -08:00
Isabella He
7d5dcb6765 edit claude enablement plugins description 2026-01-20 12:28:33 -08:00
Isabella He
a86e34672c feat: add claude-code-setup and claude-md-management plugins 2026-01-16 14:34:43 -08:00
Boris Cherny
ceb9b72b4c Add code-simplifier plugin
Adds a code simplification agent that:
- Simplifies and refines code for clarity and maintainability
- Preserves all functionality while improving code structure
- Follows project-specific best practices from CLAUDE.md
- Focuses on recently modified code unless instructed otherwise
2026-01-08 16:17:19 -08:00
Habib
2fee5cd9bf Add Kotlin LSP plugin for code intelligence
- Add kotlin-lsp entry to marketplace.json with support for .kt and .kts files
- Create README with installation instructions (brew install kotlin-lsp)
- Configure LSP server to use --stdio mode with 120s startup timeout
2026-01-07 15:06:39 -05:00
Noah Zweben
44328beed4 Rename ralph-wiggum plugin to ralph-loop per legal guidance (#142)
- Rename plugin from "ralph-wiggum" to "ralph-loop" to avoid trademark concerns
- Update all internal references to use "Ralph Loop" as the prominent name
- Keep explanatory text noting it "implements the Ralph Wiggum technique" (allowed)
- Rename plugin directory from plugins/ralph-wiggum to plugins/ralph-loop
- Update marketplace.json with new plugin name and source path
- Update plugin-dev documentation references

This change follows legal's recommendation to replace "Wiggum" with "Loop"
in the plugin name while still explaining the technique origin.

Slack thread: https://anthropic.slack.com/archives/C09KU300P7F/p1767741142753959

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-06 15:22:54 -08:00
Anthony Morris
bf48ae6c75 fix(ralph-wiggum): add :* to allowed-tools pattern to permit arguments (#138)
The allowed-tools pattern was missing :* suffix, causing permission check
failures when arguments were passed to the setup script via ```! block.

Fixes anthropics/claude-code#16398
2026-01-06 13:46:06 -08:00
Julien Tavernier
8e7c0615e6 fix(plugin-dev): add missing .claude-plugin/plugin.json
The plugin-dev plugin was missing its required plugin.json manifest file,
causing the plugin to fail loading. This adds the missing configuration
file following the same format as other official plugins.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 17:10:46 +04:00
Anthony Morris
15b07b46da Merge pull request #114 from anthropics/fix/ralph-wiggum-newline-error
fix(ralph-wiggum): move multi-line bash from command to setup script
2026-01-04 23:16:39 -08:00
Omar Bahareth
80a2049c5d Add Ruby LSP plugin with inline lspServers configuration 2026-01-04 15:27:02 +03:00
Daisy Hollman
5f2db35c65 Fix hookify plugin import error: No module named 'hookify'
The hook scripts used absolute imports like `from hookify.core.config_loader`
but when installed, the plugin lives in a cache directory with a hash name,
not in a directory named `hookify/`. Python couldn't resolve the package.

Changed to local imports (`from core.X`) which work because PLUGIN_ROOT
is added to sys.path. Also simplified the sys.path setup.

Fixes: https://github.com/anthropics/claude-code/issues/14267

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 02:54:38 +00:00
Daisy Hollman
1d99e18048 Add installation instructions to LSP plugin READMEs
Each README now includes:
- Supported file extensions
- Installation commands for different platforms/package managers
- Links to project websites and documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 00:24:41 +00:00
Daisy Hollman
be56d7114b Add LSP plugins with inline lspServers configuration
This adds 10 LSP plugins to the official marketplace, each with inline
lspServers configuration. This enables the LSP plugin recommendation
feature to detect available LSP plugins directly from the marketplace.

LSP plugins added:
- typescript-lsp: TypeScript/JavaScript (.ts, .tsx, .js, .jsx, etc.)
- pyright-lsp: Python (.py, .pyi)
- gopls-lsp: Go (.go)
- rust-analyzer-lsp: Rust (.rs)
- clangd-lsp: C/C++ (.c, .h, .cpp, .cc, .hpp, etc.)
- php-lsp: PHP (.php)
- swift-lsp: Swift (.swift)
- csharp-lsp: C# (.cs)
- jdtls-lsp: Java (.java)
- lua-lsp: Lua (.lua)

Each plugin uses strict: false since they only provide LSP configuration
(no plugin.json manifest required).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 00:20:16 +00:00
Noah Zweben
19a119f97e Update plugins library to include authors (#6)
* added Anthropic as author

* update figma
2025-12-12 16:52:17 -08:00
Noah Zweben
22d3def39e Merge pull request #2 from anthropics/noahz/official_language
Add homepages, other cleanup
2025-12-01 16:03:02 -08:00
Noah Zweben MacBook
ef7ceef127 fixed readme 2025-11-20 14:28:47 -08:00
Noah Zweben MacBook
6ba8050494 updated readme 2025-11-20 14:26:30 -08:00
Noah Zweben MacBook
0f1535a523 simplified example agent 2025-11-20 14:23:57 -08:00
Noah Zweben MacBook
4ca561fb85 creating intital scaffolding for claude code plugins 2025-11-20 11:47:24 -08:00