Skip to content

Add lambda-router agent skill for library consumers#4

Merged
ConsoleTVs merged 2 commits into
mainfrom
feat/lambda-router-agent-skill
Apr 12, 2026
Merged

Add lambda-router agent skill for library consumers#4
ConsoleTVs merged 2 commits into
mainfrom
feat/lambda-router-agent-skill

Conversation

@ConsoleTVs
Copy link
Copy Markdown
Member

Summary

  • Add an Agent Skills-compatible skill at .agents/skills/lambda-router/ that teaches LLM coding agents how to use @studiolambda/router v2.0.0
  • SKILL.md (291 lines) covers quick start, route definition, components, hooks overview, middleware, SSR/testing, and standalone matcher usage
  • Three reference files provide detailed API docs loaded on demand by agents as needed

Skill structure

.agents/skills/lambda-router/
├── SKILL.md                              # Core instructions (291 lines)
└── references/
    ├── route-builder.md                  # createRouter builder API
    ├── hooks-reference.md                # All 16 hooks with signatures and examples
    └── advanced-patterns.md              # Prefetch, forms, redirects, layouts, auth, SSR

What it enables

Any Agent Skills-compatible tool (Claude Code, Cursor, VS Code Copilot, OpenCode, Gemini CLI, etc.) can automatically discover and use this skill when a consumer of the library asks an agent to write code that imports from @studiolambda/router.

Add an Agent Skills-compatible skill (.agents/skills/lambda-router/) that
teaches LLM coding agents how to use @studiolambda/router v2.0.0.

Includes SKILL.md with quick start, route definition, components, hooks
overview, middleware, SSR/testing, and standalone matcher usage. Three
reference files provide detailed API docs for the route builder, all 16
hooks, and advanced patterns (prefetch, forms, redirects, layouts, auth
guards, module federation, cache invalidation).
@ConsoleTVs ConsoleTVs marked this pull request as ready for review April 12, 2026 18:36
@ConsoleTVs ConsoleTVs merged commit 8ee0d15 into main Apr 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant