[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AYD42AV9YZ6Q701SFATTHC":3,"skill-same:01M7AYD42AV9YZ6Q701SFATTHC":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7AYD42AV9YZ6Q701SFATTHC","full-stack-monorepo",null,"Scaffold full-stack monorepos with Go\u002FFiber API, React\u002FVite frontend, PostgreSQL, and Playwright E2E — each as its own project within the repo.","oat431\u002Fhermes_config_backup","oat431","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54722120?v=4","01M7AYD07EH8SYPMYY8CGZKS22","Oralita","01M7AYD0816QDF77E3TWCRSQC9",1,"Unlicense","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Farchived\u002Ffull-stack-monorepo\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: full-stack-monorepo\ndescription: \"Scaffold full-stack monorepos with Go\u002FFiber API, React\u002FVite frontend, PostgreSQL, and Playwright E2E — each as its own project within the repo.\"\ntriggers:\n  - monorepo setup\n  - full-stack project scaffolding\n  - Go Fiber + React project\n  - interview coding assignment\n  - comment board \u002F CRUD app\n---\n\n# Full-Stack Monorepo Architecture\n\nScaffold production-style monorepos with Go API, React frontend, and E2E tests as **three separate projects** sharing one repo.\n\n## When to Use\n\n- Full-stack coding assignments (interview, take-home)\n- CRUD apps with Go backend + React frontend\n- Projects that need API + Web + E2E in one repo\n\n## Project Structure\n\n```\nproject-root\u002F\n├── api\u002F                              # Go Fiber API (own go.mod)\n│   ├── cmd\u002Fserver\u002Fmain.go\n│   ├── internal\u002F\n│   │   ├── config\u002F                   # Env-based config\n│   │   ├── handler\u002F                  # HTTP handlers + tests\n│   │   ├── middleware\u002F                # CORS, logger\n│   │   ├── model\u002F                    # Domain types, DTOs\n│   │   └── repository\u002F               # DB access (no migrations here)\n│   ├── migrations\u002F                   # SQL migrations (goose, project-level)\n│   ├── Makefile\n│   ├── Dockerfile\n│   └── go.mod\n├── web\u002F                              # React + Vite (own package.json)\n│   ├── src\u002F\n│   │   ├── components\u002F\n│   │   │   └── __tests__\u002F            # Component tests colocated\n│   │   ├── services\u002F                 # API client\n│   │   ├── types.ts\n│   │   └── App.tsx\n│   ├── vite.config.ts\n│   ├── Dockerfile\n│   └── package.json\n├── e2e\u002F                              # Playwright E2E (own package.json)\n│   ├── *.spec.ts\n│   ├── playwright.config.ts\n│   └── package.json\n├── docker-compose.yml\n├── .gitignore\n└── README.md\n```\n\n## Key Decisions\n\n### 1. Go Module Naming (domain-based)\n\nUse domain-style module path, not GitHub path:\n```go\n\u002F\u002F go.mod\nmodule blog.it081.com\u002Fapi\n```\n\nFor scoped packages:\n```json\n\u002F\u002F web\u002Fpackage.json\n{ \"name\": \"@it081\u002Fblog-web\" }\n```\n\nDocker images: `it081\u002Fblog-api`, `it081\u002Fblog-web`\n\n### 2. Migrations at Project Level\n\n**Do NOT** put migrations inside `internal\u002Frepository\u002F`. Goose with `\u002F\u002Fgo:embed` can't reach parent dirs.\n\n**Do** put them at `api\u002Fmigrations\u002F` and read from filesystem:\n```go\n\u002F\u002F internal\u002Frepository\u002Fmigrate.go\nfunc RunMigrations(db *sql.DB, migrationsDir string) error {\n    goose.SetDialect(\"postgres\")\n    return goose.Up(db, migrationsDir)\n}\n\n\u002F\u002F cmd\u002Fserver\u002Fmain.go\nrepository.RunMigrations(db.DB, \"migrations\")\n```\n\n### 3. E2E as Separate Project\n\nEach project owns its own deps and test runner:\n- `api\u002F` → `go test .\u002F...`\n- `web\u002F` → `npm test` (Vitest)\n- `e2e\u002F` → `npm test` (Playwright)\n\nNo root `package.json` needed. Each `cd` into its own dir to run tests.\n\n### 4. Playwright Config References Siblings\n\n```ts\n\u002F\u002F e2e\u002Fplaywright.config.ts\nwebServer: [\n  { command: \"cd ..\u002Fapi && go run .\u002Fcmd\u002Fserver\", port: 8080 },\n  { command: \"cd ..\u002Fweb && node .\u002Fnode_modules\u002Fvite\u002Fbin\u002Fvite.js --port 3000\", port: 3000 },\n]\n```\n\n### 5. Vite Proxy for Dev\n\n```ts\n\u002F\u002F web\u002Fvite.config.ts\nserver: {\n  proxy: { \"\u002Fapi\": { target: \"http:\u002F\u002Flocalhost:8080\", changeOrigin: true } }\n}\n```\n\n## Pitfalls\n\n- **MCP filesystem** can't create nested dirs — use `terminal mkdir -p` instead\n- **`getByText(\"Send\")`** in Playwright matches comment content like \"Clicked send\" — use `getByRole(\"button\", { name: \"Send\" })` for specificity\n- **Thai Buddhist Era** — `th-TH` locale renders year 2021 as 2564 — test assertions must use Buddhist year\n- **Vite 7** changed CLI — `npx vite test --run` no longer works, use `node .\u002Fnode_modules\u002Fvitest\u002Fdist\u002Fcli.js --run`\n- **goose embed** can't reach `..\u002F..\u002Fmigrations` — must use filesystem-based approach when migrations are at project level\n\n## References\n\n- `references\u002Finterview-assignment.md` — real-world example: IT 08-1 comment board with requirements checklist\n- `references\u002Ftesting-patterns.md` — Fiber handler mock testing, Vitest component tests, Playwright E2E patterns\n","# Full-Stack Monorepo Architecture\n\nScaffold production-style monorepos with Go API, React frontend, and E2E tests as **three separate projects** sharing one repo.\n\n## When to Use\n\n- Full-stack coding assignments (interview, take-home)\n- CRUD apps with Go backend + React frontend\n- Projects that need API + Web + E2E in one repo\n\n## Project Structure\n\n```\nproject-root\u002F\n├── api\u002F                              # Go Fiber API (own go.mod)\n│   ├── cmd\u002Fserver\u002Fmain.go\n│   ├── internal\u002F\n│   │   ├── config\u002F                   # Env-based config\n│   │   ├── handler\u002F                  # HTTP handlers + tests\n│   │   ├── middleware\u002F                # CORS, logger\n│   │   ├── model\u002F                    # Domain types, DTOs\n│   │   └── repository\u002F               # DB access (no migrations here)\n│   ├── migrations\u002F                   # SQL migrations (goose, project-level)\n│   ├── Makefile\n│   ├── Dockerfile\n│   └── go.mod\n├── web\u002F                              # React + Vite (own package.json)\n│   ├── src\u002F\n│   │   ├── components\u002F\n│   │   │   └── __tests__\u002F            # Component tests colocated\n│   │   ├── services\u002F                 # API client\n│   │   ├── types.ts\n│   │   └── App.tsx\n│   ├── vite.config.ts\n│   ├── Dockerfile\n│   └── package.json\n├── e2e\u002F                              # Playwright E2E (own package.json)\n│   ├── *.spec.ts\n│   ├── playwright.config.ts\n│   └── package.json\n├── docker-compose.yml\n├── .gitignore\n└── README.md\n```\n\n## Key Decisions\n\n### 1. Go Module Naming (domain-based)\n\nUse domain-style module path, not GitHub path:\n```go\n\u002F\u002F go.mod\nmodule blog.it081.com\u002Fapi\n```\n\nFor scoped packages:\n```json\n\u002F\u002F web\u002Fpackage.json\n{ \"name\": \"@it081\u002Fblog-web\" }\n```\n\nDocker images: `it081\u002Fblog-api`, `it081\u002Fblog-web`\n\n### 2. Migrations at Project Level\n\n**Do NOT** put migrations inside `internal\u002Frepository\u002F`. Goose with `\u002F\u002Fgo:embed` can't reach parent dirs.\n\n**Do** put them at `api\u002Fmigrations\u002F` and read from filesystem:\n```go\n\u002F\u002F internal\u002Frepository\u002Fmigrate.go\nfunc RunMigrations(db *sql.DB, migrationsDir string) error {\n    goose.SetDialect(\"postgres\")\n    return goose.Up(db, migrationsDir)\n}\n\n\u002F\u002F cmd\u002Fserver\u002Fmain.go\nrepository.RunMigrations(db.DB, \"migrations\")\n```\n\n### 3. E2E as Separate Project\n\nEach project owns its own deps and test runner:\n- `api\u002F` → `go test .\u002F...`\n- `web\u002F` → `npm test` (Vitest)\n- `e2e\u002F` → `npm test` (Playwright)\n\nNo root `package.json` needed. Each `cd` into its own dir to run tests.\n\n### 4. Playwright Config References Siblings\n\n```ts\n\u002F\u002F e2e\u002Fplaywright.config.ts\nwebServer: [\n  { command: \"cd ..\u002Fapi && go run .\u002Fcmd\u002Fserver\", port: 8080 },\n  { command: \"cd ..\u002Fweb && node .\u002Fnode_modules\u002Fvite\u002Fbin\u002Fvite.js --port 3000\", port: 3000 },\n]\n```\n\n### 5. Vite Proxy for Dev\n\n```ts\n\u002F\u002F web\u002Fvite.config.ts\nserver: {\n  proxy: { \"\u002Fapi\": { target: \"http:\u002F\u002Flocalhost:8080\", changeOrigin: true } }\n}\n```\n\n## Pitfalls\n\n- **MCP filesystem** can't create nested dirs — use `terminal mkdir -p` instead\n- **`getByText(\"Send\")`** in Playwright matches comment content like \"Clicked send\" — use `getByRole(\"button\", { name: \"Send\" })` for specificity\n- **Thai Buddhist Era** — `th-TH` locale renders year 2021 as 2564 — test assertions must use Buddhist year\n- **Vite 7** changed CLI — `npx vite test --run` no longer works, use `node .\u002Fnode_modules\u002Fvitest\u002Fdist\u002Fcli.js --run`\n- **goose embed** can't reach `..\u002F..\u002Fmigrations` — must use filesystem-based approach when migrations are at project level\n\n## References\n\n- `references\u002Finterview-assignment.md` — real-world example: IT 08-1 comment board with requirements checklist\n- `references\u002Ftesting-patterns.md` — Fiber handler mock testing, Vitest component tests, Playwright E2E patterns\n",{"name":5,"triggers":24,"description":7},[25,26,27,28,29],"monorepo setup","full-stack project scaffolding","Go Fiber + React project","interview coding assignment","comment board \u002F CRUD app","main","2988869c5a7d7be2225c9ea7a54a4a56a59b0d45","workflow\u002Farchived\u002Ffull-stack-monorepo",0,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup","https:\u002F\u002Fgithub.com\u002Foat431","https:\u002F\u002Fpanomete.com\u002F","Hope and Luck is not a part of the strategy, \r\n\r\nSoftskill produces plan Hard skill produce product.","2026-11-03 00:43:08",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add oat431\u002Fhermes_config_backup --skill full-stack-monorepo",{"tool":45,"command":46},"bunx","bunx skills add oat431\u002Fhermes_config_backup --skill full-stack-monorepo",{"tool":48,"command":49},"pnpm","pnpm dlx skills add oat431\u002Fhermes_config_backup --skill full-stack-monorepo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Farchived\u002Ffull-stack-monorepo\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Finterview-assignment.md","REFERENCE","参考文档",2664,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Farchived\u002Ffull-stack-monorepo\u002Freferences\u002Finterview-assignment.md",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftesting-patterns.md",2534,"https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Farchived\u002Ffull-stack-monorepo\u002Freferences\u002Ftesting-patterns.md",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7AYZ2JY3NFKAPQSC39N5F3F","project-spec-docs","Fill\u002Fupdate project_spec docs (templates, MM handoffs).","MIT","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fproject-spec-docs\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7AYYRZPE7HQX7778558X52S","penpot-mcp","Penpot MCP: connect, verify, and fix streaming via nginx.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fpenpot-mcp\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7AYYNKP61CN2281VMJDXMB5","nginx-streaming-proxy","Configure nginx for streaming endpoints (SSE, MCP, WS).","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fnginx-streaming-proxy\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7AYYJP0MDV1D3WVEEZB3SGA","branding-ci","Use for brand\u002FCI identity, style guides, and brand docs.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fui-ux\u002Fbranding-ci\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7AYYGCXVT97DDTCM0ZJT6F6","yuanbao","Yuanbao (元宝) groups: @mention users, query info\u002Fmembers.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fshared-skills\u002Fyuanbao\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7AYYC2Y65NMGMD4GQXAZMMS","slidev","Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.","https:\u002F\u002Fgithub.com\u002Foat431\u002Fhermes_config_backup\u002Fblob\u002Fmain\u002Fworkflow\u002Fshared-skills\u002Fslidev\u002FSKILL.md",[],[]]