Ai Native Sdlc 标志

Ai Native Sdlc

社区
bashebr
ai-native-sdlc

Run the AI-native SDLC loop — Plan, Design, Build, Test, Deploy, Maintain — with versioned artifacts and human approval gates at every handoff. Use when the user states a goal, idea, feature, or change request and expects the agent to scaffold and drive the project through the full lifecycle instead of jumping straight to code.

概览

发布者bashebr
代码仓库ai-native-sdlc
技能名称ai-native-sdlc
星标数
93
复刻数
20
附带文件
48
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 48 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 bashebr 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai Native Sdlc AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/bashebr/ai-native-sdlc/tree/main/skills/ai-native-sdlc
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bashebr/ai-native-sdlc.git /tmp/ai-native-sdlc
mkdir -p .claude/skills
cp -r /tmp/ai-native-sdlc/skills/ai-native-sdlc .claude/skills/ai-native-sdlc
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai Native Sdlc,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai Native Sdlc。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai Native Sdlc 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

AI-Native SDLC

Turn a stated goal into a planned, built, tested, deployed, and monitored project by running the loop from Anthropic's AI-Native SDLC playbook: Plan → Design → Build → Test → Deploy → Maintain.

Every phase ends by committing a versioned artifact to git; the next phase starts by reading it. The commit chain is the audit trail: who asked, what the agent produced, and who approved. The agent does the generating, verifying, and mechanical work. Humans keep the judgment calls and the final approvals.

Frameworks

The workflow is framework-agnostic. Claude Code calls the repository-memory file CLAUDE.md and keeps skills in .claude/skills/; Codex calls the repository-memory file AGENTS.md and installs skills into ~/.codex/skills/. Wherever this skill says CLAUDE.md, use the repository-memory file your framework recognizes. The same skill folder installs in either environment, and the artifacts (intent.md, spec.md, plan.md, REVIEW.md, bands.yaml) are framework-neutral.

Hard rules

  1. Human gates are real gates. Do not advance without approval: intent accepted → Design; spec approved → Build; plan approved → code; PR merged → Deploy; release authorized → production.
  2. Never cross the production gate. Agent-generated changes stop at the merge/release boundary. High-risk actions (production config, migrations, releases) require explicit human authorization, enforced by a hook where possible.
  3. Verify before asking for review. Run build, tests, lint, and screenshots yourself first; fix what fails; only then hand work to a human.
  4. Encode repeated lessons. The same mistake twice → write the correction into the project's CLAUDE.md, a skill, or a hook.
  5. Evidence in reviews. Every finding cites file/line and concrete evidence, ordered by severity, with at most 5 nit comments per review.
  6. Plan mode first. Nothing is implemented without an accepted plan; when implementation departs from the plan, update plan.md in the same commit.
  7. Reviews feed back. When a review flags a mistake for the second time, the correction goes into CLAUDE.md as part of that review.
  8. Subagents are named, visible, and accountable. Scaffold subagents only with a functional name, a committed definition, an explained dispatch, and a bounded report with evidence — never a silent background worker that can idle or act on stale context.

Rule → enforcement matrix

Each hard rule is backed by an advisory layer (makes compliance likely), a deterministic layer (makes violation nearly impossible), or a review pass (checked at a gate). Use this when compliance asks "how is this enforced?"

Hard ruleAdvisory (skill/CLAUDE.md)Deterministic (hook/file)Checked at
1. Gates are realCLAUDE.md conventionscommitted artifact chain in git; hooksgate acceptance commits
2. Never cross the production gatethis skillproduction-gate.sh + approval/expiry; release approvals recorded in the hash-chained gate ledger (gate_ledger.py)Deploy gate
3. Verify before reviewCLAUDE.md "Verifying your work"single make-style verify commandsPR template evidence
4. Encode repeated lessonsCLAUDE.md "Things the agent gets wrong"protected-path hookssecond-time-mistake rule in reviews
5. Evidence in reviewsREVIEW.md—review passes, 5-nit cap
6. Plan mode firstplan.md templatecheck_plan_sync.py (optional pre-commit hook / PR gate)plan-vs-diff check in PR review
7. Reviews feed backCLAUDE.md—review comments → CLAUDE.md
8. Subagents named/visiblethis hard rulesubagent definitions committed in gitsubagent reports in session

