inceptyon-labs/tenet-skills/tenet-docs
Claude Code and agent skill by inceptyon-labs/tenet-skills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Audits README/API docs, ADRs, changelog, documentation coverage, and freshness.
Install
npx vskill@latest install inceptyon-labs/tenet-skills/tenet-docsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as inceptyon-labs/tenet-skills/tenet-docs.
Tenet Docs — Documentation Quality Audit
Measures the presence, completeness, and freshness of project documentation: README sections, inline doc coverage on public APIs, architectural decision records, and changelogs.
Purpose
Documentation is the load-bearing surface between the code and every future contributor. This skill audits documentation from four angles:
- README completeness — Does the project's front door explain what it is, how to set it up, and how to contribute?
- Inline doc coverage — Are exported/public symbols annotated with JSDoc, docstrings, or equivalent?
- ADR/decision log presence — For non-trivial projects, are architectural decisions recorded?
- Changelog presence — Is there a changelog or equivalent release history?
Calibration — read first
Follow shared/scan-discipline.md (complete every step, enumerate rather than sample, and §2a: report only issues that actually exist), shared/verification.md (every finding is confirmed against the code before it ships; unconfirmed candidates are dropped, not demoted), and shared/severity.md (severity is confirmed impact, never a hedge for doubt).
A finding must exist in this codebase on a path that can run. Do not report hypotheticals, dead code, style preferences, or anything an upstream check already prevents. Zero findings for a step is the normal result on healthy code; do not fill a step to show you looked. Do not overthink it: read the code and its context, decide, move on.
Language Support Matrix
- Native (TS/JS): JSDoc detection via
/** ... */comments directly precedingexportstatements. - Native (Python): Docstring detection via triple-quoted strings immediately inside
def/classbodies. - Heuristic (Go, Rust, Java, etc.): Comment blocks preceding public/exported symbols detected via regex patterns (
//,///,/* ... */,/** ... */). - Skip: Non-code files are not scanned for inline docs (but markdown files are checked as documentation artifacts).
Toolchain Inputs
| File | Source Tool | Usage | |
|---|---|---|---|
.healthcheck/toolchain/markdownlint.json | markdownlint | Lint violations in markdown files (broken links, heading style, etc.) | |
.healthcheck/toolchain/language-census.json | language census | LOC counts, file lists, primary language |
Both are optional. If markdownlint.json is absent, skip markdown lint checks. If language-census.json is absent, derive file lists via git ls-files.
Procedure
Step 0: Read Configuration and Toolchain
If .healthcheck.toml contains a [docs] section, apply overrides:
readme_required_sections— override the default section listinline_doc_threshold— minimum percentage of documented public APIs (default: 80)adr_threshold— minimum source file count before ADR is expected (default: 10)changelog_required— boolean, default true
Step 1: README Presence and Completeness
1a. Check README exists:
Search for README.md, README.rst, README.txt, or README (case-insensitive) in the project root.
- Missing README: emit a critical finding.
1b. Parse README for expected sections:
The default expected sections are:
| Section | Match Pattern | Severity if Missing | |||||
|---|---|---|---|---|---|---|---|
| Overview / Introduction | # (H1) or first paragraph >50 chars | major | |||||
| Setup / Installation | `/(?:setup | install | getting.started | quick.start)/i` | major | ||
| Usage | `/(?:usage | how.to.use | examples? | quick.start)/i` | major | ||
| Deployment | `/(?:deploy | ship | release | publish | ci.?cd)/i` | minor | |
| Contributing | `/(?:contribut | develop | hack)/i` | minor |
Scan H2 (## ) and H3 (### ) headings in the README. For each expected section, check if at least one heading matches the pattern.
1c. README freshness:
Check the last-modified date of the README:
If the README has not been modified in >180 days and the project has commits in the last 30 days, emit an info finding about stale documentation.
1d. Consume markdownlint findings:
If .healthcheck/toolchain/markdownlint.json exists, parse findings that apply to the README file. Map markdownlint rule severities:
MD001(heading increment) → minorMD009(trailing spaces) → infoMD012(multiple blank lines) → infoMD013(line length) → infoMD025(multiple H1s) → minorMD034(bare URLs) → infoMD040(fenced code without language) → minor- All others → info
1e. Check for a security policy:
Look for a security policy that tells users how to report vulnerabilities privately:
GitHub recognizes SECURITY.md in the project root, .github/, or docs/. If none is found:
- Public / published projects (has a LICENSE, a git remote, or publishes packages): minor — "No SECURITY.md; the vulnerability reporting process is undocumented"
- Private / internal projects: info
Step 2: Inline Documentation Coverage
2a. Identify public API surface:
Use the language census to determine which files to scan. For each supported language:
TypeScript / JavaScript (native):
For each export line (including export default, export function, export class, export const, export interface, export type, export enum), check the preceding lines (up to 5 lines above) for a /** ... */ block.
A symbol is documented if a non-empty /** ... */ comment exists within 5 lines above the export. It is undocumented if no such block exists or the block is empty.
Python (native):
For each def/class/async def at module level (not indented, or indented once for class methods), check if the next non-blank line is a triple-quoted string (""" or ''').
Skip symbols starting with _ (private by convention).
Go (heuristic):
Check if the line immediately preceding the symbol starts with //.
Java / Kotlin (heuristic):
Check for /** ... */ Javadoc preceding the declaration.
Other heuristic languages: Apply similar patterns — look for public/exported declarations and check for comment blocks immediately above.
2b. Calculate coverage:
Emit findings based on coverage:
- Coverage < 30%: major — "Public API is largely undocumented ({pct}% coverage)"
- Coverage 30-79%: minor — "Inline doc coverage is below threshold ({pct}% vs {threshold}%)"
- Coverage >= 80%: no finding (or info if >95% as positive reinforcement)
2c. Emit per-file findings for egregious gaps:
If a file has >5 undocumented public symbols, emit a minor finding for that specific file listing the undocumented symbols.
Step 3: ADR / Decision Log Presence
3a. Count source files:
Using the language census, count total source files (excluding test files, config files, and generated files).
3b. Check for ADR directory:
If source file count exceeds the adr_threshold (default: 10):
Also check for:
ARCHITECTURE.mdin the rootdocs/architecture.md- Any file matching
**/adr-*.mdor**/ADR-*.md
If no ADR directory or architecture documentation is found:
- Projects with >50 source files: major — architectural decisions should be recorded
- Projects with 10-50 source files: minor — consider adding an ADR directory
If an ADR directory exists but contains 0 files: minor — "ADR directory exists but is empty"
Step 4: Changelog Presence
4a. Check for changelog:
Also check package.json for a version field as evidence of versioning intent. If no changelog is found: versioned projects get minor, non-versioned get info.
4b. Changelog freshness:
If a changelog exists, check its last modification:
If the changelog has not been updated in >90 days but there have been commits: info — "Changelog may be stale"
Step 5: Score Calculation
Apply the standard scoring formula:
Info findings do NOT affect the score.
Step 6: Write Report
Write the dimension report to .healthcheck/reports/docs.json:
Output
.healthcheck/reports/docs.json— dimension report using the dimension fields and finding schema inshared/schema.json
Constraints
- Respect .gitignore: Only scan files tracked by git (
git ls-files) - Skip generated files: Exclude files in
node_modules/,dist/,build/,.next/,__pycache__/,vendor/, and any directory matching common generation patterns - Skip test files: Do not count test files (
*.test.*,*.spec.*,test_*,*_test.*) when measuring inline doc coverage — tests are their own documentation - No false positives on re-exports: An
export { foo } from './bar're-export does not need its own JSDoc — the original declaration should be documented - Confidence tagging: Tag all findings with the appropriate confidence tier from the language support matrix
- Scoring math is pure: No LLM judgment in the arithmetic. The score is a deterministic function of finding counts.
- All findings must include a `fix_prompt` following the template in
shared/fix_prompt_template.md
fix_prompt Examples
Example 0: Missing Security Policy
Finding: Public project has no SECURITY.md (minor)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tenet-docs/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/inceptyon-labs/tenet-skills/tenet-docs)