sdcorejs-code-map

Community

Map existing architecture before generating code.

Authorsdcorejs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

sdcorejs-code-map prevents hallucinated paths and duplicated abstractions by discovering the target repo’s real modules, shared components, base DTOs/services, route registry, and permission codes before any generator writes code.

Core Features & Use Cases

  • Architecture discovery (READ-ONLY): scans stack-specific project structure to inventory modules/libs, shared UI/utilities, routes/controllers, and permission code patterns.
  • Convention-aware globbing: detects Angular Portal vs NestJS vs NextJS using conventions like angular.json, nest-cli.json, and next.config.* and adapts scanning for monorepos (apps/, libs/, packages/).
  • Safe handoff for reuse: reads only public surfaces (barrels/index.ts, routes.ts, module files) to produce a structured report that the next skill can use to reuse what exists and avoid rewriting base patterns.
  • Bilingual output: report supports VI/EN usage for cross-team comprehension.
  • Anti-convention surfacing: flags risks derived from observed evidence (for example, conflicting permission guard patterns or route hardcoding).

Quick Start

Use sdcorejs-code-map when starting a major feature or when asked to reuse shared components so the agent outputs a structured code map of what already exists before generation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sdcorejs-code-map
Download link: https://github.com/sdcorejs/sdcorejs-agent/archive/main.zip#sdcorejs-code-map

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.