Skip to content

Commit be92f52

Browse files
committed
add more details to skill
1 parent 709dfcc commit be92f52

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.claude/commands/add-block.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ export const {ServiceName}Block: BlockConfig = {
6060

6161
## SubBlock Types Reference
6262

63+
**Critical:** Every subblock `id` must be unique within the block. Duplicate IDs cause conflicts even with different conditions.
64+
6365
### Text Inputs
6466
```typescript
6567
// Single-line input

.claude/commands/add-tools.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ export const {serviceName}{Action}Tool: ToolConfig<
8787
}),
8888
body: (params) => ({
8989
// Request body - only for POST/PUT/PATCH
90+
// Trim ID fields to prevent copy-paste whitespace errors:
91+
// userId: params.userId?.trim(),
9092
}),
9193
},
9294

0 commit comments

Comments
 (0)