本文へ移動
cccskills
無料GitHub で公開

holistic-linting

Discover and run configured quality gates for requested or changed work, preserve diagnostics as evidence, route failures to the appropriate causal/domain capability, and verify corrections. Use for linting, formatting, type-checking, configured hook checks, or pre-completion quality verification.

インストール方法を見る

含まれるファイル(56)

  • SKILL.md7.4 KB
  • references/mypy-docs/error_code_list.rst41.8 KB
  • references/mypy-docs/error_code_list2.rst21.9 KB
  • references/rules/bandit/credentials-secrets.md10.8 KB
  • references/rules/bandit/cryptography.md10.7 KB
  • references/rules/bandit/deserialization.md5.5 KB
  • references/rules/bandit/file-permissions.md5.6 KB
  • references/rules/bandit/framework-config.md7.9 KB
  • references/rules/bandit/index.md9.3 KB
  • references/rules/bandit/injection-command.md9.0 KB
  • references/rules/bandit/miscellaneous.md7.1 KB
  • references/rules/bandit/module-imports.md6.0 KB
  • references/rules/bandit/ssl-tls.md10.3 KB
  • references/rules/bandit/unsafe-functions.md6.8 KB
  • references/rules/bandit/xml-parsing.md4.0 KB
  • references/rules/mypy/default-errors/abstract.md3.7 KB
  • references/rules/mypy/default-errors/advanced.md9.5 KB
  • references/rules/mypy/default-errors/assignment.md8.2 KB
  • references/rules/mypy/default-errors/async.md3.1 KB
  • references/rules/mypy/default-errors/attribute-access.md9.4 KB
  • references/rules/mypy/default-errors/collections.md3.6 KB
  • references/rules/mypy/default-errors/function-calls.md14.2 KB
  • references/rules/mypy/default-errors/imports.md2.1 KB
  • references/rules/mypy/default-errors/name-resolution.md9.2 KB
  • references/rules/mypy/default-errors/operators.md2.6 KB
  • references/rules/mypy/default-errors/type-validity.md10.7 KB
  • references/rules/mypy/index.md8.5 KB
  • references/rules/mypy/optional-errors/code-quality.md4.6 KB
  • references/rules/mypy/optional-errors/logic.md5.2 KB
  • references/rules/mypy/optional-errors/modern.md5.8 KB
  • references/rules/mypy/optional-errors/strict-types.md5.4 KB
  • references/rules/ruff/airflow.md1.2 KB
  • references/rules/ruff/era.md1.2 KB
  • references/rules/ruff/fastapi.md1.2 KB
  • references/rules/ruff/flake8-bandit.md1.3 KB
  • references/rules/ruff/flake8-bugbear.md7.7 KB
  • references/rules/ruff/flake8-builtins.md1.3 KB
  • references/rules/ruff/flake8-comprehensions.md1.4 KB
  • references/rules/ruff/import-conventions.md1.3 KB
  • references/rules/ruff/index.md4.9 KB
  • references/rules/ruff/isort.md1.3 KB
  • references/rules/ruff/logging-rules.md1.2 KB
  • references/rules/ruff/logging.md1.2 KB
  • references/rules/ruff/pandas-rules.md1.2 KB
  • references/rules/ruff/pep8-naming.md1.3 KB
  • references/rules/ruff/pycodestyle-errors-warnings.md10.7 KB
  • references/rules/ruff/pydocstyle.md1.3 KB
  • references/rules/ruff/pyflakes.md11.1 KB
  • references/rules/ruff/pyupgrade.md1.3 KB
  • references/rules/ruff/quotes.md1.2 KB
  • references/rules/ruff/return-values.md1.3 KB
  • references/rules/ruff/ruff-specific.md1.3 KB
  • references/rules/ruff/type-checking.md1.3 KB
  • references/rules/ruff/version-checks.md1.3 KB
  • scripts/detect_hook_tool.py3.7 KB
  • SKILL-GOALS.md639 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Holistic Linting

Run configured quality gates and treat diagnostics as evidence to diagnose, not instructions to silence. Read ../../ARCHITECTURE.md when changing this workflow or when a diagnostic crosses language, configuration, generated-artifact, or shared-contract boundaries.

1. Resolve scope and discover gates

Start from explicitly requested files/directories, or task-changed files when no scope was supplied. Do not broaden into repository-wide cleanup unless requested or required by an authoritative configured gate.

Inspect repository configuration read-only. When prek/pre-commit configuration is authoritative, run one aggregate prek run --files <changed files> invocation; name a hook only when reproducing or diagnosing that hook's failure. Preserve unknown/custom configured hooks rather than silently reducing them to a known-tool allowlist.

When .pre-commit-config.yaml is authoritative, detect_hook_tool.py may assist runner selection. Resolve the script from this installed skill directory, not the caller's working directory. Its answer is evidence about runner selection, not proof that all configured gates were discovered.

Classify discovery as COMPLETE, NO_APPLICABLE_GATES, or INCOMPLETE. Missing executables, malformed/unsupported configuration, timeout, and no-applicable-gate are distinct outcomes. Never turn an empty/unknown result into a pass.

For every planned gate retain command, cwd, scope, revision/config identity, and tool identity/version when material.

2. Execute and account for diagnostics

Run formatting and quality checks according to repository configuration. Formatting is a state change; add formatter-touched files to the affected verification surface.

Record exit status and emitted diagnostics for every gate. Gate success and diagnostic disposition are separate: a zero exit can still emit warnings/advisories. Account for those diagnostics before completion without promoting repository-approved warnings into failures.

If no diagnostic requires correction, continue through integrity/final reporting; do not bypass out-of-scope/advisory accounting.

