Scaffold a new API endpoint with request/response Pydantic schemas, service function, route handler, and a pytest test — following the project's layered layout. Invoke when the user asks to add an endpoint, route, or API method.
$npx -y skills add muhammadusmangm/claude-code-best-practices --skill api-endpointInstalls into the current project.
Run `npx skills use "https://github.com/muhammadusmangm/claude-code-best-practices" --skill "muhammadusmangm/claude-code-best-practices/api-endpoint"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/muhammadusmangm/claude-code-best-practices" that are relevant to the current task. Run `npx skills add "https://github.com/muhammadusmangm/claude-code-best-practices"` and select the relevant skills, then follow their instructions.