plugins/claude
Snider 6bd5049aff
feat: /core:api generate API client from routes (#84)
This commit introduces a new `/core:api generate` command that generates a TypeScript/JavaScript API client or an OpenAPI specification from a project's Laravel API routes.

The implementation includes:

- A PHP script that uses regular expressions to parse the `routes/api.php` file and extract route information.
- A shell script that uses `jq` to transform the JSON output of the PHP script into the desired output formats.
- Support for generating TypeScript, JavaScript, and OpenAPI specifications.
- Updated documentation in the `README.md` file.

Challenges:

An attempt was made to parse the routes by bootstrapping a minimal Laravel application, but a persistent Composer issue prevented the installation of the necessary dependencies. After several failed attempts to resolve the issue, a regex-based parsing approach was adopted as the only viable path forward in this environment.
2026-02-02 07:20:47 +00:00
..
api feat: /core:api generate API client from routes (#84) 2026-02-02 07:20:47 +00:00
ci feat: add README and flesh out all plugins 2026-02-01 19:48:51 +00:00
code feat(code): add smart test runner command (#83) 2026-02-02 07:20:09 +00:00
collect feat(collect): add Borg-powered collection commands 2026-02-02 00:22:19 +00:00
core feat: implement /core:clean command (#81) 2026-02-02 07:18:29 +00:00
issue feat(plugin): add github issues integration (#69) 2026-02-02 07:14:21 +00:00
qa feat(qa): add /core:qa command for iterative QA loop (#74) 2026-02-02 07:17:23 +00:00
review feat: add README and flesh out all plugins 2026-02-01 19:48:51 +00:00
verify feat: add README and flesh out all plugins 2026-02-01 19:48:51 +00:00