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.
9k tokens
context cost
the whole folder, loaded on every use
3
files
instructions only
0
copies elsewhere
how many repositories repackaged it
235
stars on the repo
on the repository, not the skill itself
Install
one command, takes just this skill from the repository
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.
10. 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.
How to use it
Copy the folder
Take onewave-ai/tech-due-diligence from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
Check the name does not clash
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.