Commit Graph

1576 Commits

Author SHA1 Message Date
Dani 9cef8df9c1 improve: enhance api-designer based on automated review
- Replace fictional context-manager JSON blocks with real tool-based discovery (Glob/Grep) in When Invoked section
- Add OpenAPI 3.1 YAML snippet with security scheme, resource schema, error schema, and pagination
- Add GraphQL SDL example with Relay connection-based pagination and @deprecated directive
- Add Deliverables section specifying openapi.yaml, schema.graphql, MIGRATION.md, API-DECISION.md outputs
- Add model: sonnet and color: cyan frontmatter fields
- Expand description with gRPC/protocol-selection and fourth microservices example
- Add protocol selection comparison table (REST vs GraphQL vs gRPC)
- Update OAuth 2.0 to OAuth 2.1 with PKCE enforcement, remove implicit flow
- Add Bash usage constraint limiting shell to API linters only

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-12 11:16:27 -04:00
github-actions[bot] d9d581997b chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25712894746)
2026-05-12 04:18:18 +00:00
github-actions[bot] 6197380ec6 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25650137403)
2026-05-11 04:27:36 +00:00
github-actions[bot] a28fc7c596 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25619611505)
2026-05-10 04:23:31 +00:00
Dani 405cfc6681 chore: regenerate catalog after #574
Reflects merged improvements to cli-tool/components/agents/database/database-architect.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-09 19:12:52 -04:00
Daniel Avila 90489f6212 improve: enhance database-architect based on automated review (#574)
- Add rich description with 3 example blocks (greenfield schema, tech selection, data migration)
- Add model: sonnet and Glob, Grep to frontmatter tools
- Remove hardcoded credential from read replica example; use ${REPLICATION_PASSWORD}
- Add structured "When Invoked" workflow section (4 steps)
- Expand technology selection matrix with vector, graph, serverless_relational categories
- Add multi-tenant and RLS patterns section with isolation strategy comparison table
- Add agent integration section listing collaboration boundaries with 5 agents

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-09 19:10:14 -04:00
github-actions[bot] a5630fa973 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25591247790)
2026-05-09 04:14:30 +00:00
Dani a9c36fc852 feat: add 3 subagent hooks components (security theme)
- hooks/security/ai-bash-guard: PreToolUse with type:agent — AI-powered bash security guard using haiku subagent
- settings/hooks/subagent-lifecycle-logger: SubagentStart/SubagentStop audit trail to .claude/agent-log.jsonl
- agents/security/read-only-auditor: security auditor with frontmatter hooks blocking Write/Edit/Bash while active
2026-05-08 20:27:16 -04:00
Daniel Avila dae5faa009 migrate: Vercel → Cloudflare Pages + Workers (/mes → ~/bin/zsh-5/mes) (#571)
* migrate: Vercel → Cloudflare Pages + Workers para reducir costos ($110 → ~$0-5/mes)

- Cambia adaptador Astro de @astrojs/vercel a @astrojs/cloudflare (mode: 'directory')
- Agrega dashboard/wrangler.toml con nodejs_compat para compatibilidad total
- Crea cloudflare-workers/crons/ Worker que reemplaza los cron jobs de Vercel
  (claude-code-check cada 30min, health-check cada 1h en vez de cada 15min)
- Actualiza CI/CD: Vercel CLI → wrangler pages deploy (requiere CLOUDFLARE_API_TOKEN y CLOUDFLARE_ACCOUNT_ID en GitHub Secrets)
- Elimina crons duplicados del proyecto legacy aitmpl (root vercel.json)
- Quick win: agrega Cache-Control headers a components.json (86400s), plugins.json,
  trending-data.json y claude-jobs.json para cortar el costo de bandwidth de $53

Próximos pasos manuales (ver PR description):
1. Crear proyecto en Cloudflare Pages
2. Agregar secrets de Cloudflare en GitHub
3. Migrar env vars de Vercel a Cloudflare Dashboard
4. Deployar cloudflare-workers/crons con wrangler
5. Apuntar dominios a Cloudflare Pages

* fix: nodejs_compat_v2 + react-dom/server.node alias para Cloudflare Workers

- Cambia compatibility_flags de nodejs_compat a nodejs_compat_v2
- Agrega alias vite react-dom/server → react-dom/server.node para evitar
  MessageChannel error en module init time en Cloudflare Workers runtime
- Agrega ssr.noExternal para bundlear react-dom y aplicar el alias

* fix: revert compatibility_flags a nodejs_compat (estándar)

nodejs_compat_v2 no es el flag primario. El fix real del MessageChannel
error fue el alias vite react-dom/server → react-dom/server.node,
no el cambio de flag.

* fix: inject Cloudflare Pages runtime env into process.env via middleware

Add Astro middleware that copies context.locals.runtime.env (Cloudflare
Pages secrets) into process.env before each request, so API routes can
use process.env.X as a unified pattern without changing the call sites.

Also add || process.env.X fallbacks to all API routes/libs that were
using import.meta.env exclusively (build-time only in Vite).

Verified on staging: track-download-supabase, health-check,
claude-code-check, collections, github/token all return correct responses.
2026-05-08 20:24:28 -04:00
Dani a17a72b838 chore: regenerate catalog after #573
Reflects merged improvements to cli-tool/components/agents/ai-specialists/task-decomposition-expert.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-08 17:13:21 -04:00
Daniel Avila 004cf8460b improve: enhance task-decomposition-expert based on automated review (#573)
- Rewrote description with 3 concrete <example> blocks and <commentary> invocation triggers
- Added model: sonnet field
- Expanded tools to Read, Write, Edit, Bash, Glob, Grep, WebSearch
- Removed mandatory ChromaDB coupling from critical path entirely
- Added Requirements Gathering as mandatory first step with 6 intake questions
- Added concrete output format: WBS with 8/80 rule, dependency graph notation, parallelism map table, risk register table, validation checkpoints
- Added explicit Agent Handoff Plan section mapping workstreams to specialist agents
- Added Integration with Other Agents section
- Added structured JSON progress format and completion message template

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-08 17:10:45 -04:00
github-actions[bot] 70924ddca9 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25535961407)
2026-05-08 04:10:47 +00:00
Dani 9b97b39e74 chore: regenerate catalog after #572
Reflects merged improvements to cli-tool/components/agents/obsidian-ops-team/moc-agent.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-07 18:11:56 -04:00
Daniel Avila a0dfc1bb18 improve: enhance moc-agent with spec-compliant format and relative paths (#572)
- Remove all hardcoded absolute paths (/Users/cam/VAULT01/...) and replace with relative paths rooted at ./
- Replace VAULT01-specific references with generic vault terminology
- Add model: sonnet field to frontmatter
- Add Grep and Edit to tools list; remove redundant LS
- Expand description with 3 concrete <example>/<commentary> blocks
- Add Native Fallback Workflow using Glob+Grep (no external script dependency)
- Make Script-Assisted Workflow optional with clear instructions to run from vault root
- Add MOC Hierarchy section explaining LYT three-tier system (Home/Topic/Sub-MOC)
- Add optional Dataview block to MOC template with note to remove if plugin absent
- Add vault-structure validation guidance before writing MOCs

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-07 17:10:39 -04:00
Dani 04ec8c3d8b sync: update skill-creator from anthropics/skills
Major upstream rewrite with eval-driven iterative workflow:
- New agents/ dir (analyzer, comparator, grader)
- New eval-viewer/ for benchmark review UI
- New scripts for eval runs, benchmarking, and description optimization
- Updated SKILL.md with new process-oriented approach
- Preserved local-only files (output-patterns.md, workflows.md, init_skill.py)
2026-05-07 11:07:15 -04:00
github-actions[bot] 45df85b3ab chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25475677502)
2026-05-07 04:17:26 +00:00
Dani 105cc88c8a chore: regenerate catalog after #569
Reflects merged improvements to cli-tool/components/agents/ai-specialists/search-specialist.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-06 17:10:55 -04:00
Daniel Avila 74d4b1036b improve: enhance search-specialist with spec-compliant format and current tooling (#569)
- Add tools and model frontmatter fields (WebSearch, WebFetch; sonnet)
- Rewrite description with three concrete examples using example/commentary tags
- Add imperative "When Invoked" seven-step workflow checklist
- Add iterative retrieval loop section with explicit stopping conditions
- Add source credibility evaluation framework as a scored table
- Expand contradiction handling into an explicit protocol with example format

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-06 17:09:58 -04:00
Dani 963b44fe22 sync: update claude-api skill from anthropics/skills
Add Managed Agents outcomes, multiagent, and webhooks docs.
Update API reference, events, core, overview, tools, onboarding,
and live-sources with latest upstream changes.
2026-05-06 13:24:23 -04:00
github-actions[bot] 63298a5f28 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25416040075)
2026-05-06 04:18:48 +00:00
Dani 34e40e6a15 chore: regenerate catalog after #566
Reflects merged improvements to cli-tool/components/agents/ai-specialists/model-evaluator.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-05 17:12:09 -04:00
Daniel Avila e9232563c4 improve: enhance model-evaluator with spec-compliant format and current tooling (#566)
- Rewrote description with three <example> blocks covering task-specific model selection, benchmark design, and post-deployment regression testing
- Added Standard Frameworks & Tools section with HELM, lm-evaluation-harness, DeepEval, RAGAS, Promptfoo, and Chatbot Arena
- Updated Model Categories to tier-based language (Haiku/Sonnet/Opus) and current model names (GPT-4o, Gemini 1.5/2.0), removed deprecated version numbers
- Added model: sonnet frontmatter and expanded tools list (added Edit, Glob, Grep)
- Replaced skeletal Python stub with Statistical Requirements section (sample sizes, CI, effect size, Cohen's kappa, Bonferroni correction)
- Added Integration with Other Agents section mapping handoffs to llm-architect, prompt-engineer, and ai-ethics-advisor
- Added Step 6 Post-Deployment Monitoring (drift detection, re-evaluation triggers, Arize Phoenix, LangSmith, Promptfoo CI)
- Removed emoji from output template header

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-05 17:10:17 -04:00
github-actions[bot] 877895d60e chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25357132864)
2026-05-05 04:04:26 +00:00
Anish Reddy f6b5a370b8 Add diagrammer skill (#564) 2026-05-04 19:15:53 -04:00
Dani 7267ef5286 chore: regenerate catalog after #563
Reflects merged improvements to cli-tool/components/agents/ai-specialists/llms-maintainer.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-04 17:12:42 -04:00
Daniel Avila 43742e2ff3 improve: enhance llms-maintainer with spec-compliant format and framework detection (#563)
- Fix llms.txt skeleton to use official Markdown spec (H1, blockquote, H2 sections, link entries)
- Fix page entries to use standard `- [Title](url): description` format instead of invented key:value
- Add framework detection step (Astro, Nuxt, Next.js, Svelte, Hugo) to determine output path
- Add `model: haiku` to frontmatter for cost-efficient deterministic scanning
- Add `maxTurns: 20` to prevent runaway iteration on large sites
- Remove unconditional `git push` — commit only by default, user pushes manually
- Expand "AEO" to "AI Engine Optimization (AEO)" on first use in description and closing line

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-04 17:10:11 -04:00
Daniel Avila e18ae94273 Merge pull request #562 from davila7/claude/beautiful-bhaskara-2f787d
chore: sync Anthropic skills upstream changes
2026-05-04 11:07:32 -04:00
Dani 20f38d42fb chore: sync Anthropic skills upstream changes
- Update LICENSE.txt copyright to "Copyright 2026 Anthropic, PBC." across 10 skills
- Remove deprecated `purpose` parameter from managed agents file upload examples in claude-api skill

Source: https://github.com/anthropics/skills
2026-05-04 11:07:12 -04:00
github-actions[bot] a283518af1 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25300693423)
2026-05-04 04:48:16 +00:00
Dani 32e0ec0a02 chore: regenerate catalog after #561
Reflects merged improvements to cli-tool/components/agents/api-graphql/api-architect.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-03 17:13:12 -04:00
Daniel Avila d9e3036e66 improve: enhance api-architect with GraphQL, security, and scoped tooling (#561)
- Rewrote description with 3 trigger examples using <example>/<commentary> tags
- Expanded scope to cover full GraphQL architecture: SDL-first vs code-first,
  resolver pattern, DataLoader for N+1 prevention, federation, persisted queries,
  query depth/complexity limiting, and production introspection disabling
- Removed erroneous "Code Interpreter" reference; replaced with Write/Edit tool instruction
- Added mandatory Security Checklist section covering TLS, auth schemes, rate limiting,
  OWASP API Security Top 10, and GraphQL-specific controls
- Removed Bash from tools (Read, Grep, Glob, Edit, Write only); added permissionMode: acceptEdits
- Added API versioning and lifecycle guidance (URL/header/query-param for REST,
  @deprecated directive lifecycle for GraphQL)
- Added model: sonnet and color: blue frontmatter fields

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-03 17:10:21 -04:00
github-actions[bot] 885f03aade chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25269610178)
2026-05-03 04:20:40 +00:00
Dani 543a275da2 chore: regenerate catalog after #560
Reflects merged improvements to cli-tool/components/agents/programming-languages/javascript-pro.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-02 17:17:53 -04:00
Daniel Avila f75f4e8add improve(javascript-pro): modernize runtime, tooling, and framework coverage (#560)
- Update persona from Node.js 20+ to Node.js 22 LTS / Node.js 24 LTS
- Expand ES mastery from ES2023 to ES2025 (Object.groupBy, Promise.withResolvers, Set methods, Iterator helpers, RegExp.escape, explicit resource management)
- Add Runtime ecosystem section covering Node.js 22/24, Bun, and Deno 2.x
- Replace Jest-first testing with Vitest as default; add Playwright for E2E and node:test for library authors
- Modernize Build and tooling: Vite 6/7/8 (Rolldown-powered) as default, Turbopack, Rolldown, esbuild; demote Webpack to legacy
- Add Modern framework patterns section: React 19, Next.js 15, Vue 3.5/3.6, Svelte 5, SolidJS
- Add Package management section: npm workspaces, pnpm, Bun, exports field, provenance
- Expand Security practices with Socket.dev/Snyk, ignore-scripts, lockfile CI verification, typosquatting awareness
- Update third description example to reference Vitest instead of Jest

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-02 17:09:54 -04:00
github-actions[bot] abb6ca8967 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25243312058)
2026-05-02 04:09:51 +00:00
Dani 1d78f488a8 chore: regenerate catalog after #559
Reflects merged improvements to cli-tool/components/agents/deep-research-team/research-synthesizer.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-01 17:12:46 -04:00
Daniel Avila edc8f2edf2 improve(research-synthesizer): enhance with phased workflow, tool expansion, and quality verification (#559)
- Add WebSearch and WebFetch to tools with sparingly-use guidance
- Add Input Discovery Protocol for locating upstream researcher outputs and handling missing sources gracefully
- Replace flat bullet lists with 4-phase execution framework (Discovery, Extraction, Integration, Output)
- Add Quality Verification Checklist before final output
- Require standalone synthesis-summary.md written before synthesis.json
- Add missing_researchers field to synthesis_metadata schema
- Add single_source consensus_level value
- Replace abstract examples with realistic Claude Code workflow scenarios referencing actual agent outputs

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-01 17:10:15 -04:00
github-actions[bot] e3f83069db chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25202030826)
2026-05-01 04:24:23 +00:00
Dani cdfda25791 chore: regenerate catalog after #558
Reflects merged improvements to cli-tool/components/agents/ai-specialists/hackathon-ai-strategist.md.

Automated by pr-verification cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-04-30 17:15:00 -04:00
Daniel Avila 6db58d321b improve(hackathon-ai-strategist): enhance with context gathering, phased execution, and pitch structure (#558)
- Rewrote description with three trigger-oriented examples (pre-ideation, mid-triage, pitch prep)
- Added model: sonnet to frontmatter
- Added Required Initial Step: Context Gathering section (6 fields, blocks advice until complete)
- Added Time-Boxed Execution Framework with 5 phases, explicit go/no-go checkpoints for 24h hackathon
- Added Sponsor Strategy and Prize-Track Optimization section with scoring decision framework
- Added 3-Minute Pitch Outline with time-annotated segments and Demo Reliability Checklist
- Changed 'fake for demos' to 'stub or mock for the demo' to remove ethical ambiguity

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-04-30 17:10:26 -04:00
github-actions[bot] bf89e67598 chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25146936564)
2026-04-30 04:17:07 +00:00
Daniel Avila f27640039e improve(llm-architect): enhance with structured decision guidance and evaluation framework (#556)
- Replace flat bullet-point taxonomy with hierarchical H2/H3 decision trees for serving, fine-tuning, RAG, and safety
- Add Required Initial Step section for mandatory requirements gathering (latency, throughput, model class, infra, compliance)
- Add Evaluation and Observability section with RAGAS v0.4+ metrics, LLM-as-judge guidelines, and observability stack
- Add model: sonnet to frontmatter for complex system design reasoning
- Replace hardcoded fictional metrics (187ms, 127 tokens/s) with placeholder templates
- Update tools list: add WebSearch, remove Glob and Grep
- Update assistant examples in description to reflect requirements-first approach

Automated review cycle | Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-04-29 23:27:32 -04:00
Daniel Avila 84a2b1202b chore: Update components.json catalog (#555) 2026-04-29 22:05:24 -04:00
Daniel Avila 35023b3def Update BrainGrid partner banner tagline (#554) 2026-04-29 19:57:31 -04:00
Nikolai Vysotskyi 8b18c46f67 Add trace-mcp MCP server to devtools (#553)
trace-mcp is a framework-aware code intelligence MCP server providing
semantic navigation, impact analysis, and refactoring tools across
60 framework integrations and 81 languages.

Repo: https://github.com/nikolai-vysotskyi/trace-mcp
npm:  https://www.npmjs.com/package/trace-mcp
2026-04-29 14:45:21 -04:00
github-actions[bot] 3ef50d16de chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25090457702)
2026-04-29 04:18:04 +00:00
github-actions[bot] 51d1e9550f chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/25033486657)
2026-04-28 04:19:15 +00:00
Mario Hernandez 262da50f98 fix(context-timeline): detect Opus 1M context window dynamically (#548)
CONTEXT_LIMIT was hardcoded at 200_000 tokens. Users on Claude Opus 4.7
with the 1M context window (model: "opus[1m]") saw the dashboard report
80–90% usage when actual usage was 16–18%, producing constant false
alarms and making the meter unusable on long sessions.

Replace the constant with _detect_context_limit(cwd) which resolves the
limit in this order:

1. CONTEXT_TIMELINE_LIMIT env var (explicit override).
2. "[1m]" / "[1000k]" / "[200k]" suffix in the model field of
   <cwd>/.claude/settings.json or ~/.claude/settings.json.
3. 200_000 fallback (current behaviour).

The limit is resolved once per _Builder instance, not per update tick,
so there is no per-event filesystem cost.

No new dependencies (still stdlib only). Default behaviour is unchanged
for users without [1m] in settings.

Verified live on a real Opus 1M session of ~178K tokens: meter went
from 89% (red, false alarm) to 17.9% (cyan, correct).
2026-04-27 20:10:27 -04:00
Fernando Basilis e11ff2e105 fix(context-timeline): cross-platform path encoding for transcript lookup (#550)
The `_encode_cwd` function only replaced `/` with `-`, which fails on
Windows where paths use `\` and include drive letters like `D:`.

Use regex to replace any non-alphanumeric character with `-`.
This handles all edge cases across platforms in a single expression.

Before: D:\Claude\mcx -> lookup failed
After:  D:\Claude\mcx -> D--Claude-mcx (matches Claude Code encoding)
2026-04-27 20:09:13 -04:00
github-actions[bot] 45be8e6b8a chore: Update components and trending data
🤖 Generated with [GitHub Actions](https://github.com/davila7/claude-code-templates/actions/runs/24976113338)
2026-04-27 04:15:52 +00:00