Commit Graph

239 Commits

Author SHA1 Message Date
daniel 519fdf0950 perf: split components.json to cut dashboard browser payload
The dashboard is on Cloudflare Pages with a 24h edge cache already in
place, but every island still downloaded the full ~1.9MB index (327KB
gz) — even the sidebars/plugins/collection pages that only need per-type
counts. This splits the index into purpose-built artifacts so the
browser fetches only what each surface needs.

Generator (scripts/generate_components_json.py):
- Decouple the docs and dashboard index writes (they were a byte copy).
  docs/components.json keeps `security` (the legacy site renders it);
  the dashboard index drops both `content` and `security` (unused there)
  → ~13% smaller.
- Emit dashboard/public/counts.json (per-type counts, ~150 bytes),
  components/{type}.json (per-type slices), and search-index.json
  (flat name/description/category/type/path for global search).

Dashboard islands:
- ComponentGrid loads only the active type via fetchComponentsByType,
  re-fetching on type switch (per-type in-memory cache).
- SearchModal (Cmd+K) uses the lighter search-index.json.
- Sidebar + plugins index/detail + collection pages fetch counts.json
  instead of the full index just to read array lengths.
- data.ts gains fetchComponentsByType/fetchSearchIndex (additive);
  fetchComponents() stays for the SSR detail page and Discord bot.

Fix: SendToRepoModal read `match.content` off an index that no longer
carries content, so "Send to repo" produced empty PRs / threw "No
component content found". buildFileMap now pulls each item's content via
fetchComponentContent (the per-component files), which also removes its
full-index fetch.

_headers: cache/CORS blocks for counts.json, components/*, search-index.json.

Payload (gzip on-the-wire): sidebars/plugins/collection 327KB → ~124B;
grid default type (agents) 327KB → 145KB; Cmd+K 327KB → 260KB.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-04 16:20:24 -04:00
Claude 0f95d098dc chore: Update components and trending data
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SAaKunY9eVb1FKxP44xLk9
2026-07-04 14:12:20 +00:00
github-actions[bot] 7dba203ec2 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28694543617)
2026-07-04 04:16:35 +00:00
Dani 7ca94b9d6f chore: Update components catalog and bump version to 1.29.3
Regenerates docs/components.json from cli-tool/components/ to pick up
the recently added HikerAPI, LamaTok, and DataLikers MCP servers.
2026-07-03 10:50:40 -04:00
Claude 098faedc41 chore: Update components and trending data
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Uas6yv1dL11z2imwSZgkuQ
2026-07-03 14:10:09 +00:00
github-actions[bot] 942773de35 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28637978370)
2026-07-03 04:19:27 +00:00
Claude a054887251 chore: Update components and trending data 2026-07-02 14:13:38 +00:00
github-actions[bot] 5e19240bc6 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28565143097)
2026-07-02 04:27:53 +00:00
Daniel Avila da7bb1d3d9 improve: enhance prompt-engineer based on automated review (#664)
- Add missing model: sonnet frontmatter field to match sibling agents
- Rewrite system prompt to be Claude-specific: XML tag structuring,
  role framing, multishot examples, extended thinking/effort parameter,
  prompt caching, and grounded long-context answers
- Remove outdated JSON "Communication Protocol" handshake pattern in
  favor of a plain-language Requirements Gathering step
- Add explicit boundaries vs. llm-architect, model-evaluator, and
  task-decomposition-expert to reduce delegation ambiguity
- Reframe hardcoded example metrics (accuracy %, latency, cost) as
  illustrative targets to confirm with the user rather than universal
  thresholds
- Regenerate component catalog entries for prompt-engineer

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-01 10:06:40 -04:00
github-actions[bot] 8d5416d42c chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28493487750)
2026-07-01 04:31:26 +00:00
Claude 4d8ff1045b chore: Update components and trending data
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DgNXFamXBWzdEuth9DxdK4
2026-07-01 04:11:16 +00:00
Daniel Avila e6dc226ec9 improve: enhance qa-expert based on automated review (#662)
- Add required model field (sonnet) and color field to frontmatter
- Add Write/Edit tools so the agent can produce the test plans/docs it describes
- Rewrite QA excellence and excellence checklists as concrete, verifiable criteria instead of vague adjectives
- Replace hardcoded fake metrics in progress tracking and delivery notification with placeholder templates and explicit anti-fabrication guidance
- Replace speculative JSON "Communication Protocol" context-manager pattern with plain-language context-gathering guidance
- Add AI-assisted and agentic testing practices section covering risk-based test planning and delegation to test-automator/playwright-tester
- Regenerate component catalog (docs/components.json, dashboard/public/components.json)

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-01 00:06:16 -04:00
Claude e089e2754e chore: Update components and trending data
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GRuScoKwFa6jm4Fjag1HtS
2026-07-01 02:12:09 +00:00
github-actions[bot] b151af3079 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28420095181)
2026-06-30 04:25:10 +00:00
github-actions[bot] 869640b48c chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28348623150)
2026-06-29 04:30:52 +00:00
Daniel Avila 02fce8623f chore: Regenerate components.json catalog (#654) 2026-06-28 13:57:37 -04:00
github-actions[bot] cf6c87fad4 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28311287627)
2026-06-28 04:36:19 +00:00
github-actions[bot] ccd1e782f4 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28278372301)
2026-06-27 04:24:39 +00:00
github-actions[bot] 45b5f9f40f chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28217052801)
2026-06-26 04:35:47 +00:00
github-actions[bot] 6e4178075a chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28146671926)
2026-06-25 04:26:46 +00:00
github-actions[bot] 170901420c chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28074972973)
2026-06-24 04:28:50 +00:00
github-actions[bot] 4fb4b35925 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/28001926751)
2026-06-23 04:27:40 +00:00
github-actions[bot] db551fc6df chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27929596541)
2026-06-22 04:37:56 +00:00
Daniel Avila 8f88af7b80 Remove TinyFish from featured integrations (#644)
Remove the TinyFish entry from FEATURED_ITEMS and its slug content
blocks in the featured page.


Claude-Session: https://claude.ai/code/session_019iPQRLExN1ANkmKrmnWdA5

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-21 21:42:47 -04:00
Daniel Avila 7f890b1b3b feat: add Loops component type with referenced components (#643)
* feat: add Loops component type with referenced components

Introduce "loops" as a new first-class component type — autonomous
agentic workflows (goal + interval + stop condition) inspired by Loop
Engineering and the Forward Future Loop Library. A loop references other
components (agents, skills, hooks, commands) and the dashboard renders
those references as clickable cards on the loop detail page.

- Add 10 starter loops under cli-tool/components/loops/
  (engineering, evaluation, operations)
- Catalog generator: scan loops + write per-component content files
- Dashboard: new type in icons/types/data, /loops page, and a
  "Referenced Components" section on the loop detail page
- CLI: --loop flag installs the loop to .claude/loops/ and
  auto-installs its referenced components
- Docs: CLAUDE.md and cli-tool rule updated

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T9ynMiCHt8JwdMd8KjCkES

* feat: add 8 more loops (goal/loop/schedule patterns)

Expand the loops catalog to 18, drawing ideas from community "Loop
Engineering" patterns. Adds loops across the three trigger verbs
(/goal, /loop, /schedule) and emphasizes the verifier-in-the-loop and
budget / anti-spin guardrails:

- engineering/five-minute-maintainer-loop
- engineering/build-test-fix-loop
- engineering/anti-spin-build-loop
- engineering/completion-contract-loop (goal)
- engineering/goal-refiner-loop (goal)
- engineering/adversarial-review-loop (cross-model)
- operations/overnight-pr-routine-loop (schedule)
- evaluation/human-approval-loop (human-in-the-loop)

All referenced components verified to exist; catalog regenerated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T9ynMiCHt8JwdMd8KjCkES

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-21 20:19:16 -04:00
github-actions[bot] 716b2a2151 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27893475105)
2026-06-21 04:39:33 +00:00
github-actions[bot] f01879693f chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27860117458)
2026-06-20 04:31:29 +00:00
github-actions[bot] 7ba70a46fc chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27805397100)
2026-06-19 04:36:13 +00:00
github-actions[bot] d0197d9a49 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27736702078)
2026-06-18 04:38:10 +00:00
github-actions[bot] aace1f12ff chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27665776460)
2026-06-17 04:35:25 +00:00
github-actions[bot] 0eaf1d75ad chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27594156647)
2026-06-16 04:34:56 +00:00
github-actions[bot] 6772ba97d5 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27524024516)
2026-06-15 04:33:53 +00:00
github-actions[bot] 153be64421 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27488265312)
2026-06-14 04:35:56 +00:00
daniel 41f4a13bec perf(images): convertir logos a WebP + preload LCP para mejorar Performance score
- logo.png → logo.webp: 95 KB → 11 KB (−88%)
- claude-code-logo.png → claude-code-logo.webp: 26 KB → 9.6 KB (−63%)
- braingrid-logo.png → braingrid-logo.webp: 17 KB → 7.6 KB (−55%)
- <picture> con fallback PNG para compatibilidad en Sidebar, index, JobsView
- fetchpriority="high" en el logo del Sidebar (LCP element en todas las páginas)
- <link rel="preload"> del logo.webp en el <head> para adelantar la descarga
- loading="lazy" en logos below-the-fold (JobsView)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 17:33:07 -04:00
daniel 41cbbea00c perf(dashboard): reducir payload del home 87% y restaurar caching en Cloudflare
- Split components.json: índice sin content (1.9 MB / 249 KB br vs 15.6 MB / 4.15 MB br).
  Generador produce component-content/{type}/{slug}.json por componente y auto-copia
  a dashboard/public/. Página de detalle carga contenido on-demand via fetchComponentContent().
- Restaurar cabeceras de caché y seguridad perdidas en la migración Vercel→Cloudflare:
  _headers con Cache-Control max-age=86400 para JSONs, immutable para _astro/*,
  y HSTS, X-Frame-Options, Referrer-Policy, Permissions-Policy en todas las rutas.
- Eliminar dashboard/vercel.json (config muerta desde migración a Cloudflare Pages).
- Diferir hidratación: ClerkIsland y AuthButton client:load → client:idle;
  SaveToCollectionButton → client:visible.
- Eliminar gpt-tokenizer del bundle del navegador: reemplazado por estimación chars/4.
- Actualizar .claude/rules/dashboard.md para reflejar hosting en Cloudflare Pages.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 16:58:13 -04:00
daniel e2314c6a50 feat(dashboard): jobs sidebar vertical + hero ajustes
- Mueve Jobs Using Claude Code a panel vertical sticky en el lado derecho
  (260px, visible en xl+, scroll independiente, hasta 12 jobs)
- Quita la sección horizontal de jobs del flujo principal para llegar
  directo al grid de componentes al cargar
- Grid de componentes: 2 cols en xl, 3 cols en 2xl (corrige cards estrechos)
- Hero ASCII: logo claude-code-logo.png al lado del texto, centrado
- ASCII art y logo más grandes, sin scroll horizontal
- Subtítulo centrado con punto de estado verde

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 14:22:37 -04:00
daniel 65207a5200 feat(hooks): add plan-mode-game hook component
Adds a browser game (Dino Runner, Snake, Flappy Bird) that launches
automatically when Claude enters Plan Mode. Users can play while
Claude thinks, with a live activity panel showing tool calls in real time.

- EnterPlanMode / /plan → starts Node.js server on port 3456, opens browser
- Read/Bash/Edit/etc → streams tool activity to the activity panel
- Write to ~/.claude/plans/ → also triggers the game (for /plan command)
- AskUserQuestion → pauses the game until user responds
- ExitPlanMode → shows "Claude Termino!" overlay with confetti

Features: 3 games with high score persistence, signed score sharing URLs,
pause overlay when Claude needs input, activity feed with tool icons.
Requires Node.js and curl. macOS only (uses 'open' command).
Install globally in ~/.claude/settings.json to work across all projects.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 14:21:04 -04:00
daniel 13d8a1ee87 feat(dashboard): re-tematizar UI a estética CLI/terminal híbrida
- Paleta GitHub-dark (#0d1117 / #161b22 / #21262d, borde #30363d)
- Acento naranja #d57455 + verde terminal #3fb950 para badges/dots
- Banner ASCII-art naranja con punto de estado verde pulsante en hero
- Bordes nítidos con hover naranja en cards (sin scale ni sombras pesadas)
- Prompt > y cursor de bloque en barra de búsqueda del TopBar
- Títulos de cards y labels de sidebar en monospace (font-ui-mono)
- Badges de descargas en pill verde (.badge-download)
- Barra activa del sidebar en naranja en vez de indigo
- Esquinas más cuadradas en cards, features y nav items
- Nuevas utilidades CSS: .font-ui-mono, .terminal-prompt, .status-dot,
  .terminal-cursor, .ascii-art, .badge-download, .card-terminal

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 13:59:03 -04:00
Nyanbalaji28 3a391067c8 Add AugmentClaude best-claude-skills marketplace (#630)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 12:37:37 -04:00
github-actions[bot] 4b1302a12b chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27456509104)
2026-06-13 04:37:15 +00:00
github-actions[bot] 39249a751d chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27394489389)
2026-06-12 04:37:31 +00:00
github-actions[bot] 8e400ff953 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27323794065)
2026-06-11 04:35:42 +00:00
github-actions[bot] 11c07b5500 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27253159143)
2026-06-10 04:33:49 +00:00
github-actions[bot] c03b938531 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27183661325)
2026-06-09 04:27:16 +00:00
github-actions[bot] 7664625296 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27116020552)
2026-06-08 04:32:29 +00:00
github-actions[bot] 4daf4aa50c chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27082628068)
2026-06-07 04:37:38 +00:00
github-actions[bot] 4518b82b16 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/27052395800)
2026-06-06 04:26:07 +00:00
github-actions[bot] 5662405596 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/26995336984)
2026-06-05 04:32:25 +00:00
github-actions[bot] 3b3ea9e1cf chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/26930681160)
2026-06-04 04:35:25 +00:00
github-actions[bot] c4e3729cf7 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/26863693309)
2026-06-03 04:33:17 +00:00