用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vinilana/dotcontext --skill code-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| type | skill |
| name | Code Review |
| description | Review code quality, patterns, and best practices |
| skillSlug | code-review |
| phases | ["R","V"] |
| generated | "2026-03-18T00:00:00.000Z" |
| status | filled |
| scaffoldVersion | 2.0.0 |
Guidelines for reviewing code changes in the @dotcontext/cli project.
"strict": true)@generators/agents/* maps to src/generators/agents/*Service Layer (22 services in src/services/):
src/services/index.ts barrel filesFillService, WorkflowService, AIContextMCPServerGenerators (src/generators/):
SkillGeneratorResult)src/types/scaffoldFrontmatter.tsUtilities (src/utils/):
frontMatter.ts, contentSanitizer.ts, gitService.tscliUI.ts with CLIInterface typei18n.ts with TranslateFn type and en/pt-BR locale supportMCP Gateway Handlers (src/services/mcp/gateway/):
explore.ts, context.ts, sync.ts, etc.createJsonResponse/createErrorResponse/createTextResponse from response.tsindex.ts and gatewayTools.tsfs-extraconsole.log (use process.stderr.write for debug output)repoPath is never hardcoded; always resolved through options or getRepoPath()any types (use unknown + type guards where needed)anycreateErrorResponse() rather than throwingchalk/ora with user-friendly messagesfs-extra methods which handle missing directoriesfillService.ts, codebaseAnalyzer.ts)SkillGenerator, SemanticContextBuilder)I-free naming (SkillMetadata, not ISkillMetadata)BUILT_IN_SKILLS, PREVC_PHASE_ORDER)workflow-init, workflow-status).test.ts filesjest.mock() for external dependencies (AI providers, file system)fs.mkdtemp() and cleaned up in afterEachCLIInterface and TranslateFn for service tests (see fillService.test.ts)scaffoldVersion: "2.0.0"status field is set correctly (unfilled for new, filled after content generation)skillSlug for skills, agentType for agents, etc.)en and pt-BR in src/utils/i18n.ts'commands.fill.description't() function, not hardcoded stringsindex.ts are updatedAIContextMCPServer accepts contextBuilder for testing).describe() on every param with action prefixcreateJsonResponse/createErrorResponse consistentlygatewayTools.tsrepoPath uses the caching mechanism via getRepoPath()path.join(repoPath, outputDir, ...)force flag is respected (skip existing files when false)createSkillFrontmatter/serializeFrontmatter from scaffoldFrontmatter.tsautonomous or force is true.context/runtime/workflows/Implement or review bounded MCP inputs and responses. Use for gateway response helpers, MCP Zod schemas, list actions, cursor pagination, maxEvents, JSON serialization, audit logging, response metadata, artifact exports, or payload-size and client-compatibility changes.
Implement or review child-process execution with bounded stdout and stderr memory. Use for Node spawn wrappers, sensors, test runners, acceptance commands, timeout handling, output tails, truncation, or any change that captures subprocess output in the dotcontext harness.
Design, implement, or review bounded cache and persistent-index lifecycle. Use for ContextCache, SemanticContextBuilder, tree-sitter analysis cache, MCP session cache, hook host-session bindings, checkpoints, TTL, LRU, byte budgets, invalidation, cleanup timers, disposal, migration, or runtime retention configuration.
基于 SOC 职业分类