Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

legacy-to-ai-readyAI 准备就绪的遗产

Agent Skill

legacy-to-ai-ready 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,916

周安装

209

GitHub Stars

175

下载量

1,722
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:legacy-to-ai-ready(AI 准备就绪的遗产)
来源仓库:https://github.com/nicepkg/ai-workflow
仓库路径:skills/legacy-to-ai-ready
安装命令:
npx skills add https://github.com/nicepkg/ai-workflow --skill legacy-to-ai-ready
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/nicepkg/ai-workflow --skill legacy-to-ai-ready

简介

legacy-to-ai-ready 用于查找、检索和筛选将遗留系统适配 AI 工作流的资源,适合在智能化改造项目中快速定位方案。

  • 适用于需要根据关键词或任务场景在 Codex、Claude、Cursor、Gemini CLI 中获取候选结果的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限范围与是否触发联网操作。
  • 建议结合原始 README 核验具体用法,并注意维护状态与潜在的文件读写行为。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Legacy to AI-Ready

Transform legacy codebases into AI-ready projects by generating Claude Code configurations.

Quick Start (5-Minute Setup)

For most projects, start with just CLAUDE.md:

  1. Analyze: python scripts/analyze_codebase.py [path]
  2. Create CLAUDE.md with build commands, code style, architecture overview
  3. Done - Claude can now write code following your project's conventions

Expand to full configuration only when needed.

Interactive Discovery

Before generating configs, ask these questions:

Project Scope:

  • What is this project? (web app, API, CLI, library)
  • Primary language and frameworks?
  • Team size? (solo, small team, enterprise)

Pain Points:

  • What mistakes do new developers commonly make?
  • What patterns should always be followed?
  • What operations are repeated frequently?

Integration Needs:

  • External services used? (databases, APIs, cloud)
  • CI/CD pipeline? (GitHub Actions, Jenkins)
  • Code quality tools? (linters, formatters)

Configuration Decision Tree

Start
│
├─ Small project / Solo dev
│  └─ CLAUDE.md only
│
├─ Team project
│  ├─ Multi-language? → Add .claude/rules/
│  ├─ Complex domain? → Add .claude/skills/
│  ├─ Code reviews? → Add .claude/agents/
│  └─ Repeated tasks? → Add .claude/commands/
│
└─ Enterprise / Large team
   └─ All configurations + MCP servers + Hooks

Generated Configurations

ConfigPurposeWhen to Create
CLAUDE.mdProject memory (shared)Always (required)
CLAUDE.local.mdPersonal preferences (git-ignored)Individual customization
.claudeignoreFiles Claude should not accessSensitive files exist
.claude/rules/Path-specific rulesMulti-module projects
.claude/skills/Domain knowledgeComplex business logic
.claude/agents/Task specialistsRepeated review/debug tasks
.claude/commands/Quick promptsCommon workflows
.claude/settings.jsonHooks + permissionsAuto-formatting, security
MCP serversExternal toolsDatabase/API integrations

Workflow

Phase 1: Automated Analysis

python scripts/analyze_codebase.py [project-path]

The script detects:

  • Languages and frameworks
  • Directory structure patterns
  • Development tools (linters, formatters)
  • Git commit patterns
  • Environment variables
  • Code style indicators
  • CI/CD configurations (GitHub Actions, etc.)
  • Sensitive files (warns about.env, credentials)

Output includes:

  • Recommendations for which configs to create
  • Security warnings for sensitive files
  • Suggested.claudeignore patterns

Phase 2: Context Gathering

Claude should read:

  1. 3-5 representative source files - understand naming, patterns
  2. Test files - understand testing approach
  3. Config files - package.json, tsconfig, etc.
  4. README/docs - project overview
  5. Recent commits - understand commit style

Phase 2.5: Discover Existing Resources

Before creating custom configs, search for existing skills and MCP servers:

  1. Search skill marketplaces - SkillsMP, SkillHub.club, Claude Skills Hub
  2. Check GitHub repositories - awesome-claude-skills, themed skill collections
  3. Find relevant MCP servers - Glama, MCP Market, official registry

See references/resource-discovery.md for complete directory of sources.

Tip: Many common needs (git commit, code review, database patterns) already have well-maintained skills available.

Phase 3: Generate Configurations

1. CLAUDE.md (Required)

Create at project root with:

  • Quick reference commands (build, test, lint)
  • Naming conventions
  • Architecture overview
  • Testing guidelines
  • Git workflow

