Best for
- Modifying existing endpoints — use the code-refactoring skill.
- API design decisions (versioning, deprecation, contract shape) — use api-design.
event4u-app/agent-config/src/skills/api-endpoint/SKILL.md
Use when creating an API endpoint or HTTP route handler — detects the project stack and routes to the matching carve-out (laravel-api-endpoint, nextjs-patterns, symfony-workflow).
Decision brief
Grounded corpus: endpoint-shape decisions (pagination, error shape, idempotency, rate limits) are grounded via the api-design corpus — ./scripts-run /corpus-grounding/scripts/ground search --manifest /api-design/data/manifest.json "".
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/api-endpoint"Inspect the Agent Skill "api-endpoint" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/api-endpoint/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Read project docs — Check ./agents/ and AGENTS.md for endpoint conventions, routing layout, response shape. 2. Detect stack and route to the carve-out per the table above. 3. Plan the endpoint — method, path, request shape, response shape, auth requirement, idempotency. 4. Cr…
Use this skill when the user asks to create a new API endpoint, REST route, or HTTP handler.
Detect the stack, then hand off to the matching carve-out skill for the framework-specific procedure (file layout, validation primitive, response-shaping convention).
One handler, one responsibility — prefer single-purpose handlers over multi-action controllers when the framework supports it.
For Laravel projects (the most fully-fleshed-out carve-out in this package), see laravel-api-endpoint — covers single-action controllers, FormRequest, Resource, Policy, CollectionFormRequest, OpenAPI attributes, and the versioned route layout.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 87/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 7 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Grounded corpus: endpoint-shape decisions (pagination, error shape, idempotency, rate limits) are grounded via the
api-designcorpus —./scripts-run <skills-root>/corpus-grounding/scripts/ground search --manifest <skills-root>/api-design/data/manifest.json "<concern>".
Use this skill when the user asks to create a new API endpoint, REST route, or HTTP handler.
Do NOT use when:
api-design.Detect the stack, then hand off to the matching carve-out skill for the framework-specific procedure (file layout, validation primitive, response-shaping convention).
| Detected stack | Carve-out skill |
|---|---|
Laravel (artisan + composer.json with laravel/framework) | laravel-api-endpoint |
Symfony (bin/console + composer.json with symfony/framework-bundle) | symfony-workflow |
Next.js (next in package.json) | nextjs-patterns |
| Express / Fastify / NestJS / plain Node | follow project conventions in agents/ + package.json scripts |
| FastAPI / Django / Flask | follow project conventions in agents/ + pyproject.toml |
Go (net/http, gin, echo, fiber) | follow project conventions in agents/ + go.mod |
Rust (axum, actix-web, rocket) | follow project conventions in agents/ + Cargo.toml |
If the project doc folder (agents/) has an endpoint-creation guide, that is the source of truth — read it before generating code.
./agents/ and AGENTS.md for endpoint conventions, routing layout, response shape.if checks.curl / Bruno / Postman / integration test)./v1/, header, content-type) — don't rely on implicit versioning.For Laravel projects (the most fully-fleshed-out carve-out in this package), see laravel-api-endpoint — covers single-action controllers, FormRequest, Resource, Policy, CollectionFormRequest, OpenAPI attributes, and the versioned route layout.
For other stacks, read the matching carve-out from the table above and combine with the project's agents/ docs.
laravel-api-endpoint, nextjs-patterns, etc.) for the stack-correct shape.Alternatives
github/awesome-copilot
Install and configure Markstream streaming Markdown renderers for Vue, React, Svelte, Angular, Nuxt, and Vue 2 applications. Use for package selection, minimal peer dependencies, CSS order, SSR boundaries, streaming mode, and renderer setup.
vercel-labs/agent-skills
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view
JasonColapietro/suede-creator-skills
Find the bugs a diff can actually ship: TypeScript, React, Next.js, OWASP, accessibility, SEO, database, and deploy-risk review. Return findings, not a grade.
github/awesome-copilot
Use this skill whenever the user wants to build scroll animations, scroll effects, parallax, scroll-triggered reveals, pinned sections, horizontal scroll, text animations, or any motion tied to scroll position — in vanilla JS, React, or Next.js. Covers GSAP ScrollTrigger (pinning, scrubbing, snapping, timelines, horizontal scroll, ScrollSmoother, matchMedia) and Framer Motion / Motion v12 (useScroll, useTransform, useSpring, whileInView, variants). Use this skill even if the user just says "anim