用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/andriy-viyatyk/persephone --skill review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | review |
| description | Review recent code changes against architecture and coding standards |
| model | sonnet |
| context | fork |
| agent | Explore |
| allowed-tools | Read, Grep, Glob, Bash |
You are reviewing recent code changes against the project's architecture and coding standards.
Read the following documentation as your source of truth:
doc/architecture/)overview.md — Application layers, process boundaries, key patternsfolder-structure.md — Where files belong (renderer/api, renderer/ui, renderer/editors, etc.)state-management.md — State primitives, Object Model APIs, reactive patternsscripting.md — Script execution, wrappers, facades, auto-release lifecycleeditors.md — Editor registry, content-view pattern, ContentViewModelpages-architecture.md — Page model, tab lifecycle, grouped pagesbrowser-editor.md — Browser-specific architecturedoc/standards/)coding-style.md — TypeScript, naming, imports, styling (Emotion), color tokenseditor-guide.md — How to add/modify editorscomponent-guide.md — UI component patternsmodel-view-pattern.md — Model-View separation, TComponentModelapi/, ui/, editors/, scripting/, components/, core/)import() not static importscolor.ts theme tokensapp.settings, app.fs, app.pages, etc. instead of accessing stores directlyuseContentViewModel hook.d.ts types in api/types/require("path") — Use file-path utility (/src/renderer/core/utils/file-path.ts) for all path operations. Only file-path.ts itself may import path directly.require("fs") — Use app.fs (/src/renderer/api/fs.ts) for file operations. Only fs.ts itself and a few documented exceptions may import fs directly (see coding-style.md for the exception list).! non-null assertions — Persephone's tsconfig.json has noImplicitAny: true but does NOT enable strict: true or strictNullChecks: true. Without strict null checks, TypeScript treats T | undefined as assignable to T everywhere — the ! operator is decorative (it silences the lint rule that scans for the ! token but is invisible to TS). Flag any newly-added ! in the diff as a concern. If null-safety is genuinely needed, use a runtime guard () or refactor the type so the invariant is visible. US-588 Phase 3 (May 2026) removed 154 such across 51 files with zero TS regressions — every one was a defensive addition with no semantic value.git diff or git status to identify changed/new filesPresent findings as a structured list:
Issues that violate architecture or standards. Each item should include:
Non-blocking improvements that could make the code better but are not violations.
If no concerns are found, say "No architecture concerns found." with a brief summary of what was reviewed.
Important: Only report real concerns backed by the documentation. Do not invent issues or be overly pedantic. Focus on structural/architectural problems, not cosmetic style preferences.
if (!x) return!