Skip to content

Commit 1476279

Browse files
committed
Update docs for nestjs-grpc-helper: Merge pull request #48 from hodfords-solutions/feat/ai-agent-skill
feat: add command copy ai agent skill
1 parent 6d6cf00 commit 1476279

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pages/nestjs-grpc-helper/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ Details of the configuration:
9292
| removeOutput | Remove the output directory |
9393
| addAllowDecorator | Add the allow decorator, need class-validator package |
9494
| tsconfig | TypeScript configuration |
95+
| aiSkill | AI skill configuration (optional) |
96+
| aiSkill.name | Name of the AI skill |
97+
| aiSkill.description | Description of the AI skill |
9598

99+
When `aiSkill` is configured, the SDK build will generate a `SKILL.md` file and a `skill.json` metadata file in the output directory. These files describe your gRPC services, models, and enums in a format that AI agents can consume.
96100

97101
To generate the SDK, run the following command:
98102
```shell
@@ -186,6 +190,16 @@ For example, to create an array of 5 nested objects
186190
users: UserResponse[];
187191
```
188192

193+
### AI Agent Skill
194+
195+
After publishing the SDK, you can copy the generated AI skill files into your project for AI agents (e.g., Claude, Antigravity) to use. Run the `update-ai-skill` command with a package name pattern and the target AI:
196+
197+
```shell
198+
npm run wz-command update-ai-skill "@hodfords/*" claude
199+
```
200+
201+
This copies the `SKILL.md` files from matching packages in `node_modules` into the appropriate AI skills directory (`.claude/skills` for Claude, `.agent/skills` for Antigravity).
202+
189203
### Document for GRPC
190204

191205
You can go to `http://xyz/microservice-documents` to check and try to call the gRPC method

0 commit comments

Comments
 (0)