[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EAZ69SHGY5EC3P0SHJ9H6P":3,"skill-same:01M6EAZ69SHGY5EC3P0SHJ9H6P":116},{"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":52,"commitSha":53,"skillDirectory":54,"forksCount":14,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M6EAZ69SHGY5EC3P0SHJ9H6P","secure-code-guardian",null,"用于实现认证\u002F授权、保护用户输入或防御 OWASP Top 10 漏洞 —— 包括自定义安全实现，例如使用 bcrypt\u002Fargon2 哈希密码、使用参数化语句清理 SQL 查询、配置 CORS\u002FCSP 头部、使用 Zod 验证输入以及设置 JWT token。适用于认证、授权、输入验证、加密、OWASP Top 10 防护、安全会话管理和安全加固。对于预构建的 OAuth\u002FSSO 集成或独立的安全审计，请考虑使用更专业的 skill。","Blake-John\u002Fagent-config","Blake-John","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F83487296?v=4","01M6EABMJN8BM7V3T5155SHNNX","Blake John","01M6EABMQBM0QRF2X8DZ79K1MD",0,"MIT","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"secure code guardian","secure","code","guardian","fullstack","github","Secure Coding","reviewer","zod","password","安全","密码","vulnerability","sso","encryption","OAuth","authentication","owasp top 10","sql","architecture","2026-11-10 10:12:30",false,"---\nname: secure-code-guardian\ndescription: 用于实现认证\u002F授权、保护用户输入或防御 OWASP Top 10 漏洞 —— 包括自定义安全实现，例如使用 bcrypt\u002Fargon2 哈希密码、使用参数化语句清理 SQL 查询、配置 CORS\u002FCSP 头部、使用 Zod 验证输入以及设置 JWT token。适用于认证、授权、输入验证、加密、OWASP Top 10 防护、安全会话管理和安全加固。对于预构建的 OAuth\u002FSSO 集成或独立的安全审计，请考虑使用更专业的 skill。\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: security\n  triggers: security, authentication, authorization, encryption, OWASP, vulnerability, secure coding, password, JWT, OAuth\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fullstack-guardian, security-reviewer, architecture-designer\n---\n\n# Secure Code Guardian\n\n## 核心工作流程\n\n1. **威胁建模** —— 识别攻击面和威胁\n2. **设计** —— 规划安全控制措施\n3. **实现** —— 编写具有纵深防御的 safe 代码；参见下方代码示例\n4. **验证** —— 使用明确的检查点（见下方）测试安全控制措施\n5. **记录** —— 记录安全决策\n\n### 验证检查点\n\n每个实现步骤完成后，验证：\n\n- **认证**：测试暴力破解防护（锁定\u002F限速触发）、会话固定抵抗、token 过期和无效凭证错误消息（不得泄露用户是否存在）。\n- **授权**：验证水平和垂直越权路径已被阻止；使用不同角色\u002F用户的 token 进行测试。\n- **输入处理**：确认 SQL 注入 payload（`' OR 1=1--`）被拒绝；确认 XSS payload（`\u003Cscript>alert(1)\u003C\u002Fscript>`）被转义或拒绝。\n- **头部\u002FCORS**：使用安全扫描器（例如 `curl -I`、Mozilla Observatory）验证安全头部已设置且 CORS 来源白名单正确。\n\n## 参考指南\n\n根据上下文加载详细指导：\n\n| 主题 | 参考文件 | 加载时机 |\n|-------|-----------|-----------|\n| OWASP | `references\u002Fowasp-prevention.md` | OWASP Top 10 模式 |\n| 认证 | `references\u002Fauthentication.md` | 密码哈希、JWT |\n| 输入验证 | `references\u002Finput-validation.md` | Zod、SQL 注入 |\n| XSS\u002FCSRF | `references\u002Fxss-csrf.md` | XSS 防护、CSRF |\n| 头部 | `references\u002Fsecurity-headers.md` | Helmet、限流 |\n\n## 约束条件\n\n### 必须执行\n- 使用 bcrypt\u002Fargon2 哈希密码（绝不使用 MD5\u002FSHA-1\u002F无盐哈希）\n- 使用参数化查询（绝不使用字符串插值 SQL）\n- 在使用前验证并清理所有用户输入\n- 在认证端点上实现限流\n- 设置安全头部（CSP、HSTS、X-Frame-Options）\n- 记录安全事件（认证失败、越权尝试）\n- 将密钥存储在环境变量或密钥管理器中（绝不存储在源代码中）\n\n### 禁止执行\n- 以明文或可逆加密形式存储密码\n- 不经验证信任用户输入\n- 在日志或错误响应中暴露敏感数据\n- 使用弱或已弃用的算法（MD5、SHA-1、DES、ECB 模式）\n- 在代码中硬编码密钥或凭证\n\n## 代码示例\n\n### 密码哈希（bcrypt）\n\n```typescript\nimport bcrypt from 'bcrypt';\n\nconst SALT_ROUNDS = 12; \u002F\u002F 最少 10；12 在安全性和性能之间取得平衡\n\nexport async function hashPassword(plaintext: string): Promise\u003Cstring> {\n  return bcrypt.hash(plaintext, SALT_ROUNDS);\n}\n\nexport async function verifyPassword(plaintext: string, hash: string): Promise\u003Cboolean> {\n  return bcrypt.compare(plaintext, hash);\n}\n```\n\n### 参数化 SQL 查询（Node.js \u002F pg）\n\n```typescript\n\u002F\u002F 绝不：`SELECT * FROM users WHERE email = '${email}'`\n\u002F\u002F 始终：使用位置参数\nimport { Pool } from 'pg';\nconst pool = new Pool();\n\nexport async function getUserByEmail(email: string) {\n  const { rows } = await pool.query(\n    'SELECT id, email, role FROM users WHERE email = $1',\n    [email]  \u002F\u002F 值单独传递 —— 绝不插值\n  );\n  return rows[0] ?? null;\n}\n```\n\n### 使用 Zod 进行输入验证\n\n```typescript\nimport { z } from 'zod';\n\nconst LoginSchema = z.object({\n  email: z.string().email().max(254),\n  password: z.string().min(8).max(128),\n});\n\nexport function validateLoginInput(raw: unknown) {\n  const result = LoginSchema.safeParse(raw);\n  if (!result.success) {\n    \u002F\u002F 返回通用错误 —— 绝不回显原始输入\n    throw new Error('Invalid credentials format');\n  }\n  return result.data;\n}\n```\n\n### JWT 验证\n\n```typescript\nimport jwt from 'jsonwebtoken';\n\nconst JWT_SECRET = process.env.JWT_SECRET!; \u002F\u002F 绝不硬编码\n\nexport function verifyToken(token: string): jwt.JwtPayload {\n  \u002F\u002F 如果已过期、被篡改或算法错误则抛出异常\n  const payload = jwt.verify(token, JWT_SECRET, {\n    algorithms: ['HS256'],   \u002F\u002F 显式白名单算法\n    issuer: 'your-app',\n    audience: 'your-app',\n  });\n  if (typeof payload === 'string') throw new Error('Invalid token payload');\n  return payload;\n}\n```\n\n### 保护端点安全 —— 完整流程\n\n```typescript\nimport express from 'express';\nimport rateLimit from 'express-rate-limit';\nimport helmet from 'helmet';\n\nconst app = express();\napp.use(helmet()); \u002F\u002F 设置 CSP、HSTS、X-Frame-Options 等\napp.use(express.json({ limit: '10kb' })); \u002F\u002F 限制 payload 大小\n\nconst authLimiter = rateLimit({\n  windowMs: 15 * 60 * 1000, \u002F\u002F 15 分钟\n  max: 10,                   \u002F\u002F 每个 IP 每个窗口最多 10 次尝试\n  standardHeaders: true,\n  legacyHeaders: false,\n});\n\napp.post('\u002Fapi\u002Flogin', authLimiter, async (req, res) => {\n  \u002F\u002F 1. 验证输入\n  const { email, password } = validateLoginInput(req.body);\n\n  \u002F\u002F 2. 认证 —— 参数化查询，常量时间比较\n  const user = await getUserByEmail(email);\n  if (!user || !(await verifyPassword(password, user.passwordHash))) {\n    \u002F\u002F 通用消息 —— 不透露邮箱是否存在\n    return res.status(401).json({ error: 'Invalid credentials' });\n  }\n\n  \u002F\u002F 3. 授权 —— 签发有作用域、短生命周期的 token\n  const token = jwt.sign(\n    { sub: user.id, role: user.role },\n    JWT_SECRET,\n    { algorithm: 'HS256', expiresIn: '15m', issuer: 'your-app', audience: 'your-app' }\n  );\n\n  \u002F\u002F 4. 安全响应 —— token 放在 httpOnly cookie 中，而非响应体\n  res.cookie('token', token, { httpOnly: true, secure: true, sameSite: 'strict' });\n  return res.json({ message: 'Authenticated' });\n});\n```\n\n## 输出模板\n\n实现安全功能时，需提供：\n1. Safe 的实现代码\n2. 注明安全注意事项\n3. 配置要求（环境变量、头部）\n4. 测试建议\n\n## 知识参考\n\nOWASP Top 10、bcrypt\u002Fargon2、JWT、OAuth 2.0、OIDC、CSP、CORS、限流、输入验证、输出编码、加密（AES、RSA）、TLS、安全头部\n","# Secure Code Guardian\n\n## 核心工作流程\n\n1. **威胁建模** —— 识别攻击面和威胁\n2. **设计** —— 规划安全控制措施\n3. **实现** —— 编写具有纵深防御的 safe 代码；参见下方代码示例\n4. **验证** —— 使用明确的检查点（见下方）测试安全控制措施\n5. **记录** —— 记录安全决策\n\n### 验证检查点\n\n每个实现步骤完成后，验证：\n\n- **认证**：测试暴力破解防护（锁定\u002F限速触发）、会话固定抵抗、token 过期和无效凭证错误消息（不得泄露用户是否存在）。\n- **授权**：验证水平和垂直越权路径已被阻止；使用不同角色\u002F用户的 token 进行测试。\n- **输入处理**：确认 SQL 注入 payload（`' OR 1=1--`）被拒绝；确认 XSS payload（`\u003Cscript>alert(1)\u003C\u002Fscript>`）被转义或拒绝。\n- **头部\u002FCORS**：使用安全扫描器（例如 `curl -I`、Mozilla Observatory）验证安全头部已设置且 CORS 来源白名单正确。\n\n## 参考指南\n\n根据上下文加载详细指导：\n\n| 主题 | 参考文件 | 加载时机 |\n|-------|-----------|-----------|\n| OWASP | `references\u002Fowasp-prevention.md` | OWASP Top 10 模式 |\n| 认证 | `references\u002Fauthentication.md` | 密码哈希、JWT |\n| 输入验证 | `references\u002Finput-validation.md` | Zod、SQL 注入 |\n| XSS\u002FCSRF | `references\u002Fxss-csrf.md` | XSS 防护、CSRF |\n| 头部 | `references\u002Fsecurity-headers.md` | Helmet、限流 |\n\n## 约束条件\n\n### 必须执行\n- 使用 bcrypt\u002Fargon2 哈希密码（绝不使用 MD5\u002FSHA-1\u002F无盐哈希）\n- 使用参数化查询（绝不使用字符串插值 SQL）\n- 在使用前验证并清理所有用户输入\n- 在认证端点上实现限流\n- 设置安全头部（CSP、HSTS、X-Frame-Options）\n- 记录安全事件（认证失败、越权尝试）\n- 将密钥存储在环境变量或密钥管理器中（绝不存储在源代码中）\n\n### 禁止执行\n- 以明文或可逆加密形式存储密码\n- 不经验证信任用户输入\n- 在日志或错误响应中暴露敏感数据\n- 使用弱或已弃用的算法（MD5、SHA-1、DES、ECB 模式）\n- 在代码中硬编码密钥或凭证\n\n## 代码示例\n\n### 密码哈希（bcrypt）\n\n```typescript\nimport bcrypt from 'bcrypt';\n\nconst SALT_ROUNDS = 12; \u002F\u002F 最少 10；12 在安全性和性能之间取得平衡\n\nexport async function hashPassword(plaintext: string): Promise\u003Cstring> {\n  return bcrypt.hash(plaintext, SALT_ROUNDS);\n}\n\nexport async function verifyPassword(plaintext: string, hash: string): Promise\u003Cboolean> {\n  return bcrypt.compare(plaintext, hash);\n}\n```\n\n### 参数化 SQL 查询（Node.js \u002F pg）\n\n```typescript\n\u002F\u002F 绝不：`SELECT * FROM users WHERE email = '${email}'`\n\u002F\u002F 始终：使用位置参数\nimport { Pool } from 'pg';\nconst pool = new Pool();\n\nexport async function getUserByEmail(email: string) {\n  const { rows } = await pool.query(\n    'SELECT id, email, role FROM users WHERE email = $1',\n    [email]  \u002F\u002F 值单独传递 —— 绝不插值\n  );\n  return rows[0] ?? null;\n}\n```\n\n### 使用 Zod 进行输入验证\n\n```typescript\nimport { z } from 'zod';\n\nconst LoginSchema = z.object({\n  email: z.string().email().max(254),\n  password: z.string().min(8).max(128),\n});\n\nexport function validateLoginInput(raw: unknown) {\n  const result = LoginSchema.safeParse(raw);\n  if (!result.success) {\n    \u002F\u002F 返回通用错误 —— 绝不回显原始输入\n    throw new Error('Invalid credentials format');\n  }\n  return result.data;\n}\n```\n\n### JWT 验证\n\n```typescript\nimport jwt from 'jsonwebtoken';\n\nconst JWT_SECRET = process.env.JWT_SECRET!; \u002F\u002F 绝不硬编码\n\nexport function verifyToken(token: string): jwt.JwtPayload {\n  \u002F\u002F 如果已过期、被篡改或算法错误则抛出异常\n  const payload = jwt.verify(token, JWT_SECRET, {\n    algorithms: ['HS256'],   \u002F\u002F 显式白名单算法\n    issuer: 'your-app',\n    audience: 'your-app',\n  });\n  if (typeof payload === 'string') throw new Error('Invalid token payload');\n  return payload;\n}\n```\n\n### 保护端点安全 —— 完整流程\n\n```typescript\nimport express from 'express';\nimport rateLimit from 'express-rate-limit';\nimport helmet from 'helmet';\n\nconst app = express();\napp.use(helmet()); \u002F\u002F 设置 CSP、HSTS、X-Frame-Options 等\napp.use(express.json({ limit: '10kb' })); \u002F\u002F 限制 payload 大小\n\nconst authLimiter = rateLimit({\n  windowMs: 15 * 60 * 1000, \u002F\u002F 15 分钟\n  max: 10,                   \u002F\u002F 每个 IP 每个窗口最多 10 次尝试\n  standardHeaders: true,\n  legacyHeaders: false,\n});\n\napp.post('\u002Fapi\u002Flogin', authLimiter, async (req, res) => {\n  \u002F\u002F 1. 验证输入\n  const { email, password } = validateLoginInput(req.body);\n\n  \u002F\u002F 2. 认证 —— 参数化查询，常量时间比较\n  const user = await getUserByEmail(email);\n  if (!user || !(await verifyPassword(password, user.passwordHash))) {\n    \u002F\u002F 通用消息 —— 不透露邮箱是否存在\n    return res.status(401).json({ error: 'Invalid credentials' });\n  }\n\n  \u002F\u002F 3. 授权 —— 签发有作用域、短生命周期的 token\n  const token = jwt.sign(\n    { sub: user.id, role: user.role },\n    JWT_SECRET,\n    { algorithm: 'HS256', expiresIn: '15m', issuer: 'your-app', audience: 'your-app' }\n  );\n\n  \u002F\u002F 4. 安全响应 —— token 放在 httpOnly cookie 中，而非响应体\n  res.cookie('token', token, { httpOnly: true, secure: true, sameSite: 'strict' });\n  return res.json({ message: 'Authenticated' });\n});\n```\n\n## 输出模板\n\n实现安全功能时，需提供：\n1. Safe 的实现代码\n2. 注明安全注意事项\n3. 配置要求（环境变量、头部）\n4. 测试建议\n\n## 知识参考\n\nOWASP Top 10、bcrypt\u002Fargon2、JWT、OAuth 2.0、OIDC、CSP、CORS、限流、输入验证、输出编码、加密（AES、RSA）、TLS、安全头部\n",{"name":5,"license":15,"metadata":44,"description":7},{"role":45,"scope":46,"author":47,"domain":48,"version":49,"triggers":50,"output-format":21,"related-skills":51},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","security","1.1.0","security, authentication, authorization, encryption, OWASP, vulnerability, secure coding, password, JWT, OAuth","fullstack-guardian, security-reviewer, architecture-designer","optimize-agents-chinese","54861d380d2ee16418f006fd308a3d12581b1e78","opencode\u002Fskills\u002Fsecure-code-guardian","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config","https:\u002F\u002Fgithub.com\u002FBlake-John","2026-06-29 20:16:16",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add Blake-John\u002Fagent-config --skill secure-code-guardian",{"tool":64,"command":65},"bunx","bunx skills add Blake-John\u002Fagent-config --skill secure-code-guardian",{"tool":67,"command":68},"pnpm","pnpm dlx skills add Blake-John\u002Fagent-config --skill secure-code-guardian","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002FSKILL.md",true,[72,78,84,88,92,96,100,104,108,112],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"customize.toml","OTHER","其他",1658,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgds-generate-project-context\u002Fcustomize.toml",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"project-context-template.md","REFERENCE","参考文档",467,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgds-generate-project-context\u002Fproject-context-template.md",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fauthentication.md",3349,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002Freferences\u002Fauthentication.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Finput-validation.md",3372,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002Freferences\u002Finput-validation.md",{"path":93,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fowasp-prevention.md",3335,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002Freferences\u002Fowasp-prevention.md",{"path":97,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fsecurity-headers.md",3020,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002Freferences\u002Fsecurity-headers.md",{"path":101,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fxss-csrf.md",3213,"https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecure-code-guardian\u002Freferences\u002Fxss-csrf.md",{"path":105,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":106,"sourceHtmlUrl":107},"steps\u002Fstep-01-discover.md",6453,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgds-generate-project-context\u002Fsteps\u002Fstep-01-discover.md",{"path":109,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":110,"sourceHtmlUrl":111},"steps\u002Fstep-02-generate.md",9620,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgds-generate-project-context\u002Fsteps\u002Fstep-02-generate.md",{"path":113,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":114,"sourceHtmlUrl":115},"steps\u002Fstep-03-complete.md",8256,"https:\u002F\u002Fgithub.com\u002FdevelopAgent\u002Fbmad-start\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgds-generate-project-context\u002Fsteps\u002Fstep-03-complete.md",[117,141,161,183,205,224],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":39},"01M6EAZFTRV9ED04KDN43NNBND","websocket-engineer","当使用 WebSocket 或 Socket.IO 构建实时通信系统时使用。适用于双向消息通信、Redis 水平扩展、在线状态追踪、房间管理。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fwebsocket-engineer\u002FSKILL.md",[],[124,125,126,38,21,127,128,129,130,131,132,133,134,26,135,136,137,138,139,140],"websocket","engineer","websocket engineer","communication","push","messaging","monitoring","server","redis","real-time","api","fastapi","expert","nestjs","chat","time","io",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":39},"01M6EAZAQJDB2F89M9BAXXQ193","security-reviewer","识别安全漏洞，生成带有严重性评级的结构化审计报告，并提供可操作的安全修复建议。在开展安全审计、审查代码漏洞或分析基础设施安全时使用。适用于 SAST 扫描、渗透测试、DevSecOps 实践、云安全审查、依赖审计、密钥扫描或合规检查。生成漏洞报告、优先级建议和合规清单。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fsecurity-reviewer\u002FSKILL.md",[],[48,26,148,149,150,151,152,153,21,154,155,156,31,134,157,158,29,125,159,160],"security reviewer","testing","MCP","review","kubernetes","security analysis","cloud security","analysis","security audit","Bash","生成","scan","penetration",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":39},"01M6EAYPNHN4R8HZZ539DR7A5E","rust-engineer","编写、审查和调试符合 Rust 风格的代码，确保内存安全和零成本抽象。实现所有权模式、管理生命周期、设计 trait 层级、使用 tokio 构建异步应用程序，以及使用 Result\u002FOption 结构化错误处理。适用于构建 Rust 应用程序、解决所有权或借用问题、设计基于 trait 的 API、实现 async\u002Fawait 并发、创建 FFI 绑定，或优化性能和内存安全。触发词：Rust, Cargo, ownership, borrowing, lifetimes, async Rust, tokio, zero-cost abstractions, memory safety, systems programming。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Frust-engineer\u002FSKILL.md",[],[168,125,169,149,170,24,171,172,173,174,175,176,29,177,178,46,179,180,181,182],"rust","rust engineer","design","memory","memory safety","ffi","https","ZeRO","Safety","option","cost","async","patterns","systems","cargo",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":189,"publishedAt":39},"01M6EAYJ5YERE5C5GNE248S26G","react-native-expert","使用 React Native 和 Expo 构建、优化和调试跨平台移动应用。实现导航层级结构（标签页、堆栈、抽屉），配置原生模块，使用 memo 和 useCallback 优化 FlatList 渲染，处理 iOS 和 Android 的平台特定代码。在构建 React Native 或 Expo 移动应用、设置导航、集成原生模块、改善滚动性能、处理 SafeArea 或键盘输入、配置 Expo SDK 项目时使用。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Freact-native-expert\u002FSKILL.md",[],[190,191,136,192,193,194,24,195,21,174,196,197,46,198,199,200,201,202,203,204],"react","react native","react native expert","frontend","android","sdk","ios","mobile app","mobile","expo","cross-platform","memo","platform","module","app",{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":211,"publishedAt":39},"01M6EAYEGN5FZBHAGF8GQAK64D","react-expert","当你使用 .jsx 或 .tsx 文件构建 React 18+ 应用、Next.js App Router 项目或 create-react-app 时使用。创建组件、实现自定义 hooks、调试渲染问题、将类组件迁移为函数组件、以及实现状态管理。适用于 Server Components、Suspense 边界、useActionState 表单、性能优化或 React 19 特性。","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Freact-expert\u002FSKILL.md",[],[190,136,212,193,24,213,214,215,21,131,216,217,218,219,220,221,222,204,23,223],"react expert","components","component","create","Next.js","zustand","router","hooks","tsx","tanstack query","query","react 19",{"skillNo":225,"name":226,"nameZh":6,"description":227,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":228,"categories":229,"keywords":230,"publishedAt":39},"01M6EAY4EQSTP8GMPCAGQ0Z6NE","python-pro","Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async\u002Fawait patterns, dataclasses, dependency injection, logging configuration, and structured error handling.","https:\u002F\u002Fgithub.com\u002FBlake-John\u002Fagent-config\u002Fblob\u002Foptimize-agents-chinese\u002Fopencode\u002Fskills\u002Fpython-pro\u002FSKILL.md",[],[231,232,233,234,21,235,236,237,238,135,239,125,179,240,136,241,242,243,244,245],"python","python pro","python development","development","best practices","applications","pythonic","programming","use","ruff","async programming","dependency injection","fixtures","black","error"]