Anything in the deterministic column must always hold — enforce it with code, not prose.

Starting from an idea

When the user gives a goal or idea and there is no workflow in place yet:

  1. Scaffold the artifact skeleton with scripts/init_workflow.py <project-dir> --name "<project name>" --framework codex|claude (codex writes AGENTS.md, claude writes CLAUDE.md), or copy templates from assets/ into an existing repo.
  2. Run Plan: interview the user with analyst-style questions — what cannot be done today, who is affected, what success looks like, constraints, what is out of scope — until the idea is concrete.
  3. Write intent/intent.md from the template, commit it, and ask the product owner to accept or reject. Acceptance triggers Design.

If the user is already inside a later phase (for example, "review this PR" or "diagnose this incident"), start at that phase instead.

Running the loop

Read references/playbook.md for the full phase-by-phase procedure: inputs, steps, outputs, exit gates, and proven prompt patterns for each phase.

At a glance:

PhaseReadsProducesGate (human approval)
Planuser's ideaintent.mdaccepted → Design
Designintent.md + org standardsspec.mdapproved → Build
Buildintent.md + spec.mdplan.md → code + tests → PRplan approved before code; PR merged → Deploy
Testrepo + eval suiteeval results, regression evalsconfig changes that drop pass rate are reviewed
Deploymerged PR + review findingsauthorized releaseagentic review + explicit release authorization
Maintainproduction metricsdiagnosis → new intent.mdon-call triage: fix, schedule, or adjust thresholds

Graph engineering

The loop is a directed graph, not a linear pipeline: plays and artifacts are nodes, gates are the human approval points, and triggers are the edges that fire the next stage. Treating the workflow as a graph makes it automatable (accepted artifacts fire the next gate), parallelizable (independent branches run in separate worktrees), and auditable (node history is the record). The plays also form a separate adoption graph — start at the leaf plays and build outward. Read references/graph.md when designing or automating how phases trigger each other; the machine-readable form ships in assets/workflow-graph.example.yaml.

Autonomous agent org

For teams that want the loop to run with less human steering, the skill can scaffold an agent org: named roles (CEO-human, CTO, product manager, product engineering agent, engineers, reviewer) with an org chart, a reporting protocol, peer review of every artifact, and multi-channel demand intake (GitHub issues, forms, email). Agents run the phases, review each other's work, and escalate to the human CEO only at the critical gates (intent ambiguity, unresolved disagreement, PR merge, release). Scaffold it with scripts/init_org.py <project-dir>; full detail in references/org.md.

Templates and assets

