Ln 501 Code Quality Checker
Testing & Qualityln-501-code-quality-checkerLn 501 Code Quality Checker is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Worker that checks DRY/KISS/YAGNI/architecture/guide compliance for Done implementation tasks. Reports issues; does not change statuses or create tasks.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/development/ln-501-code-quality-checker/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ln-501-code-quality-checker, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Code Quality Checker
Analyzes Done implementation tasks for code-quality issues and reports findings for the Story quality gate.
Purpose & Scope
- Load Story and Done implementation tasks (exclude test tasks).
- Check for DRY/KISS/YAGNI violations, architecture boundary breaks, guide non-compliance, and obvious config/hardcode problems.
- Produce a verdict and structured issue list; never edits Linear or kanban.
Workflow (concise)
- Load Story (full) and Done implementation tasks (full descriptions) via Linear; skip tasks with label "tests".
- Collect affected files from tasks (Affected Components/Existing Code Impact) and recent commits/diffs if noted.
- Analyze code and docs:
- Reuse existing components; avoid duplication; simplify over-engineering; keep layers clean.
- No hardcoded creds/URLs/magic numbers; follow referenced guides.
- Logging: structured logging on errors/warnings; log levels appropriate.
- Comments: WHY-focused; no commented-out/dead code; public API documented.
- Naming: conventions consistent; self-documenting names; no cryptic abbreviations.
- Performance: no O(n^2) in loops; no N+1 queries; lazy loading where applicable.
- Concurrency: no race conditions; proper locking; async/await correct.
- Output verdict: PASS or ISSUES_FOUND with details (category, severity, file, recommendation). Add Linear comment with findings.
Critical Rules
- Read guides mentioned in Story/Tasks before judging compliance.
- Language preservation in comments (EN/RU).
- Do not create tasks or change statuses; caller decides next actions.
Definition of Done
- Story and Done implementation tasks loaded (test tasks excluded).
- Guides reviewed; affected files inspected.
- Verdict produced with structured issues (if any) and Linear comment posted.
Reference Files
- Guides:
docs/guides/ - Templates for context:
../ln-301-task-creator/references/task_template_implementation.md
Version: 3.0.0 (Condensed worker flow) Last Updated: 2025-12-23