~ / rigs / joeblackwaslike / lessons-learned

joeblackwaslike/lessons-learned

A Claude Code plugin that automatically captures coding mistakes and injects relevant lessons before tool calls — preventing the same mistakes from happening twice.

↗ GitHub ★ 0 MIT updated 13d ago project Claude CodeCodex Claude plugin
field: AI / ML
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
up to ~12.8k tokens
Claude Code loads MCP tools on demand, so the real cost is usually lower.
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ claude mcp add promptfoo -- npx promptfoo mcp
$ npx degit joeblackwaslike/lessons-learned/evals/scenarios/TC-G12-always-verify-mcp-server-path/seed-workspace/.claude ./rig-lessons-learned  # 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 promptfoo -- npx promptfoo mcp
$ npx degit joeblackwaslike/lessons-learned/skills/lessons-learned .claude/skills/lessons-learned

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

MCP servers (2)

serversourceest. tokens
filesystem local / custom 2.5k
promptfoo npm 2.5k

Skills (1)

Slash commands (12)

/add/backup/cancel/config/doctor/eval/help/manage/onboard/retire/review/scope

Permissions

deny (0)
—
ask (0)
—
allow (2)
Bash(git status:*)
Read

Similar rigs

copied ✓