lens-docs

Validate and sync LENS service documentation against .NET and React/TypeScript source code.

Updated May 7, 2026
One-click install
npx skills add https://github.com/tmalcolm-0607/mad-council-claw --skill lens-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lens-docs
Source: https://github.com/tmalcolm-0607/mad-council-claw/tree/main/.claude/skills/lens-docs
Command: npx skills add https://github.com/tmalcolm-0607/mad-council-claw --skill lens-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LENS service documentation frequently falls out of sync with evolving source code, leading to inaccurate endpoint details, stale enum values, and missing DTO field information that causes integration errors and wastes developer time.

Core Features & Use Cases

  • Multi-action documentation management: Supports reviewing existing docs for accuracy, creating new doc hubs for LENS services, updating docs after source code changes, and running full sync workflows to resolve all discrepancies.
  • Automated source code validation: Extracts API endpoints, enum values, DTO fields, and auth policies directly from .NET or React/TypeScript source repos to cross-check against documentation.
  • Enghub DocFX compliance: Generates and validates documentation following the standard enghub structure including index pages, API guides, onboarding content, and architecture overviews.
  • Use Case: A developer working on the CMS LENS service can use this skill to automatically identify that a new workflowStage field was added to the CreateCaseRequest DTO in source code but is missing from the API guide, and generate the corrected documentation content.

Quick Start

Use the lens-docs skill to review the LEAPI service documentation for accuracy against its latest source code.

Frequently Asked Questions about lens-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep API documentation synchronized with .NET source code?

To validate API documentation against .NET source code, use an automated sync workflow that extracts endpoints, enum values, and DTO fields directly from the repository to cross-check against existing docs. This ensures documentation accuracy and structural compliance.

What is the best way to generate missing DocFX documentation for LENS services?

The best way to generate missing DocFX documentation for LENS services is to run a full sync workflow that follows the standard enghub DocFX structure. It validates endpoint coverage and automatically generates missing content for index pages, API guides, and architecture overviews.

How does automated source code validation detect stale enum values in API docs?

Automated source code validation detects stale enum values by extracting current enum definitions directly from .NET or React/TypeScript source repositories and cross-checking them against the documented values. It flags discrepancies and generates detailed review reports.

Can I update React TypeScript API docs automatically after source code changes?

Yes, you can update React TypeScript API docs automatically after source code changes by running a documentation update workflow. It extracts modified DTO fields and auth policies from the source repo to resolve discrepancies and generate corrected documentation content.

Does the lens-docs skill support creating new documentation hubs for LENS services?

Yes, the lens-docs skill supports creating new documentation hubs for LENS services. It generates the required enghub DocFX structure, including onboarding content, API guides, and architecture overviews, ensuring full structural compliance from the start.

Why does endpoint coverage validation fail when DTO fields are added to source code?

Endpoint coverage validation fails when DTO fields are added to source code because the documentation cross-check identifies the missing fields in the API guide. Running a full sync workflow resolves this by generating the corrected documentation content automatically.