소스 정보
- 저장소
- majiayu000/claude-skill-registry
- 최근 소스 활동
- 2026년 6월 23일 12:15
- 감지된 SKILL.md 언어
- 중국어
- 스타
- 543
- 포크
- 85
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/majiayu000/claude-skill-registry --skill api-pattern-extractor명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
SOC 직업 분류 기준
SKILL.md 표시 중
| name | api-pattern-extractor |
| description | API 模式提取工具。从捕获的流量中自动提取 API 模式、参数规范、认证方式、数据结构,生成 OpenAPI 规范和可复用代码。 |
| version | 1 |
| allowed-tools | Bash(neo:*), Bash(jq:*), Bash(python:*) |
从网站流量中自动提取 API 模式:
# 使用 neo 捕获数据
neo capture list target-site.com --json > captures.json
# 提取 API 模式
python ~/skills/api-pattern-extractor/tools/extract-patterns.py \
--captures captures.json \
--output patterns.yaml
# 导出 HAR
neo capture export target-site.com --format har > traffic.har
# 提取模式
python ~/skills/api-pattern-extractor/tools/har-to-openapi.py \
--har traffic.har \
--output openapi.yaml
# 监控模式
python ~/skills/api-pattern-extractor/tools/live-analyzer.py \
--domain target-site.com \
--watch
endpoints:
- path: /api/v1/products
method: GET
parameters:
- name: page
type: integer
default: 1
- name: limit
type: integer
default: 20
- name: category
type: string
required: false
response:
type: object
properties:
items:
type: array
items:
$ref: "#/components/schemas/Product"
total:
type: integer
page:
type: integer
authentication:
type: bearer
location: header
header_name: Authorization
token_prefix: "Bearer "
refresh_endpoint: /api/auth/refresh
data_flows:
- name: add_to_cart
steps:
- endpoint: /api/cart/items
method: POST
requires:
- product_id (from /api/products)
- auth_token (from /api/auth/login)
produces:
- cart_id
- endpoint: /api/cart/{cart_id}
method: GET
requires:
- cart_id (from previous step)
python extract-patterns.py [options]
选项:
--captures FILE 捕获数据文件 (JSON)
--har FILE HAR 文件
--domain DOMAIN 过滤特定域名
--output FILE 输出文件
--format FORMAT 输出格式 (yaml/json/openapi)
--min-samples N 最小样本数 (默认: 2)
--confidence LEVEL 置信度阈值 (0-1, 默认: 0.8)
python analyze-dependencies.py [options]
选项:
--captures FILE 捕获数据文件
--output FILE 输出文件
--format FORMAT 输出格式 (json/dot/graphml)
python generate-openapi.py [options]
选项:
--patterns FILE 模式文件
--output FILE 输出文件
--title STRING API 标题
--version STRING API 版本
--base-url URL 基础 URL
# 1. 捕获购物流程
# 在浏览器中完成: 浏览 → 加购物车 → 结算 → 支付
# 2. 提取 API 模式
python ~/skills/api-pattern-extractor/tools/extract-patterns.py \
--captures captures.json \
--domain api.shop.com \
--output shop-api-patterns.yaml
# 3. 分析购物流程依赖
python ~/skills/api-pattern-extractor/tools/analyze-dependencies.py \
--captures captures.json \
--output shop-deps.json
# 4. 生成 OpenAPI 规范
python ~/skills/api-pattern-extractor/tools/generate-openapi.py \
--patterns shop-api-patterns.yaml \
--title "Shop API" \
--base-url https://api.shop.com \
--output shop-openapi.yaml
# 1. 捕获认证流程
# 在浏览器中登录
# 2. 分析认证模式
python ~/skills/api-pattern-extractor/tools/analyze-auth.py \
--captures captures.json \
--output auth-patterns.yaml
# 3. 提取完整 API
python ~/skills/api-pattern-extractor/tools/extract-patterns.py \
--captures captures.json \
--domain api.saas.com \
--output saas-api.yaml
api-patterns/
├── endpoints/ # 端点模式
│ ├── products.yaml
│ ├── cart.yaml
│ └── auth.yaml
├── schemas/ # 数据模型
│ ├── Product.yaml
│ ├── Cart.yaml
│ └── User.yaml
├── auth/ # 认证模式
│ └── bearer.yaml
├── flows/ # 数据流
│ ├── checkout.yaml
│ └── login.yaml
└── openapi.yaml # 完整 OpenAPI 规范
# 自动推断字段类型和约束
python extract-patterns.py \
--captures captures.json \
--infer-types \
--infer-constraints \
--infer-required
# 合并相似的端点
python extract-patterns.py \
--captures captures.json \
--deduplicate \
--normalize-paths
# 检测敏感数据泄露
python analyze-security.py \
--captures captures.json \
--check-secrets \
--check-pii
# 1. Neo 捕获
neo capture list target-site.com --json > api-captures.json
# 2. 提取模式
python ~/skills/api-pattern-extractor/tools/extract-patterns.py \
--captures api-captures.json \
--output patterns.yaml
# 3. 生成知识
python ~/skills/knowledge-generator/tools/generate-skill.py \
--patterns patterns.yaml \
--output SKILL.md