sequenceDiagram
participant C as MCP Client
participant LB as Load Balancer
participant A as MCP Server A
participant B as MCP Server B
participant S as Session Store
C->>LB: initialize()
LB->>A: initialize()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: angular-dev | |
| description: Web developer with Angular framework | |
| --- | |
| ## Workflow of Angular Developer | |
| 1. Understand the requirements and design + planning the application architecture based on user requirements | |
| 2. Read and analyze Mock User interface from user | |
| 3. Create Angular components, services, and modules based on the requirements | |
| 4. Implement routing and navigation between different features |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { createTestHarness } from "wrangler"; | |
| import { beforeAll, afterEach, afterAll, test } from "vitest"; | |
| // Initialize the test harness pointing to your Cloudflare Worker config | |
| const server = createTestHarness({ | |
| workers: [ | |
| { configPath: "./wrangler.jsonc" } // or wrangler.toml | |
| ], | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $du -sh * | sort -rh | |
| 10.0G vm_bundles | |
| 5.1G Cache | |
| 245M claude-code-vm | |
| 245M claude-code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Install in prject | |
| $npm install @OpenAI/codex-security | |
| // Run | |
| $npx @openai/codex-security scan --help | |
| codex-security scan — Run a Codex Security scan. | |
| Usage: codex-security scan [repository] [options] | |
| Arguments: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| beforeAll(async () => { | |
| await seedDatabase(); | |
| }); | |
| describe("GET /users", () => { | |
| test("user exists", async () => { | |
| ... | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "hooks": { | |
| "PreToolUse": [ | |
| { | |
| "matcher": "Read", | |
| "hooks": [ | |
| { | |
| "type": "command", | |
| "command": "python ~/.claude/hooks/dedupe_read.py" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. ติดตั้ง Pi | |
| $curl -fsSL https://pi.dev/install.sh | sh | |
| $pi update | |
| $pi --version | |
| 0.82.1 | |
| # 2. Buildins tools | |
| read - Read file contents | |
| bash - Execute bash commands | |
| edit - Edit files with find/replace |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $npm install -g typescript | |
| $tsc -version | |
| Version 7.0.2 | |
| $npm install -g typescript@npm:@typescript/typescript6 | |
| $tsc6 -version | |
| Version 6.0.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1. SonicSerializer implements echo.JSONSerializer using bytedance/sonic | |
| type SonicSerializer struct{} | |
| // Serialize converts a Go object into a JSON byte slice and writes it to the context | |
| func (s SonicSerializer) Serialize(c echo.Context, i interface{}, indent string) error { | |
| enc := sonic.ConfigDefault.NewEncoder(c.Response()) | |
| if indent != "" { | |
| enc.SetIndent("", indent) | |
| } | |
| return enc.Encode(i) |