~ / rigs / sebyx07 / ruby2html

sebyx07/ruby2html

Fast, lightweight HTML views in pure Ruby: C extension with SIMD escaping, Rails .html.rb templates, ViewComponent and native components, JRuby/TruffleRuby. Faster than ERB and Phlex. Maintained by developerz.ai.

↗ GitHub ★ 23 MIT updated 7d ago project Claude CodeCodex
stack: CRailsRSpecRuby
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~16.1k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · No YOLO mode · details
Quality 27/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add sentry-mcp -e SENTRY_ACCESS_<redacted> -e SENTRY_HOST=YOUR_SENTRY_HOST -- bunx @sentry/mcp-server
$ claude mcp add codegraph -e CODEGRAPH_NO_UPDATE_CHECK=YOUR_CODEGRAPH_NO_UPDATE_CHECK -e CODEGRAPH_TELEMETRY=YOUR_CODEGRAPH_TELEMETRY -e DO_NOT_TRACK=YOUR_DO_NOT_TRACK -- codegraph serve --mcp
$ claude mcp add --transport http developerz https://mcp.developerz.ai/v1/mcp -H 'Authorization: YOUR_VALUE'
$ npx degit sebyx07/ruby2html/.claude ./rig-ruby2html  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ claude mcp add sentry-mcp -e SENTRY_ACCESS_<redacted> -e SENTRY_HOST=YOUR_SENTRY_HOST -- bunx @sentry/mcp-server
$ claude mcp add codegraph -e CODEGRAPH_NO_UPDATE_CHECK=YOUR_CODEGRAPH_NO_UPDATE_CHECK -e CODEGRAPH_TELEMETRY=YOUR_CODEGRAPH_TELEMETRY -e DO_NOT_TRACK=YOUR_DO_NOT_TRACK -- codegraph serve --mcp
$ claude mcp add --transport http developerz https://mcp.developerz.ai/v1/mcp -H 'Authorization: YOUR_VALUE'
$ npx degit sebyx07/ruby2html/.claude/skills/add-html-tag .claude/skills/add-html-tag
$ npx degit sebyx07/ruby2html/.claude/skills/benchmark .claude/skills/benchmark
$ npx degit sebyx07/ruby2html/.claude/skills/debug-render .claude/skills/debug-render
$ npx degit sebyx07/ruby2html/.claude/skills/release .claude/skills/release
$ npx degit sebyx07/ruby2html/.claude/skills/review .claude/skills/review
$ npx degit sebyx07/ruby2html/.claude/skills/upgrade-deps .claude/skills/upgrade-deps
$ curl -fsSL --create-dirs -o .claude/agents/perf-reviewer.md https://raw.githubusercontent.com/sebyx07/ruby2html/main/.claude/agents/perf-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/xss-auditor.md https://raw.githubusercontent.com/sebyx07/ruby2html/main/.claude/agents/xss-auditor.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(./config/master.key)",
      "Read(./.env*)",
      "Read(./tmp/local_secret.txt)",
      "Bash(git tag *)",
      "Bash(git push --tags*)",
      "Bash(git push * --tags*)",
      "Bash(git push --force*)",
      "Bash(git push * --force*)",
      "Bash(git push -f*)",
      "Bash(git push * -f*)",
      "Bash(bundle exec rake release*)",
      "Bash(rake release*)",
      "Bash(gem push *)",
      "Bash(gem yank *)",
      "Bash(gh release *)",
      "Bash(gh repo delete *)"
    ]
  }
}

MCP servers (3)

serversourceest. tokens
Sentry · "sentry-mcp"
env: SENTRY_ACCESS_TOKEN, SENTRY_HOST
npm 4.5k
CodeGraph
env: CODEGRAPH_NO_UPDATE_CHECK, CODEGRAPH_TELEMETRY, DO_NOT_TRACK
binary 3.0k
mcp.developerz.ai · "developerz" remote · remote 2.5k

Skills (6)

Subagents (2)

perf-reviewerReviews a diff in ruby2html for rendering-speed regressions and missed optimizations (allocations, buffer sizing, method dispatch, C hot paths). Use proactively after changes to lib/gem/ruby2html/rend
xss-auditorAudits ruby2html changes for HTML escaping / XSS regressions in the renderer, C extension, Rails helper wrappers and docs examples. Use proactively when escaping, attribute serialization, plain/compon

Hooks (1)

eventmatcherruns
PostToolUseEdit|Write|MultiEdit"$CLAUDE_PROJECT_DIR"/.claude/hooks/post-edit-reminder.sh

Slash commands (2)

/feature/planx

Permissions

deny (16)
Read(./config/master.key)
Read(./.env*)
Read(./tmp/local_secret.txt)
Bash(git tag *)
Bash(git push --tags*)
Bash(git push * --tags*)
Bash(git push --force*)
Bash(git push * --force*)
Bash(git push -f*)
Bash(git push * -f*)
Bash(bundle exec rake release*)
Bash(rake release*)
Bash(gem push *)
Bash(gem yank *)
Bash(gh release *)
Bash(gh repo delete *)
ask (0)
—
allow (73)
Bash(bundle install)
Bash(bundle check)
Bash(bundle exec rspec *)
Bash(bundle exec rspec)
Bash(CI=1 bundle exec rspec *)
Bash(CI=1 bundle exec rspec)
Bash(bundle exec rake compile)
Bash(bundle exec rake clean)
Bash(bundle exec rake clobber)
Bash(bundle exec rake spec)
Bash(bundle exec rake spec:gem)
Bash(bundle exec rake bench)
Bash(bundle exec rake build)
Bash(bundle exec rake smoke)
Bash(bundle exec rubocop)
Bash(bundle exec rubocop *)
Bash(bin/rubocop *)
Bash(bin/brakeman *)
Bash(bin/gem-smoke *)
Bash(bin/gem-smoke)
Bash(bundle exec ruby -Ilib/gem -Ilib bench/*)
Bash(bundle exec ruby bench/*)
Bash(bundle exec ruby --yjit bench/*)
Bash(RUBY2HTML_DISABLE_EXT=1 bundle exec ruby bench/*)
Bash(RUBY2HTML_DISABLE_EXT=1 bundle exec ruby --yjit bench/*)
Bash(gem build ruby2html.gemspec)
Bash(git status *)
Bash(git status)
Bash(git diff *)
Bash(git diff)
Bash(git log *)
Bash(git show *)
Bash(bin/changelog-notes *)
Bash(gh run list *)
Bash(gh run watch *)
Bash(gh run view *)
Bash(bundle exec rake spec:standalone)
Bash(RUBY2HTML_DISABLE_EXT=1 bundle exec rake spec:standalone)
Bash(RUBY2HTML_DISABLE_EXT=1 bundle exec rspec *)
Bash(RUBY2HTML_NO_SIMD=1 bundle exec rake compile)
Bash(bin/build-ext)
Bash(bin/build-ext *)
Bash(git add *)
Bash(git commit *)
Bash(git push)
Bash(git push *)
Bash(git checkout *)
Bash(git switch *)
Bash(git branch *)
Bash(git fetch *)
Bash(git pull *)
Bash(git pull)
Bash(git rebase *)
Bash(git stash *)
Bash(git restore *)
Bash(git rm *)
Bash(git mv *)
Bash(gh pr *)
Bash(gh issue *)
Bash(gh api *)

Similar rigs

copied ✓