3. Classify and cluster

Classify every material diagnostic as defect, tooling/configuration defect, justified-exception candidate, unresolved, or out-of-scope. Blocking versus advisory follows repository/task policy.

Cluster diagnostics that can share an API/type contract, configuration, generated source, dependency, or implementation boundary. A filename is not itself proof of independence or dependence. Parallelize only correction clusters whose relevant surfaces are established as independent.

4. Diagnose at the owning boundary

Apply an obvious mechanically safe correction only when intent is already established.

Otherwise, if dh:root-cause-tracing-process is actually available in the host, pass it the original gate evidence and use it to establish mechanism, governing contract, and correction boundary. If unavailable, perform only bounded causal work supported by current evidence; return UNRESOLVED when the missing capability/evidence prevents a safe decision.

Resolve a language/domain capability before invoking it. For Python, use python-engineering:standards-for-python-development when available. Broader read-only Python review capabilities such as StinkySnake, SnakePolish, review, or python-quality-audit are conditional assessment lanes, not automatic writers. If unavailable, do not invent their conclusions; if they return findings, hand correction to the caller or another authorized writer.

For non-Python failures, use an available owning domain capability when it materially improves the decision. Do not load Python methodology by default.

Rule interpretation

Interpret a rule from evidence corresponding to the configured tool/version where practical.

  • Ruff: prefer the installed tool's ruff rule <CODE>.
  • MyPy: prefer matching-version documentation; when unavailable/offline, use the bundled MyPy rule index and vendored MyPy docs as fallback evidence, marking version uncertainty.
  • Bandit: prefer current installed/official evidence, with the bundled Bandit rule index as offline fallback.
  • Other checkers: use installed/current documentation when available. For typing failures, trace expected/actual types upstream and inspect third-party stubs/configuration when relevant.

If authoritative interpretation cannot be established, retain that as missing evidence rather than guessing.

5. Protect quality-gate integrity

Do not autonomously add/broaden suppressions, reduce configured applicability/severity, bypass a gate, or delete required behavior merely to obtain green output.

A targeted exception is a policy decision. When evidence establishes valid behavior that requires one, record the proposed exception and required authority. Applied authorized exceptions remain explicit in final evidence.

6. Preserve unresolved and out-of-scope findings

For UNRESOLVED, retain the original diagnostic, material attempts/observations, fundamental constraint or unknown, and next evidence/decision required. An unresolved blocking requirement prevents successful workflow status.

For OUT_OF_SCOPE, retain tool/gate, rule when available, location/scope, exact diagnostic, reproduction command/context, and discovery revision/date. Deliver it to an existing authorized repository policy/tracker when available and record destination/receipt. If no consumer exists or delivery is unavailable, return the complete payload to the caller. Do not create a plugin-specific tracker.

7. Verify correction integrity and final state

Before accepting a corrected state:

  1. Compare relevant source/configuration against the pre-correction state.
  2. Check for newly added/broadened suppression, ignore/exclusion/severity/applicability weakening, gate bypass/removal, and deletion of required behavior.
  3. Distinguish live suppression from suppression-like fixture/string text and unchanged pre-existing comments.
  4. Confirm any exception is explicitly authorized.
  5. Rerun every affected configured gate, including incidentally changed files.
  6. If a relevant edit occurs after verification, invalidate and rerun the affected evidence.

A failed or unverified required integrity check returns to diagnosis/correction. A successful linter rerun alone is insufficient.

Report:

Workflow status: DONE | BLOCKED
Scope:
Discovery: COMPLETE | NO_APPLICABLE_GATES | INCOMPLETE
Configured gates executed:
Gate results:
Diagnostic dispositions: (include explicit none)
Corrections and integrity evidence:
UNRESOLVED: (include explicit none)
OUT_OF_SCOPE and delivery status: (include explicit none)
Additional validation required:

Use DONE only when required gates/integrity checks are terminal for the claimed scope. BLOCKED identifies the missing evidence, authority, capability, or failing required gate.

Bundled mechanics

Script output is evidence, not semantic diagnosis.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Add automated documentation updater to any Claude skill. Creates a Python sync script that downloads upstream docs, processes markdown for AI consumption, and maintains local cache with configurable refresh. Collects template variables, then delegates implementation through 5-phase workflow. Use when adding auto-updating reference documentation to plugins or skills.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月12日 更新

SAM-style feature initiation workflow — discovery through codebase analysis, architecture spec, task decomposition, validation, and context manifest. Use when a user asks to add a feature, plan a feature, or convert an idea into an executable SAM plan.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月12日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月12日 更新

Browser automation for AI agents using the agent-browser CLI and Playwright. Use when navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging into sites, or automating any browser task. Triggers on "open a website", "fill out a form", "click a button", "scrape data", "test this web app", "automate browser actions", or any programmatic web interaction request.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月12日 更新

Runs the description-drift experiment — spawns all Claude Code agents simultaneously to collect self-reported capabilities, then compares them against static frontmatter descriptions to reveal how reliable orchestrator routing based on descriptions actually is. Use when measuring description drift across the agent fleet, re-running the capability collection experiment, analyzing a specific agent's self-reported capabilities, or auditing whether frontmatter descriptions accurately reflect agent behavior.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月12日 更新

Create or adapt Claude Code agent definitions. Use when creating an agent, changing subagent configuration, selecting agent scope, or designing a specialized delegation role.

日本語の概要は準備中です。原文の説明を表示しています。

Jamie-BitFlight/claude_skills672026年10月12日 更新

Jamie-BitFlight のスキルをすべて見る

このスキルの問題を報告する