[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H6C9531JQW5FN8JQAQZR7Q":3,"skill-same:01M6H6C9531JQW5FN8JQAQZR7Q":68},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6H6C9531JQW5FN8JQAQZR7Q","domain-web",null,"Use when building web services. Keywords: web server, HTTP, REST API, GraphQL, WebSocket, axum, actix, warp, rocket, tower, hyper, reqwest, middleware, router, handler, extractor, state management, authentication, authorization, JWT, session, cookie, CORS, rate limiting, web 开发, HTTP 服务, API 设计, 中间件, 路由","0xharryriddle\u002Fcodex-field-kit","0xharryriddle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F100945007?v=4","01M6H686JV0QKZYP2RWG6B2B8T","harryriddle","01M6H686PVZ8JGKWEG7B3GM5PD",3,"MIT","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Farchive\u002Fupstream\u002Fchasebuild-agent-skills\u002Frust\u002Fskills\u002Fdomain-web\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"web","domain","domain web","session","rocket","middleware","false","cargo","toml","design","router","use","authentication","http","api","websocket","warp","REST","server","state","2026-11-10 10:12:30",false,"---\nname: domain-web\ndescription: \"Use when building web services. Keywords: web server, HTTP, REST API, GraphQL, WebSocket, axum, actix, warp, rocket, tower, hyper, reqwest, middleware, router, handler, extractor, state management, authentication, authorization, JWT, session, cookie, CORS, rate limiting, web 开发, HTTP 服务, API 设计, 中间件, 路由\"\nglobs: [\"**\u002FCargo.toml\"]\nuser-invocable: false\n---\n\n# Web Domain\n\n> **Layer 3: Domain Constraints**\n\n## Domain Constraints → Design Implications\n\n| Domain Rule | Design Constraint | Rust Implication |\n|-------------|-------------------|------------------|\n| Stateless HTTP | No request-local globals | State in extractors |\n| Concurrency | Handle many connections | Async, Send + Sync |\n| Latency SLA | Fast response | Efficient ownership |\n| Security | Input validation | Type-safe extractors |\n| Observability | Request tracing | tracing + tower layers |\n\n---\n\n## Critical Constraints\n\n### Async by Default\n\n```\nRULE: Web handlers must not block\nWHY: Block one task = block many requests\nRUST: async\u002Fawait, spawn_blocking for CPU work\n```\n\n### State Management\n\n```\nRULE: Shared state must be thread-safe\nWHY: Handlers run on any thread\nRUST: Arc\u003CT>, Arc\u003CRwLock\u003CT>> for mutable\n```\n\n### Request Lifecycle\n\n```\nRULE: Resources live only for request duration\nWHY: Memory management, no leaks\nRUST: Extractors, proper ownership\n```\n\n---\n\n## Trace Down ↓\n\nFrom constraints to design (Layer 2):\n\n```\n\"Need shared application state\"\n    ↓ m07-concurrency: Use Arc for thread-safe sharing\n    ↓ m02-resource: Arc\u003CRwLock\u003CT>> for mutable state\n\n\"Need request validation\"\n    ↓ m05-type-driven: Validated extractors\n    ↓ m06-error-handling: IntoResponse for errors\n\n\"Need middleware stack\"\n    ↓ m12-lifecycle: Tower layers\n    ↓ m04-zero-cost: Trait-based composition\n```\n\n---\n\n## Framework Comparison\n\n| Framework | Style | Best For |\n|-----------|-------|----------|\n| axum | Functional, tower | Modern APIs |\n| actix-web | Actor-based | High performance |\n| warp | Filter composition | Composable APIs |\n| rocket | Macro-driven | Rapid development |\n\n## Key Crates\n\n| Purpose | Crate |\n|---------|-------|\n| HTTP server | axum, actix-web |\n| HTTP client | reqwest |\n| JSON | serde_json |\n| Auth\u002FJWT | jsonwebtoken |\n| Session | tower-sessions |\n| Database | sqlx, diesel |\n| Middleware | tower |\n\n## Design Patterns\n\n| Pattern | Purpose | Implementation |\n|---------|---------|----------------|\n| Extractors | Request parsing | `State(db)`, `Json(payload)` |\n| Error response | Unified errors | `impl IntoResponse` |\n| Middleware | Cross-cutting | Tower layers |\n| Shared state | App config | `Arc\u003CAppState>` |\n\n## Code Pattern: Axum Handler\n\n```rust\nasync fn handler(\n    State(db): State\u003CArc\u003CDbPool>>,\n    Json(payload): Json\u003CCreateUser>,\n) -> Result\u003CJson\u003CUser>, AppError> {\n    let user = db.create_user(&payload).await?;\n    Ok(Json(user))\n}\n\n\u002F\u002F Error handling\nimpl IntoResponse for AppError {\n    fn into_response(self) -> Response {\n        let (status, message) = match self {\n            Self::NotFound => (StatusCode::NOT_FOUND, \"Not found\"),\n            Self::Internal(_) => (StatusCode::INTERNAL_SERVER_ERROR, \"Internal error\"),\n        };\n        (status, Json(json!({\"error\": message}))).into_response()\n    }\n}\n```\n\n---\n\n## Common Mistakes\n\n| Mistake | Domain Violation | Fix |\n|---------|-----------------|-----|\n| Blocking in handler | Latency spike | spawn_blocking |\n| Rc in state | Not Send + Sync | Use Arc |\n| No validation | Security risk | Type-safe extractors |\n| No error response | Bad UX | IntoResponse impl |\n\n---\n\n## Trace to Layer 1\n\n| Constraint | Layer 2 Pattern | Layer 1 Implementation |\n|------------|-----------------|------------------------|\n| Async handlers | Async\u002Fawait | tokio runtime |\n| Thread-safe state | Shared state | Arc\u003CT>, Arc\u003CRwLock\u003CT>> |\n| Request lifecycle | Extractors | Ownership via From\u003CRequest> |\n| Middleware | Tower layers | Trait-based composition |\n\n---\n\n## Related Skills\n\n| When | See |\n|------|-----|\n| Async patterns | m07-concurrency |\n| State management | m02-resource |\n| Error handling | m06-error-handling |\n| Middleware design | m12-lifecycle |\n","# Web Domain\n\n> **Layer 3: Domain Constraints**\n\n## Domain Constraints → Design Implications\n\n| Domain Rule | Design Constraint | Rust Implication |\n|-------------|-------------------|------------------|\n| Stateless HTTP | No request-local globals | State in extractors |\n| Concurrency | Handle many connections | Async, Send + Sync |\n| Latency SLA | Fast response | Efficient ownership |\n| Security | Input validation | Type-safe extractors |\n| Observability | Request tracing | tracing + tower layers |\n\n---\n\n## Critical Constraints\n\n### Async by Default\n\n```\nRULE: Web handlers must not block\nWHY: Block one task = block many requests\nRUST: async\u002Fawait, spawn_blocking for CPU work\n```\n\n### State Management\n\n```\nRULE: Shared state must be thread-safe\nWHY: Handlers run on any thread\nRUST: Arc\u003CT>, Arc\u003CRwLock\u003CT>> for mutable\n```\n\n### Request Lifecycle\n\n```\nRULE: Resources live only for request duration\nWHY: Memory management, no leaks\nRUST: Extractors, proper ownership\n```\n\n---\n\n## Trace Down ↓\n\nFrom constraints to design (Layer 2):\n\n```\n\"Need shared application state\"\n    ↓ m07-concurrency: Use Arc for thread-safe sharing\n    ↓ m02-resource: Arc\u003CRwLock\u003CT>> for mutable state\n\n\"Need request validation\"\n    ↓ m05-type-driven: Validated extractors\n    ↓ m06-error-handling: IntoResponse for errors\n\n\"Need middleware stack\"\n    ↓ m12-lifecycle: Tower layers\n    ↓ m04-zero-cost: Trait-based composition\n```\n\n---\n\n## Framework Comparison\n\n| Framework | Style | Best For |\n|-----------|-------|----------|\n| axum | Functional, tower | Modern APIs |\n| actix-web | Actor-based | High performance |\n| warp | Filter composition | Composable APIs |\n| rocket | Macro-driven | Rapid development |\n\n## Key Crates\n\n| Purpose | Crate |\n|---------|-------|\n| HTTP server | axum, actix-web |\n| HTTP client | reqwest |\n| JSON | serde_json |\n| Auth\u002FJWT | jsonwebtoken |\n| Session | tower-sessions |\n| Database | sqlx, diesel |\n| Middleware | tower |\n\n## Design Patterns\n\n| Pattern | Purpose | Implementation |\n|---------|---------|----------------|\n| Extractors | Request parsing | `State(db)`, `Json(payload)` |\n| Error response | Unified errors | `impl IntoResponse` |\n| Middleware | Cross-cutting | Tower layers |\n| Shared state | App config | `Arc\u003CAppState>` |\n\n## Code Pattern: Axum Handler\n\n```rust\nasync fn handler(\n    State(db): State\u003CArc\u003CDbPool>>,\n    Json(payload): Json\u003CCreateUser>,\n) -> Result\u003CJson\u003CUser>, AppError> {\n    let user = db.create_user(&payload).await?;\n    Ok(Json(user))\n}\n\n\u002F\u002F Error handling\nimpl IntoResponse for AppError {\n    fn into_response(self) -> Response {\n        let (status, message) = match self {\n            Self::NotFound => (StatusCode::NOT_FOUND, \"Not found\"),\n            Self::Internal(_) => (StatusCode::INTERNAL_SERVER_ERROR, \"Internal error\"),\n        };\n        (status, Json(json!({\"error\": message}))).into_response()\n    }\n}\n```\n\n---\n\n## Common Mistakes\n\n| Mistake | Domain Violation | Fix |\n|---------|-----------------|-----|\n| Blocking in handler | Latency spike | spawn_blocking |\n| Rc in state | Not Send + Sync | Use Arc |\n| No validation | Security risk | Type-safe extractors |\n| No error response | Bad UX | IntoResponse impl |\n\n---\n\n## Trace to Layer 1\n\n| Constraint | Layer 2 Pattern | Layer 1 Implementation |\n|------------|-----------------|------------------------|\n| Async handlers | Async\u002Fawait | tokio runtime |\n| Thread-safe state | Shared state | Arc\u003CT>, Arc\u003CRwLock\u003CT>> |\n| Request lifecycle | Extractors | Ownership via From\u003CRequest> |\n| Middleware | Tower layers | Trait-based composition |\n\n---\n\n## Related Skills\n\n| When | See |\n|------|-----|\n| Async patterns | m07-concurrency |\n| State management | m02-resource |\n| Error handling | m06-error-handling |\n| Middleware design | m12-lifecycle |\n",{"name":5,"globs":44,"description":7,"user-invocable":40},[45],"**\u002FCargo.toml","main","6c13f6f4ac5a3bc1e6b78cd2bb1704f122c4a73e","archive\u002Fupstream\u002Fchasebuild-agent-skills\u002Frust\u002Fskills\u002Fdomain-web",0,"https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit","https:\u002F\u002Fgithub.com\u002F0xharryriddle","https:\u002F\u002Fharryriddle.vercel.app","2026-04-11 11:49:51",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add 0xharryriddle\u002Fcodex-field-kit --skill domain-web",{"tool":60,"command":61},"bunx","bunx skills add 0xharryriddle\u002Fcodex-field-kit --skill domain-web",{"tool":63,"command":64},"pnpm","pnpm dlx skills add 0xharryriddle\u002Fcodex-field-kit --skill domain-web","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Farchive\u002Fupstream\u002Fchasebuild-agent-skills\u002Frust\u002Fskills\u002Fdomain-web\u002FSKILL.md",true,[],[69,96,115,125,150,174],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":39},"01M6H7ZKE6MR33HC84QZ1TA6MV","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95],"react best practices","react","vercel react best practices","best practices","vercel","tasks","data fetching","triggers","pages","next","performance optimization","refactoring","Next.js","Optimization","code","guidelines","react components","components","performance","writing",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":39},"01M6H7ZGC2WK8SEKYHWDNTMDA9","swarm-planner","[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Fskills\u002Fswarm-planner\u002FSKILL.md",[],[103,104,105,106,107,108,109,110,111,112,113,114],"swarm","swarm planner","planner","parallel","multi-agent","only","execution","plans","dependency","for","multi","implementation",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":39},"01M6H7ZD93853RZCYQWH1D38TM","super-swarm-spark","Only to be triggered by explicit super-swarm-spark commands.","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Fskills\u002Fsuper-swarm-spark\u002FSKILL.md",[],[122,103,123,108,124],"super swarm spark","spark","commands",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":39},"01M6H7Z987QBY49JCCPT953EAZ","role-creator","Create and install Codex custom agent roles in ~\u002F.codex\u002Fconfig.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Fskills\u002Frole-creator\u002FSKILL.md",[],[132,133,134,135,136,137,27,138,139,140,141,142,143,144,145,146,147,148,149],"role","creator","role creator","keys","users","roles","enforce","install","guide","instructions","model","developer","reasoning","generate","create","config","codex","files",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M6H7Z5TRPMDQ7YSZQXPN1G60","read-github","Read and search GitHub repository documentation via gitmcp.io MCP service.\n\n**WHEN TO USE:**\n- User provides a GitHub URL\n- User mentions a specific repo in owner\u002Frepo format\n- User asks \"what does this repo do?\", \"read the docs for X repo\", or similar\n- User wants to search code or docs within a repo","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Fskills\u002Fread-github\u002FSKILL.md",[],[157,158,159,90,160,161,162,163,112,164,165,166,167,168,169,30,170,171,172,173],"github","read github","read","documentation","docs","MCP","search","when to use","URL","via","io","service","do","user","repo","format","repository",{"skillNo":175,"name":105,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":39},"01M6H7Z215CTKYJ4Y1X6EQWN6M","Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: \"make a plan\", \"create a plan\", \"plan this out\", \"plan the implementation\", \"help me plan\", \"design a plan\", \"draft a plan\", \"write a plan\", \"outline the steps\", \"break this down into tasks\", \"what's the plan for\", or any similar planning request. Also triggers on explicit \"\u002Fplanner\" or \"\u002Fplan\" commands.","https:\u002F\u002Fgithub.com\u002F0xharryriddle\u002Fcodex-field-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanner\u002FSKILL.md",[],[105,180,112,181,182,183,83,110,124,184,185,30,186,187,188,189,190,146,81,28],"outline","atomic","with","sprints","draft","me","write","phased implementation","plan","help","planning"]