In short.
verify-module is an assistant skill for developers reviewing module documentation and structure, but a passing scan cannot establish that the documentation matches the code. Its instructions combine automated checks with a broader review of README.md, DESIGN.md and implementation consistency. The scanner checks conventional paths, document size and a few keywords, and produces text or JSON output. Its required shared helper is outside the supplied files, and runtime behavior has not been tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes both files in dsh-ccg/skills/verify-module at commit 2f12cc5f7862437e46ff498ad844ca62c65e77aa, plus LICENSE and dsh-ccg/LICENSE. Other repository files, including dsh-ccg/skills/lib/shared.js and the suggested /gen-docs resource, are outside the supplied evidence. The supplied snapshot has content checksum 61f606ca1ff60a64047b4f1b4e6643f6e3aa7abf59622354c2248ba995975ced. Runtime behavior, host integration, automatic triggering, performance and operating-system compatibility are UNVERIFIED.
The overview
Identity
verify-module belongs to fengshao1227/ccg-workflow at dsh-ccg/skills/verify-module. The resource consists of SKILL.md and scripts/module_scanner.js. Its instructions and report labels are predominantly in Chinese.
The original source location is [https://github.com/fengshao1227/ccg-workflow/tree/main/dsh-ccg/skills/verify-module]. The supplied files are pinned to commit 2f12cc5f7862437e46ff498ad844ca62c65e77aa.
Assessment
The skill offers a useful starting point for finding missing module documents and applying a consistent review checklist. The scanner assigns errors to missing README.md and DESIGN.md, with warnings or informational findings for several other omissions.
A passing scan has limited meaning. Empty source or test directories can satisfy presence checks, and document checks rely on size and keyword matches. The broader review described in SKILL.md still needs an assistant or person to assess content and consistency.
Users
The likely audience is developers and maintainers who expect each module to explain its purpose, usage and design decisions. The documented review occasions include completing a new module, finishing a refactor and preparing a commit.
Beginners receive concrete documentation checklists. Experienced developers receive JSON output and explicit scanning rules they can assess against their repository conventions. Projects with different document names or layouts would need adaptation.
Capabilities
The scanner checks for README.md and DESIGN.md, warns when either is smaller than 50 bytes, looks for conventional source and test locations, and warns when more than five recognized code files sit at the module root.
It checks README.md for a heading marker and usage-related words, and DESIGN.md for words associated with decisions or tradeoffs. It supports documented verbose and JSON modes. JSON output includes the resolved module path, pass status, error and warning counts, and individual issues.
The skill adds a richer checklist covering purpose, responsibilities, dependencies, examples, design goals, alternatives, limitations and change history. Those content requirements exceed what the script checks automatically.
Using it
Requirements
SKILL.md declares Node.js 18 or newer. The scanner needs access to the target directory and imports parseCliArgs, buildReport and hasFatal from dsh-ccg/skills/lib/shared.js, resolved relative to its script location. That helper is outside the supplied evidence; its implementation and any further dependencies are unknown.
Assistant use requires a host that understands this skill format. The metadata declares Bash, Read and Glob tools and permits user and model invocation. A specific supported host, installation location and operating-system compatibility matrix are not established.
Mechanism
The script resolves the supplied path, checks that it exists and is a directory, and builds a directory listing up to three levels deep. It recognizes source directories named src, lib, pkg, internal, cmd or app, plus a fixed set of root code extensions and script filenames.
Test detection accepts tests, test, __tests__ or spec directories. Otherwise, it recursively searches filenames for fixed test-related substrings. Documentation checks use file sizes and string matching; the script contains no semantic comparison between prose and implementation.
The imported helpers handle argument parsing, text report construction and fatal-issue classification. The scanner uses that classification for its pass flag and exits with status 0 or 1. The exact classification rules cannot be assessed without the helper.
Setup
Obtain the skill from the pinned original source and preserve the directory layout needed by its relative import. Before invoking the scanner, confirm that dsh-ccg/skills/lib/shared.js is available and inspect it. Copying the skill folder alone does not supply that dependency.
The documented command, run from the verify-module directory, is node scripts/module_scanner.js /path/to/module. Add -v for verbose output or --json for JSON output. Assistant installation and automatic trigger behavior are not demonstrated by the supplied files.
Example
For a module located at /path/to/payments, the documented JSON invocation would be node scripts/module_scanner.js /path/to/payments --json, run from the skill directory with its helper available.
By inspection of the code, a missing DESIGN.md creates an error issue. Missing recognized tests create a warning, while a README.md under 50 bytes creates another warning. These are illustrations of the source logic, not observed execution results; final pass status depends on the unseen hasFatal helper.
Assessment & evidence
Limitations
The scanner does not validate every README or DESIGN requirement listed in the skill, verify documentation accuracy, execute tests or measure test coverage. The recommended __init__.py and .gitignore checks described in SKILL.md are absent from the script.
Source and test detection depend on fixed names. The root code-extension list omits formats such as .tsx and .jsx, and any recognized test directory counts even when empty. The displayed tree skips hidden entries, while recursive test discovery has no explicit dependency-directory exclusion or traversal-depth limit.
Recursive discovery follows directory links through fs.statSync and has no visited-directory tracking, which may expand traversal beyond the expected tree. Some traversal failures are silently ignored, while unguarded document reads and directory operations can abort scanning. Performance and failure behavior have not been tested.
Reasoning
The skill treats implementation, a module explanation and a design record as complementary deliverables. Its checklist asks developers to explain both what a module does and why particular choices were made.
That structure can make omissions easier to discuss, but the automated rules provide limited evidence of completeness. A large document containing a matching keyword can satisfy a check while leaving important questions unanswered. Source inspection supports using the scan as an initial signal followed by content review; no measured quality improvement is established.
Alternatives
For occasional reviews, the README and DESIGN checklists in SKILL.md can guide a manual assessment without invoking the scanner. Projects with different conventions could implement checks tailored to their own document names, languages and test layout; no such implementation or comparison is supplied.
The skill suggests /gen-docs when documentation is missing. Its implementation is outside the evidence, so its installation, behavior and output quality are unknown.
Evidence
The supplied material contains the complete selected skill folder: SKILL.md and scripts/module_scanner.js, accompanied by the repository-root and dsh-ccg MIT notices. The instruction file is available at [https://raw.githubusercontent.com/fengshao1227/ccg-workflow/2f12cc5f7862437e46ff498ad844ca62c65e77aa/dsh-ccg/skills/verify-module/SKILL.md].
The scanner source is available at [https://raw.githubusercontent.com/fengshao1227/ccg-workflow/2f12cc5f7862437e46ff498ad844ca62c65e77aa/dsh-ccg/skills/verify-module/scripts/module_scanner.js]. The shared helper, assistant-host integration, execution results and benchmarks are not supplied. Nothing was executed.
Access & freshness
Costs
The MIT notices grant software permissions free of charge. The visible scanner contains no model or network calls, but the imported helper has not been assessed.
Assistant-service pricing, token consumption, runtime, memory use and total operating cost are unknown. No cost measurements or usage estimates are supplied.
Rights
SKILL.md declares MIT licensing. The repository root and dsh-ccg directory also supply MIT notices naming fengshao1227, with copyright years 2025 and 2026 respectively.
The notices permit use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. They disclaim warranties and liability. Retain both supplied notices when redistributing these captured materials.
Freshness
The source snapshot was captured on 16 November 2026 at 11:32:17 UTC from commit 2f12cc5f7862437e46ff498ad844ca62c65e77aa. This identifies the captured revision; it does not establish a release date or the current contents of main.
No named release version, change history or recent compatibility results are supplied for this skill. Later changes and current host support are unknown.
Actions
Before adoption, inspect the required shared helper and confirm how the intended assistant loads the skill. Compare the scanner's fixed names and keywords with the project's actual conventions.
Validate the scanner on representative modules, including missing documents, empty test directories, unreadable files and linked directories, before making its exit status a delivery gate. Follow each scan with review of the documentation's substance and accuracy. These steps remain unperformed.
