← Back to Project and learning foundation team
See how it helps
Inspect source repositories
Checks implementation, dependencies and tests at a fixed revision to substantiate technical capability claims.
source-code-repository-inspection
Team members using this skill
When is it useful?
Use when evaluating a library beyond its README or investigating a critical architectural assumption.
What does it help you do?
- Follows public entry points through validation, state, I/O and cleanup.
- Identifies hidden globals, blocking work and dependency or runtime constraints.
- Checks realistic test coverage and relevant release or issue history.
Try asking this
Inspect this streaming library's cancellation path and document exact source locations, tested behavior and remaining platform assumptions. Follow cancellation from public API to transport cleanup at the pinned revision. Run a small interruption probe and list any resource cleanup not directly observed.
Detailed documentation
Read the skill’s original instructions, examples and checks in their authored language.
Show less
Source Code & Repository Inspection
A README describes what the author hoped to build; the source code and tests reveal what actually runs. Always verify critical technical claims in primary source code.
Workflow
- Pin the exact version and commit:
- Record the repository URL, release tag or version, commit SHA, and inspection date for every finalist (
owner/repo@<commit-sha>orvX.Y.Z). - Cite specific file paths and line ranges (
path/to/file.ts#L42-L88) for every non-trivial architectural claim.
- Record the repository URL, release tag or version, commit SHA, and inspection date for every finalist (
- Inspect the manifest and entry points first:
- Read
package.json/Cargo.toml/pyproject.toml/composer.json/go.mod:- Check
exports/main/binentry points, engine/runtime constraints, peer dependencies, and native addon hooks (binding.gyp,preinstall,postinstall). - Count and inspect direct and heavy transitive dependencies.
- Check
- Read
- Trace the critical path from public API to execution:
- Follow the actual call graph of the feature we need:
- Public API function -> input validation -> state/memory management -> I/O or subprocess boundary -> error handling and retries -> cleanup/disposal.
- Check for hidden global singletons, blocking synchronous I/O, swallowed errors, hardcoded timeouts, or assumptions about filesystem/network access.
- Follow the actual call graph of the feature we need:
- Interrogate tests and examples for realism:
- Read the test suite (
test/,spec/,__tests__/):- Do tests exercise real edge cases, concurrency, malformed inputs, and failure recovery, or do they only mock out the hard parts?
- Do example scripts work against current APIs, or are they broken artifacts from an older major version?
- Read the test suite (
- Scan issues, PRs, and release notes for sharp edges:
- Search open and recently closed issues/PRs for keywords matching our use case (
memory leak,ESM,Windows,timeout,streaming,concurrency,breaking). - Distinguish between a finished, stable, small library (few recent commits because its scope is complete and bug-free) and an abandoned broken project (unanswered breaking bugs against current runtimes).
- Search open and recently closed issues/PRs for keywords matching our use case (
Anti-Patterns to Avoid
- Claiming full codebase review after skimming two files: State explicitly which modules and code paths were inspected and which were not.
- Treating dead or feature-flagged stubs as working features: Verify that exported functions are wired to real logic, not
TODOplaceholders or cloud-only endpoints.
Included files 1
SKILL.md
