RepoPilot

justjavac / wechat-miniapp-radar

Search justjavac/wechat-miniapp-radar

GitHub

Code

How justjavac/wechat-miniapp-radar is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Declared command entry
  4. Likely start-up file
  5. Likely start-up file
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new API endpoint that queries resources

  • Import and use lib/resources.ts for resource queries and filtering
  • Apply rate limiting and auth checks if needed
  • Validate request body and response schema

Integrate a new AI capability (advisor mode, doctor mode variant)

  • Add a new prompt template in lib/ai-prompts.ts
  • Extend lib/ai-advisor.ts or create a new service for the capability orchestration
  • Add output validation schema to lib/ai-output-validation.ts

Add a new resource category or scoring dimension

  • Update db/schema.ts to add columns or new tables if needed
  • Update data/resources.yaml with new resource data
  • Extend lib/production-readiness.ts or create a new scoring module
  • Update lib/resources.ts query methods to expose the new dimension

Trace command behavior

  • Declared by package.json (bin.miniprogram-radar). Follow its exports or calls to find the implementation.

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.
  • 1 suggested change pattern has no matching file and is left out.

Code quality and hotspots

Largest source files

  • Branch points71 per file on average
  • Code issues12 errors, 11 warnings
  • Largest file609 lines
  • Hotspot load2 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions4 workflows
  • TestsNot detected0.00 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.