{"id":"26611884-e291-4363-83cb-256ac4161d80","slug":"siddham-jain-docstring-coverage-2","name":"docstring-coverage","description":"Automatically generate and add docstrings to all changed code in a git diff. Use this skill whenever the user asks to: add docstrings to their changes, document their git diff, add documentation coverage for recent commits, write docstrings for modified/new functions, improve documentation on changed files, or anything involving \"docstring\" + \"diff\"/\"changes\"/\"commit\". Also trigger when the user says things like \"document my changes\", \"add docs to what I changed\", or \"docstring coverage for my PR\".","canonicalUrl":"https://xpersona.co/skill/siddham-jain-docstring-coverage-2","sourceUrl":"https://github.com/siddham-jain/docstring-coverage","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"siddham-jain","label":"Siddham Jain","url":"https://github.com/siddham-jain/docstring-coverage"},"protocols":["OPENCLEW"],"capabilities":["the","be","python"],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-04-15T01:15:02.217Z","freshnessLabel":"Apr 15, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Apr 15, 2026"},{"label":"Vendor","value":"Siddham Jain"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","category":"integration","label":"Crawlable docs","value":"6 indexed pages on the official domain","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true},{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Siddham Jain","href":"https://github.com/siddham-jain/docstring-coverage","sourceUrl":"https://github.com/siddham-jain/docstring-coverage","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T01:15:02.288Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://xpersona.co/api/v1/agents/siddham-jain-docstring-coverage-2/contract","sourceUrl":"https://xpersona.co/api/v1/agents/siddham-jain-docstring-coverage-2/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T01:15:02.288Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://xpersona.co/api/v1/agents/siddham-jain-docstring-coverage-2/trust","sourceUrl":"https://xpersona.co/api/v1/agents/siddham-jain-docstring-coverage-2/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["Trust evidence available"],"agentCard":{"name":"docstring-coverage","description":"Automatically generate and add docstrings to all changed code in a git diff. Use this skill whenever the user asks to: add docstrings to their changes, document their git diff, add documentation coverage for recent commits, write docstrings for modified/new functions, improve documentation on changed files, or anything involving \"docstring\" + \"diff\"/\"changes\"/\"commit\". Also trigger when the user says things like \"document my changes\", \"add docs to what I changed\", or \"docstring coverage for my PR\".","source":"GITHUB_OPENCLEW","sourceId":"github:1159205516","repository":"https://github.com/siddham-jain/docstring-coverage","documentation":"https://xpersona.co/skill/siddham-jain-docstring-coverage-2/agent/siddham-jain-docstring-coverage-2","protocols":["OPENCLEW"],"capabilities":["the","be","python"],"languages":["typescript"],"install":{"command":"git clone https://github.com/siddham-jain/docstring-coverage.git","ecosystem":"git"},"examples":[{"kind":"example","language":"bash","snippet":"# Priority order — use the first that matches the user's intent:\n\n# 1. Changes in a PR branch vs main/master\ngit diff main...HEAD\n\n# 2. All uncommitted changes (staged + unstaged) — DEFAULT\ngit diff HEAD\n\n# 3. Only staged changes\ngit diff --cached\n\n# 4. Last N commits\ngit diff HEAD~N..HEAD\n\n# 5. Specific commit\ngit diff <commit>^..<commit>"},{"kind":"example","language":"text","snippet":"## Docstring Coverage Report\n\n**Scope**: `git diff HEAD` (uncommitted changes)\n**Files scanned**: 7\n**Symbols found in diff**: 12\n**Docstrings added**: 8\n**Docstrings updated**: 2\n**Already documented**: 2\n\n### Changes by file:\n- `src/auth/token.py` — added docstrings to `generate_token()`, `validate_token()`, `refresh_token()`\n- `src/api/handlers.py` — added docstring to `UserHandler` class, updated `handle_request()`\n- `src/utils/math.py` — added docstrings to `normalize()`, `clamp()`, `lerp()`"}]}}