Prompt
0 copies · 0 said it worked
Read-only audit of a quant-tools repository for defects and gaps
Guides an agent through a read-only audit of a quant-tools checkout: mapping the project, verifying defects offline, identifying safety and test gaps, and delivering a prioritized report.
People use this for
- quant trading repository code audit
- audit quant tools codebase for defects
- read-only code review checklist trading software
- find bugs in algorithmic trading repo
- review repository for test and safety gaps
Imported on Nov 29, 2026 from Quant Tools Repository & Gap Audit . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Prompt
# Ultrathinker — Quant Tools Repository Audit Perform a read-only audit of the current `quant-tools` checkout. Deliver a report that maps the repository, identifies confirmed defects and meaningful gaps, and prioritizes improvements. Inventory the entire project and concentrate detailed review on paths with the highest operational impact. Follow `AGENTS.md`, the OpenWiki quickstart, and relevant development and operations guidance. Use the repository’s prescribed codebase discovery tools and verify index coverage for files you rely on. Preserve the worktree and production state. Run only offline checks using local fixtures or isolated temporary data. Keep sensitive values and account identifiers out of the report. ## 1. Map the project and its boundaries - Record the branch, commit, and worktree state reviewed. Map all tracked top-level directories and significant root files, including how source, tests, configuration, scripts, and documentation fit together. - Identify languages, supported runtime versions, package managers, and direct dependencies. Distinguish runtime, development, and optional dependencies using manifests, lockfiles, and build configuration. - Identify the main entry points. Trace critical flows from manual or scheduled invocation through configuration, validation, business logic, persistence, and outputs. Identify the source of truth at each boundary and where responsibility passes to an operator or external service. - Review packaging, build, tests, and CI/CD. Document triggers, checks, release gates, and deployment configuration. State which claims come from configuration and which have execution evidence. Apply the repository’s rules for attributing run evidence to a release. - Check the README, API documentation, and operator guides against the code. Walk through onboarding from a clean checkout, including dependencies, safe local configuration, example commands, test instructions, and where to look when a command fails. ## 2. Find and verify defects Cover security and reliability, functional correctness, integrations, edge cases, and code quality. Prioritize conditions that could affect broker-facing decisions, corrupt state, or misrepresent an operational result. - Start with a concrete trigger. Trace it from a supported entry point to the relevant behavior and establish its consequence. Check alternate callers and sibling paths for the same root cause. - Use existing offline tests, static analysis, or sanitized fixtures when they can settle a question. Record whether the finding was reproduced, confirmed by source inspection, or remains unverified. - Check relevant boundaries for malformed input, stale or missing data, unit and rounding errors, market-session and timezone boundaries, timeouts, duplicate execution, partial writes, and restart behavior. - Look for consequential code-quality issues such as duplicated business rules, dead or deprecated paths, and performance bottlenecks. Cite evidence for reachability or impact and record where either remains uncertain. - Describe security findings in terms of the affected boundary, impact, and defensive remediation. ## 3. Identify gaps For each material gap, identify the requirement or concrete failure mode, what currently covers it, what is missing, and the smallest change that would close it. Distinguish a confirmed defect, a verification gap, and an improvement opportunity. - **Safety invariants** — For each applicable invariant in `AGENTS.md`, find where it is enforced and what verifies it. Pay particular attention to whole-contract quantities, operator approval, fail-closed behavior, exact execution linkage, soft-only model evidence, and release-specific proof. Check whether alternate entry points, retries, or compatibility paths can bypass the same protection. - **Test coverage** — Map critical behavior to tests. Look for missing rejection cases, integration boundaries that mocks skip, and end-to-end paths that lower-level tests cannot establish. Name the specific regression a proposed test would catch. - **Configuration and parity** — Compare defaults, CLI flags, environment settings, scheduled wrappers, and compatibility paths. Look for ineffective options, divergent defaults, and statuses that mean different things across entry points. Identify the configuration or evidence that settles each claim. - **Data integrity and recovery** — Review validation, provenance, backward compatibility, transaction boundaries, and rerun behavior. Check what happens when a process stops after doing only part of its work and whether an operator can determine what committed. - **Observability and operations** — Check whether logs, status output, exit codes, and run artifacts let an operator distinguish success, intentional skips, degraded operation, and failure. Identify gaps in diagnosis and recovery guidance. - **Documentation and organization** — Identify stale commands, missing prerequisites, unclear ownership, and duplicated or conflicting guidance. Recommend structural changes where they would make code easier to find, reduce duplicated behavior, or clarify a system boundary. ## 4. Deliver the report 1. **Summary** — Lead with the most consequential confirmed findings and gaps. State the scope and review depth. 2. **Findings** — Sort by severity. For each, provide a file and line reference, trigger, impact, evidence status, and focused remediation. Base severity on consequence and reachable conditions. Group findings that share a root cause. 3. **Gap analysis** — Show the expected safeguard or capability, current coverage, missing coverage, and how to verify closure. Prioritize the gaps that leave critical behavior unprotected or unverified. 4. **Project and system map** — Summarize the structure, stack, entry points, critical flows, boundaries, and CI/CD. Use a table or small diagram where it improves readability. 5. **Recommendations** — Prioritize concrete improvements to code quality, repository organization, README, and operational documentation. Tie each recommendation to an observed problem and its expected benefit. 6. **Verification and limits** — List the checks run and their results. Identify paths traced in depth, areas sampled, and behavior that requires additional evidence. Scope any conclusion of “no confirmed findings” to the checks performed.
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Quality engineering agent role for risk-based test strategy and CI quality gates
A senior quality engineering role prompt that guides an assistant through risk-based test strategy, test automation architecture, CI/CD quality gates, edge-case analysis, and defect management, writing results to a TODO checklist file.
Coding · @wkaandemir
- Forensic PHP codebase security, performance and quality audit
A long checklist-driven prompt that has the model act as a senior PHP reviewer and audit a codebase for type safety, security holes, database and performance issues, code quality, architecture, dependencies, and testing gaps, then report findings by severity with a final scored summary.
Coding · @ersinkoc
- Agent that writes, runs, and repairs tests after code changes
A system prompt defining a test-writer-fixer agent that writes unit, integration, and end-to-end tests, runs suites, analyzes failures, and repairs tests without weakening them.
Coding · @ersinyilmaz
- Check utility meter readings and bills for overcharges and leaks
Agent skill that cleans electricity, gas and water meter readings, computes usage and cost per period, checks supplier bills against readings and tariffs, and flags estimates, rollovers and leaks.
Data & Finance · @f
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.