Vyšiel Claude Mythos, najsilnejší model, aký bol doteraz dostupný. Ak máš predplatné, prístup k nemu máš iba do 22. júna. Tu je presný prompt, ktorým ti Mythos zaudituje celý projekt a navrhne plán, ako ho zlepšiť.


1. Spusti hĺbkový audit svojho projektu

Tento prompt prejde celý repozitár v 4 fázach: zmapuje ho, nájde slabé miesta s dôkazmi (súbor a riadok), navrhne stratégiu a rozbije ju na konkrétne úlohy s prioritami. Nič nemení, iba analyzuje. Výstup je dokument, podľa ktorého vieš pracovať celé týždne.

Postup:

  1. Otvor Claude Code v hlavnom priečinku projektu, ktorý chceš zauditovať.
  2. Príkazom /model prepni na najsilnejší dostupný model (Mythos, prípadne Fable).
  3. Vlož prompt nižšie a nechaj ho dokončiť všetky 4 fázy.

Prompt je v angličtine naschval, najsilnejšie modely s ňou pracujú najspoľahlivejšie.

Prompt na skopírovanie:

Repo Audit & Improvement Plan:
Prompt made by Claude Fable 5

You are a world-class principal-level software engineer and technical auditor. Your job is to deeply analyze this repository, produce an honest audit, and deliver a prioritized, actionable improvement plan. Work in the four phases below, in order. Do not skip ahead.

Ground every claim in actual files: cite file paths and line numbers. If you can't verify something, say so explicitly rather than guessing.

Phase 1 / Discovery & Mapping (read before judging)
Explore the repository systematically before forming any opinions:

Map the directory structure and identify the project type, language(s), frameworks, and runtime targets.
Identify entry points, core modules, and the main data/control flow through the system.

Read the package manifest(s), lockfiles, build config, CI config, environment/config files, and any docs (README, CONTRIBUTING, ADRs).

Determine what the project is for: its purpose, intended users, and apparent maturity (prototype, internal tool, production service, library).

Note conventions already in use (naming, module boundaries, error handling patterns, test style) so recommendations fit the existing culture rather than fighting it.

Output for this phase: a concise "Repo Map" purpose, stack, architecture sketch, key directories with one-line descriptions, and anything that surprised you.

Phase 2 / Audit (evidence-based, severity-rated)

Audit each dimension below.

For every finding, record: (a) what you found, (b) where (file:line), (c) why it matters (concrete consequence, not vague principle), (d) severity:

 Critical / High / Medium / Low.

• Architecture & design: module boundaries, coupling/cohesion, circular dependencies, leaky abstractions, god objects/files, layering violations, scalability bottlenecks.

• Code quality: duplication, dead code, complexity hotspots (longest/most-branched functions), inconsistent patterns, error handling gaps (swallowed exceptions, missing edge cases), type safety holes.

• Security: hardcoded secrets or credentials, injection risks, unsafe deserialization, missing input validation, auth/authz weaknesses, outdated dependencies with known CVEs, overly permissive configs.

• Testing: coverage gaps (especially around core business logic), test quality (do tests assert behavior or just execution?), missing test types (unit/integration/e2e), flaky patterns, untestable code.

• Performance: N+1 queries, unnecessary allocations or copies, blocking calls in async paths, missing caching/indexing, unbounded growth (memory, files, queues).

• Dependencies: outdated, unmaintained, duplicated, or unnecessarily heavy packages; license risks; lockfile hygiene.

• DevEx & operations: build/setup friction, CI/CD gaps, missing linting/formatting enforcement, logging/observability quality, error reporting, deployment story.

• Documentation: README accuracy, onboarding path, undocumented critical behavior, stale docs that contradict code.

Rules for this phase:

Prefer 15 high-confidence findings over 50 speculative ones.

Distinguish facts ("this function has no error handling: src/api/client.ts:142") from judgments ("this module's responsibilities feel unclear") and label which is which.

Also list what the repo does well: strengths matter for deciding what to preserve.

Output for this phase: an "Audit Report": findings grouped by dimension, sorted by severity, plus a Strengths section.

Don't forget to mention all the ugly parts that need utmost priority.

Phase 3 / Improvement Strategy

Synthesize the audit into a strategy:

Identify the 3–5 themes that explain most of the findings (e.g., "no enforced boundaries between layers," "error handling is ad hoc").

For each theme, propose a target state and the principle behind it.

State explicit trade-offs: what you're recommending NOT to fix and why (effort vs. payoff, risk, project maturity).

Define what "done" looks like — measurable signals (e.g., "CI fails on lint errors," "core module test coverage ≥ 80%," "zero Critical findings").

Phase 4 / Detailed Task Plan
Convert the strategy into an execution plan:

Break work into discrete tasks. Each task must include: Title and one-paragraph description
Files/areas affected

Acceptance criteria (how we verify it's done)
Effort estimate (S = <2h, M = half-day, L = 1–2 days, XL = needs breakdown)

Risk of the change itself (could it break things?)
Dependencies on other tasks

Order tasks into milestones:

Milestone 0
Safety net: anything needed before refactoring safely (tests around critical paths, CI gates, backups).

Milestone 1
Critical fixes: security and correctness issues.

Milestone 2
High-leverage improvements: changes that make all future work easier.

Milestone 3
Quality & polish: remaining medium/low items worth doing.

Flag quick wins (high impact, S effort) separately so they can be done immediately.

For the top 3 tasks, include a brief implementation sketch (approach, key steps, gotchas).

Final Deliverable Format
• Produce a single document with these sections:
• Executive Summary (≤10 sentences: overall health grade A–F with justification, top 3 risks, top 3 opportunities)
• Repo Map
• Audit Report
• Improvement Strategy
• Task Plan (milestones + task table + quick wins)
• Open Questions: anything you need from a human to decide (product intent, deprecation candidates, performance targets)

Constraints
Do NOT modify any code during this audit, the modification comes after. Analysis only. Then you suggest what we do.

Do not pad the report. If a dimension is healthy, say so in one sentence and move on.

Calibrate to the project's maturity. Don't recommend enterprise-grade infrastructure for a weekend prototype unless the owner's goals demand it.

Analyze the project's needs and provide recommendations in the most effective ways.

If the repo is large, prioritize depth in the core 20% of code that does 80% of the work, and note which areas received lighter review.

2. Premeň audit na hotovú prácu

Audit je iba polovica hodnoty. Druhá polovica je exekúcia podľa milestone plánu, ktorý ti prompt vygeneroval. Tento follow-up zoberie report a začne ho implementovať kontrolovane, úloha po úlohe.

Postup:

  1. Ulož výstup auditu do súboru AUDIT.md v projekte.
  2. Otvor novú konverzáciu v Claude Code (čistý kontext).
  3. Vlož prompt nižšie a kontroluj priebeh po každom milestone.

Prompt na skopírovanie:

Prečítaj si AUDIT.md. Začni s Milestone 0 (safety net) a quick wins. Pracuj úloha po úlohe:

1. Povedz mi, čo ideš zmeniť a prečo.
2. Urob zmenu.
3. Over, že nič nie je pokazené (spusti testy alebo mi ukáž, ako to skontrolujem).
4. Až potom pokračuj na ďalšiu úlohu.

Po každom milestone mi napíš krátky súhrn: čo je hotové, čo zostáva a či sa zmenili priority.

3. Nauč sa šetriť najsilnejšie modely