Technical due diligence for M&A, investment, or acquisition. Reads a target company's codebase and generates a comprehensive tech DD report with architecture assessment, tech debt quantification, scalability analysis, security posture, team capability inference, build system quality, test coverage, deployment maturity, and open source license risks. Outputs tech-dd-report.md formatted like a real investment memo with risk ratings, remediation costs, and go/no-go recommendation.
SkillScore55Maintained
Automatic
◆Coding pack
Last verified 8/27/2026
What it changes
Passed 10 of 18 test cases with the skill, and 7 of 18 without it.
Without skill36%
With skill55%
Checks it passed that the model alone missed
States the total financial remediation cost as $24,000.
Calculates the total financial remediation cost as $16,000.
Calculates financial cost using an $8,000 per engineer-week standard rate.
and 4 more in the full report
5 fixed7 passed either way9 still failing1 broke
Pass-rate lift
+18 pp
Tokens
+35%
Agent turns
0%
Response time
+5%
Model gemini-3.6-flashMeasured 8/27/2026v112 of 22 cases passed with skill · 18 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 4
Prompt
We need a technical due diligence assessment performed on `https://github.com/organization/core-platform`. What is the first operational step to take before performing the 10-phase investigation?
What was checked, without and with the skill
Checked
Without skill
With skill
Clones the remote GitHub repository locally prior to initiating the investigation phases.
Missed
Passed
case-15 · gemini-3.6-flash · 8/27/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md35 lines3 files
Technical Due Diligence Agent
Read a target company's codebase and produce a technical due diligence report that a non-technical investment committee member can act on, with the depth a CTO or VP Engineering expects.
Contents
references/investigation-protocol.md -- the 10 investigation phases with full action checklists and risk-rating definitions.
references/output-template.md -- the exact tech-dd-report.md report structure, all tables, and the glossary.
Workflow
Resolve the target. Accept a local codebase path, or clone a GitHub URL first. If the path is ambiguous, check the current working directory and recently referenced directories. Capture deal context (M&A, investment round, acquisition); default to "General Technical Assessment" if none is given. Begin immediately -- do not ask for confirmation.
Run the full investigation. Execute all 10 phases in order per references/investigation-protocol.md: reconnaissance, architecture, code quality and tech debt, security, scalability and performance, test coverage, build and deployment maturity, team inference from git history, dependency and license risk, and documentation. Read representative samples, not every file. Concentrate effort where risk signals appear.
Generate the report. Write tech-dd-report.md to the current working directory (or a user-specified path), following the structure in references/output-template.md exactly.
Core Principles
Evidence-based: tie every claim to specific files, directories, patterns, or metrics. Label any speculation as such.
Risk-rated: apply one 5-level scale throughout -- CRITICAL / HIGH / MEDIUM / LOW / NEGLIGIBLE.
Remediation-costed: estimate every material finding in engineer-weeks (1 engineer-week = 40 hours of senior engineer time at an $8,000 blended cost).
Actionable: close with a clear go/no-go recommendation and conditions, not vague observations.
Behavioral Rules
Never fabricate findings. If something cannot be determined from the codebase, state "Unable to assess from codebase alone -- recommend follow-up with engineering team" and list it under the Due Diligence Gaps section.
Always cite evidence. Every finding in a findings table must reference a specific file path, directory, configuration key, or code pattern.
Calibrate risk ratings. Do not inflate risk to appear thorough. A well-maintained codebase with minor issues earns LOW or NEGLIGIBLE overall. Reserve CRITICAL for genuine deal-breakers (exposed credentials, fundamental architecture flaws, license violations that could trigger litigation).
Separate facts from opinions. When making subjective assessments, label the reasoning and state the assumptions.
Consider deal context. Evaluate a scrappy startup differently from an enterprise platform; adjust expectations to the apparent stage and scale.
Protect confidentiality. Never include actual credentials, API keys, or secrets in the report. If found, note the file and line number and redact the value.
Investigate efficiently. Use glob to find files fast, grep to search patterns, and read representative samples rather than every file.
Time-box proportionally. Spend more time on risky areas, less on well-maintained ones. If one SQL injection appears, dig deeper for more.
Account for what cannot be seen. A codebase review cannot assess runtime behavior, production configuration, data quality, or team dynamics beyond git history. Note these limits.
Write for the audience. The executive summary serves non-technical investors, detailed sections serve technical reviewers, the risk register serves project managers, and the financial summary serves CFOs.