askill
discover

discoverSafety 95Repository

[UDS] Assess project health, architecture, and risks before adding features

43 stars
1.2k downloads
Updated 2/13/2026

Package Files

Loading files...
SKILL.md

Project Discovery | 專案現況評估

Phase 0 assessment before adding features to existing codebases. Evaluate project health, architecture, and risks.

在既有程式碼庫新增功能前的 Phase 0 評估。評估專案健康度、架構與風險。

Assessment Dimensions | 評估維度

DimensionWhat to Check檢查項目
ArchitectureModule structure, dependency graph, entry points模組結構、相依圖、進入點
DependenciesOutdated packages, known vulnerabilities, license risks過時套件、已知漏洞、授權風險
Test CoverageExisting test suite, coverage gaps, test quality現有測試、覆蓋率缺口、測試品質
Securitynpm audit findings, hardcoded secrets, exposed endpoints安全稽核、硬編碼密鑰、暴露端點
Technical DebtTODOs, code duplication, complexity hotspotsTODO 標記、程式碼重複、複雜度熱點

Workflow | 工作流程

  1. Scan project - Read package.json, directory structure, config files
  2. Analyze architecture - Map modules, dependencies, and data flow
  3. Check dependencies - Run npm outdated, npm audit for health signals
  4. Assess risks - Identify complexity hotspots, missing tests, security issues
  5. Generate report - Output health score with actionable recommendations

Output Format | 輸出格式

Project Health Report
=====================
Overall Score: 7.2 / 10

| Dimension       | Score | Status  | Key Finding            |
|-----------------|-------|---------|------------------------|
| Architecture    | 8/10  | Good    | Clean module boundaries |
| Dependencies    | 6/10  | Warning | 5 outdated, 1 critical |
| Test Coverage   | 7/10  | Fair    | 72% line coverage      |
| Security        | 8/10  | Good    | No critical vulns      |
| Technical Debt  | 6/10  | Warning | 23 TODOs, 3 hotspots   |

Recommendations:
1. [HIGH] Update lodash to fix CVE-2024-XXXX
2. [MED]  Add tests for src/payments/ (0% coverage)
3. [LOW]  Resolve TODO backlog in src/utils/

Usage | 使用方式

  • /discover - Full project health assessment
  • /discover auth - Focused assessment of auth-related modules
  • /discover payments - Assess risks before adding payment features

Next Steps Guidance | 下一步引導

After /discover completes, the AI assistant should suggest based on the assessment:

根據評估結果,建議下一步 / Based on assessment, suggested next steps:

  • New feature / 新功能/sdd to create a specification
  • Legacy code / 遺留程式碼/reverse spec to extract existing behavior
  • Refactoring / 重構/refactor decide to choose a strategy
  • Quick fix / 快速修復/tdd to write a targeted test and fix

Reference | 參考

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

92/100Analyzed 2/23/2026

High-quality reusable skill for Phase 0 project assessment. Provides structured 5-dimension evaluation framework (Architecture, Dependencies, Test Coverage, Security, Technical Debt) with clear workflow, output format template, and next steps guidance. Bilingual (EN/CN) content is well-organized. Uses safe diagnostic tools. Located in dedicated skills folder with universal scope - clearly designed for reuse across projects. Includes bonus elements: when-to-use section, structured steps, tags, and reference guide.

95
90
95
95
90

Metadata

Licenseunknown
Version-
Updated2/13/2026
PublisherAsiaOstrich

Tags

github-actionssecuritytesting