review-incan-source-quality
БесплатноБез исполняемых скриптовНе проверенReview touched Incan source for Python-quality readability, idiomatic Incan structure, dogfooding integrity, public API polish, and source-level…
от encero-systems★ 75 звёзд на GitHubОб этом скилле
Review Incan Source Quality
Purpose
/review-incan-source-quality is a report-only reviewer for touched .incn source.
The standard is not merely "has comments" or "passes tests". The standard is:
- the source should honor the Zen of Incan: readability counts, safety over silence, explicit over implicit, visible performance costs, explicit namespaces, and one obvious way with documented escape hatches;
- the code should read like well-written Python;
- the source should use Incan as the implementation language, not as a thin facade;
- public APIs should feel authored for users;
- private helpers should sit near the public or external implementation they support when that makes the file easier to read;
- comments should explain intent, protocol invariants, boundary quirks, and non-obvious implementation depth.
Own:
.incnreadability and source organization- stdlib dogfooding quality
- evidence that implementation choices were based on current Incan capability, not stale assumptions
- Pythonic naming, helper shape, and control flow
- complete and descriptive module, type, function, method, property, alias, partial, and helper docstrings
- public API examples where they clarify use
- inline comments that clarify non-obvious behavior for Python-oriented readers
- anti-patterns that make Incan source look generated, Rust-shaped, or backend-driven
Do not own:
- broad architecture placement decisions
- Rust prose or rustdoc quality
- test style outside
.incntest fixtures/examples - docs truthfulness outside comments/docstrings embedded in source
- final branch-clean judgment
Output artifacts
Write a slice report at:
.agents/state/review-report.incan-source-quality.md
Do not write to the canonical .agents/state/review-report.md.
When the source-quality report has findings, also copy the scope and findings into the shared lightweight central snapshot folder outside individual repo worktrees under FINDINGS_ROOT. Resolve it once per review and record the absolute path in the slice report:
COMMON_GIT_DIR="$(git rev-parse --path-format=absolute --git-common-dir)"
WORKSPACE_ROOT="$(dirname "$(dirname "$COMMON_GIT_DIR")")"
FINDINGS_ROOT="${INCAN_REVIEW_FINDINGS_ROOT:-$WORKSPACE_ROOT/.incan-review-findings}"
mkdir -p "$FINDINGS_ROOT"
git-common-dir keeps the default stable when the review runs in a linked worktree. Set INCAN_REVIEW_FINDINGS_ROOT to use a different shared corpus location.
Use a deterministic, descriptive filename when possible:
YYYY-MM-DD-pr-<number>-incan-source-quality-<slug>.mdYYYY-MM-DD-branch-<branch-slug>-incan-source-quality.mdYYYY-MM-DD-review-incan-source-quality.mdwhen no PR or branch context is known
Do not create a snapshot for clean reviews. The snapshot is raw corpus for later analysis, not canonical guidance. Treat FINDINGS_ROOT as an append-only central corpus for local review work: create new snapshot files, but do not delete, overwrite, prune, or "clean up" existing snapshots unless the user explicitly asks for that exact maintenance. Snapshot content is evidence, not a fix log. Preserve the original finding blocks verbatim, including severity, category, file path, line reference, and explanatory text. If the finding is fixed before the snapshot is written, keep the original finding as observed and add a separate Resolution note after it; do not replace the evidence with a resolved checklist item or a summary of the fix.
Review standard
Treat touched Incan source as user-facing language showcase code, especially under loaves/stdlib/, examples, fixtures that teach behavior, and RFC-backed language features.
The binding standard is workspaces/docs-site/docs/contributing/explanation/readable-incan.md, and its reference example is workspaces/contracts/src/formatting.incn. Compare touched code against that file's shape:
- a public entry point whose docstring numbers its steps;
- a body that reads as those steps, one short comment each;
- a named helper per decision;
- repeated plumbing wrapped once.
A function that interleaves several jobs without that shape is a finding.
Good Incan source should have:
- top-down structure that exposes the public contract before implementation details;
- local grouping that keeps internal helpers close to the public functions, methods, properties, or trait implementations they support when proximity improves comprehension;
- names that describe domain concepts rather than backend mechanics;
- small helpers that remove real complexity;
- direct
?,if let,while let,loop:withbreak <value>, early return, and value-enum/model usage where those make the code simpler; - public docstrings with
std.fs-style shape: summary, semantic notes, andArgs,Returns, orExamplesections where useful, not one-line labels that restate the name; - module, class, model, enum, trait, function, method, property, alias, partial, and helper docstrings on every authored declar
Установить review-incan-source-quality в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-incan-source-quality?
Review touched Incan source for Python-quality readability, idiomatic Incan structure, dogfooding integrity, public API polish, and source-level anti-patterns. Use for `.incn` stdlib, examples, language-surface implementations, or when the user asks whether Incan code reads like well-written Python rather than Rust-shaped scaffolding.
Как установить скилл review-incan-source-quality?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-incan-source-quality запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic