rea-analysis-optimization
MOmorluto/rea485k近 7 天新增 7,690 个 star
Run code quality checks, auto-formatting, complexity metrics, and code-smell analysis via the qlty CLI. Apply proactively to verify code quality, check diffs for smells or duplication, measure complexity, run or configure linters/verifiers, or set up `.qlty/qlty.toml` (including environment-aware setup and manual offline configuration when qlty is missing or installation is restricted).
Use qlty to coordinate relevant linters, formatters and built-in analysis. Repository checks in AGENTS.md, package scripts and CI remain authoritative. Prefer the project's tools and user priorities over generic language presets: a TypeScript repository using Biome does not need a competing ESLint/Prettier rollout.
Inspect the task, languages, existing config, scripts, lockfiles and baseline findings. Select reliable, low-noise checks that address the requested risks. Security plugins, linter extensions and metrics are choices, not a checklist to maximize. Record commands, scope, output and a relevant baseline; fix in-scope findings rather than reporting complexity numbers without context.
.qlty/qlty.toml, installed qlty --version, cached plugins and runtimes. Preserve existing configuration; do not run init over it.qlty init --no when available, inspect its generated suggestions and tailor them. Configuration is a reviewable change. Explicit read-only tasks remain read-only, or use isolated scratch configuration..qlty/qlty.toml by hand when configuration changes are in scope. This requires no network. Validate TOML and available schema support, and label configuration preparation separately from checks executed.The documented macOS/Linux installer is curl https://qlty.sh | sh. Inspect installer and platform support before executing downloaded code. To verify a release before installing it, follow the integrity verification steps in the quickstart: they need gh 2.67.0 or later, signed in, because older versions can report success when no matching attestation is found (CVE-2025-25204). The default binary location is ~/.qlty/bin; check that location before reinstalling and add it to this shell's PATH if appropriate. QLTY_NO_MODIFY_PATH=1 prevents shell-profile edits; QLTY_INSTALL_BIN_PATH chooses another installation directory. Windows support varies by release; verify current support rather than assuming POSIX commands work there.
Online, start with https://docs.qlty.sh/llms.txt and fetch relevant command/plugin documentation. Offline, use bundled references instead of attempting the network. Never invent plugin versions or flags.
Use explicit paths or a suitable upstream base to keep checks in scope. Commands default to changed files; --all widens coverage. check and fmt may install plugin runtimes on first use. A cached plugin can work offline, but uncached dependencies cannot. Installed built-in metrics and smells may work offline without plugin downloads; configuration source resolution can still need locally available definitions. A missing binary runs none of these checks.
qlty check
qlty check --upstream origin/main
qlty metrics --functions path/to/file.ts
qlty smells path/to/file.ts
Choose the relevant subset. --filter and --skip on check and fmt take plugin names or, for check, plugin:rule entries to narrow a run. For authorized formatting/fixes, use scoped qlty fmt or qlty check --fix --level=low, inspect the diff and rerun checks. Do not use --all formatting by habit or rewrite files during read-only review. Avoid unsafe auto-fixes and broad churn. --level controls displayed severity; --fail-level controls failure severity. Do not suppress errors to manufacture a green result.
Report four distinct facts: configuration prepared/changed, checks passed with command/output, failed checks, and checks not run with reasons. A parsed TOML file is not lint, security, metrics or full schema evidence. A clean run with no applicable plugins is not full quality coverage.
These are dated source excerpts. Prefer current official documentation when reachable; preserve the environment and authorization rules above when an upstream example assumes unrestricted installation.
MOmorluto/rea485k近 7 天新增 7,690 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star