See references/claude-md-patterns.md.

2. Rules (If Multi-Module)

Create .claude/rules/ when:

  • Multiple languages need different conventions
  • Modules have distinct patterns (frontend/backend)
  • Path-specific requirements exist

See references/rules-patterns.md.

3. Skills (If Complex Domain)

Create .claude/skills/ when:

  • Domain-specific workflows exist (database, API patterns)
  • Team knowledge needs preservation
  • Complex procedures are repeated

See references/skills-patterns.md.

4. Subagents (If Specialized Tasks)

Create .claude/agents/ for:

  • Code review automation
  • Debugging assistance
  • Security auditing
  • Documentation generation

See references/agents-patterns.md.

5. Commands (If Common Operations)

Create .claude/commands/ for:

  • Git commit workflow
  • PR review process
  • Deployment steps
  • Test running

See references/commands-patterns.md.

6. Hooks (If Auto-Formatting Needed)

Configure .claude/settings.json for:

  • Auto-format on file edit
  • Protected files
  • Command logging

See references/hooks-patterns.md.

7. MCP Servers (If External Integrations)

Configure MCP for:

  • Database access
  • GitHub integration
  • Slack notifications
  • Custom internal tools

See references/mcp-patterns.md.

Phase 4: Validate

  1. Ask Claude to perform a typical task
  2. Verify it follows project conventions
  3. Iterate based on gaps discovered

Output Structure

Minimal (small projects):

project/
├── CLAUDE.md
└── [existing files]

Standard (team projects):

project/
├── CLAUDE.md
├── .claude/
│   ├── rules/
│   │   └── code-style.md
│   └── commands/
│       └── commit.md
└── [existing files]

Complete (enterprise):

project/
├── CLAUDE.md              # Shared project memory
├── CLAUDE.local.md        # Personal (git-ignored)
├── .claudeignore          # Files to protect
├── .claude/
│   ├── settings.json      # Hooks + permissions
│   ├── rules/
│   ├── skills/
│   ├── agents/
│   └── commands/
└── [existing files]

Reference Materials

ReferenceWhen to Read
examples.mdComplete real-world examples
resource-discovery.mdFind existing skills & MCP servers
advanced-patterns.mdMigrations, team collab, monorepos
claude-md-patterns.mdCreating CLAUDE.md
rules-patterns.mdModule-specific rules
skills-patterns.mdDomain knowledge
agents-patterns.mdTask specialists
commands-patterns.mdQuick prompts
hooks-patterns.mdAuto-formatting
mcp-patterns.mdExternal tools

Templates & Bundled Skills

Templates:

  • assets/CLAUDE.md.template - Project memory template
  • assets/settings.json.template - Hooks configuration
  • assets/claudeignore.template - File ignore patterns

Bundled skills to install in target project:

  • assets/skill-creator/ - For creating new project-specific skills
  • assets/skill-downloader/ - For downloading additional skills
  • assets/resource-scout/ - For discovering existing skills & MCP servers

Installing Bundled Skills

Copy these skills to the target project's .claude/skills/ directory:

cp -r assets/skill-creator [target-project]/.claude/skills/
cp -r assets/skill-downloader [target-project]/.claude/skills/
cp -r assets/resource-scout [target-project]/.claude/skills/

This enables the target project to:

  1. resource-scout - Discover existing skills & MCP servers before building custom
  2. skill-downloader - Download and install skills from GitHub or archives
  3. skill-creator - Create custom skills tailored to their domain

Language Quick Reference

TypeScript/JavaScript

  • Extract: eslint, prettier, tsconfig
  • Hooks: prettier auto-format
  • Skills: API patterns, component patterns

Python

  • Extract: black, ruff, mypy, pyproject.toml
  • Hooks: black/ruff auto-format
  • Skills: API patterns, ORM patterns

Go

  • Extract: gofmt, golangci-lint
  • Hooks: gofmt auto-format
  • Skills: error handling patterns

Rust

  • Extract: rustfmt, clippy
  • Hooks: rustfmt auto-format
  • Skills: error handling, async patterns

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.65%
按下载量换算459

Gemini CLI

21.74%
按下载量换算374

Antigravity

17%
按下载量换算293

OpenCode

13.39%
按下载量换算231

Codex

7.76%
按下载量换算134

Cursor

3.26%
按下载量换算56

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills