Skip to content

ichendev/ai-native-sdlc

v1.1.0MIT

AI-native agent skills for running a verifiable software development lifecycle and improving reusable skills through human-reviewed feedback loops.

AI-Native Agent Skills

一组面向真实软件交付的 Agent Skills:既能把开发生命周期连成可验证的运行系统,也能用高质量反馈持续改进已有 skill。

本项目遵循 Agent Skills 开放标准和 Agent Plugins 1.0.0 规范,同时兼容 Codex 和 Claude Code 插件格式。

包含的 skills

ai-native-sdlc

  • Bootstrap — 为项目从零搭建端到端 SDLC 链路
  • Run a change — 让一项变更沿现有链路推进
  • Audit — 只读检查链路是否真实闭合
  • Incident to improvement — 把事故连接到改进循环

self-improving-agent

  • Initialize — 为一个现有 base skill 建立独立学习目录
  • Record and triage — 标准化保存反馈,按来源、强度和不同任务聚合证据
  • Propose and evaluate — 每次只提出一个小改动,并运行目标、相邻和回归评测
  • Review and apply — 人工批准后才更新 base skill,保留决定与回滚记录

安装

方式一:npx skills(推荐,跨 Agent 通用)

npx skills add IchenDEV/sdlc-skill

交互式安装会让你选择目标 Agent 和安装范围(项目/全局)。

指定 Agent 安装:

# Claude Code
npx skills add IchenDEV/sdlc-skill -a claude-code -y

# Codex
npx skills add IchenDEV/sdlc-skill -a codex -y

# Cursor
npx skills add IchenDEV/sdlc-skill -a cursor -y

# 全部 Agent
npx skills add IchenDEV/sdlc-skill --all

全局安装(所有项目可用):

npx skills add IchenDEV/sdlc-skill -g

方式二:Codex 插件

# 从 Codex CLI 安装
codex install IchenDEV/sdlc-skill

或手动将本仓库克隆到 Codex 插件目录,Codex 会自动发现 .codex-plugin/plugin.json

方式三:Claude Code 插件

# 从 Claude Code 安装
claude plugin add /path/to/SDLC-skill

或手动将本仓库克隆到 Claude Code 插件目录,Claude Code 会自动发现 .claude-plugin/plugin.jsonskills/ 目录。

方式四:手动安装

skills/ai-native-sdlc/skills/self-improving-agent/ 中需要的目录复制到 Agent 对应的 skills 目录:

Agent项目级全局
Claude Code.claude/skills/~/.claude/skills/
Codex.codex/skills/~/.codex/skills/
Cursor.cursor/skills/~/.cursor/skills/
GitHub Copilot.github/skills/~/.github/skills/

仓库结构

.
├── plugin.json                          # Agent Plugins 1.0.0 标准 manifest
├── .codex-plugin/
│   └── plugin.json                      # Codex 插件 manifest
├── .claude-plugin/
│   └── plugin.json                      # Claude Code 插件 manifest
├── skills/
│   ├── ai-native-sdlc/
│   │   ├── SKILL.md                     # 主 skill 文件
│   │   └── references/
│   │       ├── implementation-guide.md  # 实施指南
│   │       └── artifact-contracts.md    # Artifact 契约定义
│   └── self-improving-agent/
│       ├── SKILL.md                     # 外层改进流程
│       ├── agents/openai.yaml           # Codex 展示信息
│       ├── scripts/                      # 初始化、反馈、汇总、校验和决策脚本
│       ├── references/                   # 反馈、评测与提案契约
│       ├── assets/                       # base skill 与配置模板
│       └── tests/test_scripts.py         # 脚本行为测试
├── README.md
└── LICENSE

兼容性

平台标准状态
Agent Plugins 1.0.0根级 plugin.json + skills/
OpenAI Codex.codex-plugin/plugin.json + skills/
Anthropic Claude Code.claude-plugin/plugin.json + skills/
Cursorskills/ 目录
GitHub Copilotskills/ 目录
npx skills CLIAgent Skills 标准 SKILL.md

所有平台共享 skills/ 下的同一套 skill 文件,无需维护多份副本。

工作模式

安装后,在你的 Agent 中使用以下方式触发:

/ai-native-sdlc           # 直接调用(Claude Code / Codex 插件模式)
/self-improving-agent     # 建立或运行受人工审核的 skill 改进循环

或在对话中描述相关需求,Agent 会根据 skill 的 description 自动匹配触发。

触发关键词

  • "搭建 SDLC"、"建立开发流程"、"补齐链路"
  • "推进这个变更"、"按流程走"
  • "审计开发流程"、"检查链路"
  • "事故改进"、"postmortem"、"回归测试"
  • "让 skill 从反馈中改进"、"建立 improver loop"
  • "整理 agent 反馈"、"生成 skill 修改提案"
  • "应用已审核的改进提案"

方法来源

License

MIT