Skip to content

Commit 40812fa

Browse files
kevin1chunclaude
andcommitted
fix: update stale paths in CONTRIBUTING.md and clean settings
- Fix packages/* paths to root-level paths in CONTRIBUTING.md - Clean stale Python/typescript path entries from settings Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 06efe27 commit 40812fa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
## Adding a New MCP Tool
44

5-
1. Identify which `packages/server/src/tools/` file it belongs in (or create a new one)
5+
1. Identify which `src/server/tools/` file it belongs in (or create a new one)
66
2. Import `{ getAuthenticatedRh, text }` from `./_helpers.js`
77
3. Register with `server.tool(name, description, zodSchema, handler)`
88
4. Define the input schema with Zod — MCP uses these for the tool schema
99
5. Wrap the handler body in try/catch, return `text({ error: String(e) })` on failure
1010
6. If a new file, import and call its `register*Tools(server)` in `server.ts`
11-
7. Add tests in `packages/server/__tests__/tools.test.ts`
11+
7. Add tests in `__tests__/server/tools.test.ts`
1212

1313
Example:
1414

@@ -39,23 +39,23 @@ export function registerNewTools(server: McpServer): void {
3939

4040
## Creating a New Skill
4141

42-
1. Create `.claude/skills/robinhood-<name>/SKILL.md` with:
42+
1. Create `skills/robinhood-<name>/SKILL.md` with:
4343
- YAML frontmatter (`name`, `description`)
4444
- Trigger phrases
4545
- Step-by-step instructions for Claude
4646
- Code patterns to follow
47-
2. Create `.claude/skills/robinhood-<name>/reference.md` with API details
47+
2. Create `skills/robinhood-<name>/reference.md` with API details
4848
3. Keep SKILL.md under 500 lines
4949

5050
## Adding Client Methods
5151

52-
1. Define a Zod schema in `packages/client/src/types.ts` (use `.passthrough()`)
53-
2. Add a URL builder in `packages/client/src/urls.ts` if needed
54-
3. Implement the method in `packages/client/src/client.ts`:
52+
1. Define a Zod schema in `src/client/types.ts` (use `.passthrough()`)
53+
2. Add a URL builder in `src/client/urls.ts` if needed
54+
3. Implement the method in `src/client/client.ts`:
5555
- Use `parseOne(Schema, data)` or `parseArray(Schema, data)` for return values
5656
- Use typed return signatures (e.g. `Promise<Quote[]>`, not `Promise<unknown[]>`)
57-
4. Export the new type from `packages/client/src/index.ts`
58-
5. Add tests in `packages/client/__tests__/` using `vi.mock("../src/http.js")`
57+
4. Export the new type from `src/client/index.ts`
58+
5. Add tests in `__tests__/client/` using `vi.mock("../src/http.js")`
5959

6060
## Testing
6161

0 commit comments

Comments
 (0)