The scaffold script copies the core skeleton into a new project (intent.md, CLAUDE.md/AGENTS.md, REVIEW.md, bands.yaml, production-gate.sh, workflow-graph.yaml, .gitignore, evals/example.md, evals/README.md, gates/README.md, .secretsignore, hooks/pre-commit.example, and the tool scripts gate_ledger.py/run_evals.py/detect_bands.py/workflow_state.py/ check_plan_sync.py/scan_secrets.py); copy these manually when extending an existing repo. spec.md and plan.md are produced by the workflow itself during Design and Build — copy the blank forms only when you want them as starting points:

  • assets/intent.md — intent capture (problem, proposed outcome, affected users/systems, constraints, out of scope, open questions)
  • assets/spec.md — requirements + design specification with gotchas (produced during Design)
  • assets/plan.md — build plan (files, order, risks, proof, verification) (produced during Build)
  • assets/CLAUDE.md — repository-memory starter (commands, verification, conventions, common mistakes)
  • assets/REVIEW.md — review standards (passes, evidence, severity, 5-nit cap)
  • assets/bands.yaml — monitoring control bands for Maintain
  • assets/production-gate.sh — release authorization hook (deploy-action patterns, expiry, read-only allowlist, ledger-backed approvals)
  • assets/gates-README.md — gate ledger usage (copied into new projects as gates/README.md)
  • assets/evals.example.md — eval case format for Test (reference form)
  • assets/evals.example.json — canonical JSON eval format consumed by scripts/run_evals.py
  • assets/evals-README.md — how to add evals (copied into new projects as evals/README.md)
  • assets/workflow-graph.example.yaml — the loop as a directed graph (nodes, gates, trigger edges)
  • assets/workflow-graph.yaml — blank project graph state (copied into new projects)
  • assets/incident.md — incident record template for Maintain (severity definitions, timeline, eval follow-up)
  • assets/runbooks/rollback-deploy.md + assets/runbooks/README.md — pre-approved action paths that bands.yaml 3σ routes may trigger
  • assets/PULL_REQUEST_TEMPLATE.md — change request mapped to REVIEW.md passes + evidence
  • assets/org/org-chart.yaml — agent org role model (roles, reports-to, authority, gates; copied by scripts/init_org.py)
  • assets/org/status.yaml — live agent states (busy/idle) + review queue (maintained by scripts/org_status.py)
  • assets/org/roles/*.md — role cards (CEO, CTO, product manager, product engineering agent, engineer, reviewer)
  • assets/org/protocol.md — reporting, peer review, escalation, and gate rules for the org
  • assets/org/intake/ + assets/org/reviews/README.md — demand intake (github/forms/email) and evidence-backed review record formats

Organization-level examples to wire up during adoption:

  • assets/hook-settings.example.json — hook wiring for Claude Code
  • assets/agent-evals.yml.example — CI eval workflow (calls scripts/run_evals.py)
  • assets/managed-settings.example.json — regulated-enterprise managed settings

Scripts

  • scripts/init_workflow.py — scaffold the artifact skeleton into a new project (--dry-run, --framework, --git)
  • scripts/init_org.py — scaffold the autonomous agent org (roles, protocol, intake; --dry-run, --force)
  • scripts/quick_validate.py — validate the skill/plugin bundle (self-check; CI runs it)
  • scripts/run_evals.py — run the eval suite locally or in CI (Phase 4), with --min-pass-rate gating
  • scripts/detect_bands.py — deterministic control-band detection (Phase 6 reference implementation: rolling window, Western Electric rules, drift rule)
  • scripts/gate_ledger.py — hash-chained approval ledger: every gate decision is a committed, tamper-evident record; the release gate verifies RELEASE_APPROVAL=ledger:<id> against it
  • scripts/workflow_state.py — deterministic workflow state runtime (status/advance/check): graph nodes advance only through matching, chain-verified ledger records
  • scripts/check_plan_sync.py — deterministic plan-sync enforcement: implementation changes require an approved plan.md manifest in PR/CI or pre-commit mode
  • scripts/scan_secrets.py — deterministic secret scanner for the build-phase red line: scans paths, the staged diff, or a PR diff for high-signal credentials, always redacts, exits non-zero on findings
  • scripts/sync_issues.py — GitHub issue intake for the product engineering agent (pull open issues into org/intake/github/, push a feature ticket)
  • scripts/org_status.py — agent busy/idle and review-queue management (status, agent, review) against org/status.yaml
  • scripts/intake.py — form/email demand intake into org/intake/ (add, list)

Self-test (after installing)

  1. python3 skills/ai-native-sdlc/scripts/init_workflow.py /tmp/wf-demo --name "Demo" --git
  2. Tell your agent: run the AI-native SDLC workflow from this intent.
  3. Accept the intent, approve the spec, and confirm the agent stops at every gate and never crosses the production gate.

Customization

Read references/adoption.md when tailoring the workflow to an organization or when asked how to roll this out gradually. It covers staged adoption, encoding org standards as skills, wiring hooks, building the eval suite, and keeping existing tools (Jira, Figma, GitHub, Slack) in place.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ai Native Sdlc AI 技能有什么作用?

Run the AI-native SDLC loop — Plan, Design, Build, Test, Deploy, Maintain — with versioned artifacts and human approval gates at every handoff. Use when the user states a goal, idea, feature, or change request and expects the agent to scaffold and drive the project through the full lifecycle instead of jumping straight to code.

为什么在 TypingMind 中使用 Ai Native Sdlc?

因为您只需安装一次,就能搭配任何模型使用。Ai Native Sdlc 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai Native Sdlc?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/bashebr/ai-native-sdlc/tree/main/skills/ai-native-sdlc。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai Native Sdlc?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai Native Sdlc 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai Native Sdlc 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai Native Sdlc AI 技能免费吗?

是的。bashebr 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