backend-analysis-skill

backend-analysis-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 233 tokens per session (2,222 once invoked), scanned A, original, Apache-2.0.

A static scanner for existing backend projects in Java, Go, Python, or Node.js. Without running the application, it produces reports about APIs, technologies, databases, and business structure.

In plain words
What is it for?
Use it to inventory routes, inputs, outputs, authentication, frameworks, middleware, database tables, indexes, migrations, and business areas.
Why use it?
It helps someone take over an unfamiliar service or plan a refactor without relying only on scattered source files. It also distinguishes code inspection from live API documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inventory routes, inputs, outputs, authentication, frameworks, middleware, database tables, indexes, migrations, and business areas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/backend-analysis-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jiushiwon/wg-skills --skill backend-analysis-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for backend-analysis-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/backend-analysis-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/backend-analysis-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/backend-analysis-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/backend-analysis-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for backend-analysis-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/backend-analysis-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/backend-analysis-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 233 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,222 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00233 $0.02222
Opus 5.5 $0.00093 $0.00889
Sonnet 5.5 $0.00047 $0.00444
Haiku 4.5 $0.00023 $0.00222

Measured 25d ago against content hash 106eacb09be4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backend-analysis-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

backend/backend-analysis-skill/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Backend Analysis Skill — 后端项目全景分析

本技能对已有后端项目做静态扫描(不编译、不运行),一次产出 4 份报告,用于接手老项目、技术盘点、交接文档、重构前摸底。

适用场景与边界

  • 适用:接手陌生项目、盘点技术栈与接口、补交接文档、重构/迁移前摸底
  • 不做:不修改目标项目代码、不运行业务、不替代运行时接口文档(Knife4j/Swagger)
  • 与其他技能的区别:
    • deploy-detect-skill 为部署生成画像(轻量),本技能为理解项目产出 4 份完整报告
    • frontend-code-doctor 审查前端代码质量,本技能盘点后端项目
    • backend-select-skill 是从零生成后端,本技能是分析已有后端

工作流程

Step 0 识别技术栈 → Step 1 接口扫描 → Step 2 技术扫描 → Step 3 数据库扫描 → Step 4 业务梳理 → Step 5 汇总总览

默认 4 份报告全出;用户指定单份时(如"只出接口报告")只跑对应 Step。

Step 0:技术栈识别(必先执行)

读取构建文件判断语言与框架,规则详见 references/detection-rules.md:

  • pom.xml / build.gradle(.kts) → Java
  • go.mod → Go
  • requirements.txt / pyproject.toml / Pipfile → Python
  • package.json → Node.js

识别结果(语言 + 框架 + 版本 + ORM)决定后续使用哪套扫描模式。多模块/多语言混合项目逐模块识别后分别套用。

Step 1:接口扫描 → 01-api-report.md

扫描模式详见 references/api-scan-patterns.md。要点:

  1. 先 Glob 定位控制器/路由文件,再 Grep 路由注解/注册语句
  2. 类级路由前缀 + 方法级路径拼接出完整 URL(如 @RequestMapping("/user") + @PostMapping("/login") → POST /user/login)
  3. 提取每个接口的:HTTP 方法、完整路径、处理函数、入参(DTO/Query)、出参类型、鉴权标记
  4. 识别全局路由配置(context-path、统一前缀 /api、版本前缀 /v1)
  5. 标注无鉴权接口、被注释/废弃的接口

Step 2:技术栈扫描 → 02-tech-report.md

扫描模式详见 references/tech-scan-patterns.md。覆盖 6 个维度:

维度 内容
基础栈 语言与运行时版本、框架版本、构建工具
依赖清单 按 Web/ORM/缓存/MQ/工具/测试 分类
中间件 Redis、Kafka/RabbitMQ/RocketMQ、ES、对象存储(OSS/S3/MinIO)
第三方 API 短信、支付、推送、地图、OAuth/SSO、邮件、AI 服务(依赖 + 配置 key 双证据)
架构组件 拦截器/过滤器/中间件、全局异常处理、AOP、全局配置加载、跨域配置、路由注册方式、定时任务
安全隐患 硬编码密钥、拼接 SQL、DEBUG 开启、Actuator 暴露

密钥/密码类信息在报告中必须打码(如 AKIA****)。

Step 3:数据库扫描 → 03-database-report.md

扫描模式详见 references/database-scan-patterns.md。要点:

  1. 从连接配置(spring.datasource.url / DATABASE_URL 等)判断数据库类型
  2. 按 ORM 扫描实体/模型文件,提取表名、字段、索引、关联关系
  3. 收集 SQL 与迁移文件(*.sql、Flyway db/migration、Liquibase changelog、Alembic/Prisma/Django migrations)
  4. 扫描缓存设计(Redis key 模式、@Cacheable)
  5. 连接串中的账号密码打码

Read the full file on GitHub · 134 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed 106eacb09be4
  2. 1mo ago Changed · +4 lines e0d0f5b0849c
  3. 2mo ago First seen · 130 lines · 233 tokens per session scan A a783b7f98605

Subscribe to this mod's changes

backend-analysis-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 233 tokens to every session and 2,222 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

backend-analysis-skill compared with skills from other repositories

backend-analysis-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backend-analysis-skilljiushiwon/wg-skillsSkill1547d agoApache-2.0A233Claude Code, Codex
ocr-pipeline-and-qualityxberg-io/xbergSkill9.6kyesterdayMITA16Claude Code
pdf-backendsxberg-io/xbergSkill9.6kyesterdayMITA16Claude Code
add-sharepointmicrosoft/power-platform-skillsSkill1.2ktodayMITA39Claude Code
nw-diagramnWave-ai/nWaveSkill63612d agoMITA54Claude Code
excel2jsonCoderWanFeng/python-officeSkill1.4k1mo agoApache-2.0A51Claude Code, Codex
rag-web-fallbacklyonzin/knowledge-ragSkill3083d agoMITA61Claude Code, Codex