最新资讯
dev.to 我们在 DolphinBench 上测试记忆检索:纯关键词搜索暴露了自身回归 dev.to 别再把 Agent 写成 while 循环,把它建模为状态机 bloomberg.com Rightmove 与 Scout24 借 AI 产品应对低迷房市并上调展望 stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者
多元动态
登录 注册
AI编码 github.com ·

Vibe Coding Production Kit:面向 AI 编码代理的生产级工作流

原文 我的收藏

Vibe Coding Production Kit(VCP)是一个面向 AI 辅助软件开发的生产级操作系统和零运行时依赖 CLI,旨在将模糊的“vibe coding”转化为可重复的工程生命周期,涵盖规格、架构、有界任务、仓库原生代理规则、就绪门禁、安全、验证证据、独立审查、安全更新和恢复。它模型无关,可与 Codex、Claude Code、Cursor、GitHub Copilot 等编码代理配合使用。CLI 要求 Node.js 22+,无运行时依赖,仅在仓库证据支持时自动检测 TypeScript、Python 和 Go。v0.9 引入 .vcp/manifest.json 和持久基线快照,初始化后拒绝用 init --force 替换生命周期状态,升级需通过 update 引擎。

AI推荐理由 这是一个面向 AI 编码代理的生产级工作流工具包,提供零运行时依赖 CLI,支持 Codex、Claude Code、Cursor、GitHub Copilot 等模型无关工具,核心卖点是把“vibe coding”从一次性对话转为包含规格、架构、有界任务、就绪门禁、安全、验证证据、独立审查和回滚的工程生命周期。输入中给出了具体命令、Node.js 22+ 要求、v0.9 的 manifest 与基线快照机制,信息密度较高;但仅有项目自述,没有第三方验证、实际使用效果或安装数据,因此不能声称已验证或可靠。对开发者和 Agent 工具链有实际参考价值,但属于早期项目,需自行评估。

62

正文

Vibe Coding Production Kit Build with AI like an engineering team — not like a chat session. Vibe Coding Production Kit (VCP) is a production-minded operating system and zero-runtime-dependency CLI for AI-assisted software development. It turns vague “vibe coding” into a repeatable engineering lifecycle built around specifications, architecture, bounded tasks, repository-native agent rules, readiness gates, security, verification evidence, independent review, safe updates, and recovery. It is model-agnostic and works with tools such as Codex, Claude Code, Cursor, GitHub Copilot, and other coding agents. Arabic documentation: README.ar.md Start in 60 seconds Run the published npm package directly — no global install required: npx vibe-coding-production init . --agent all --stack auto --yes Or target another repository: npx vibe-coding-production init ./my-app --agent claude --stack auto --yes Preview without writing: npx vibe-coding-production init . --agent all --stack auto --dry-run The executable is also available as vcp when installed or invoked through npm package tooling. If you intentionally want to run the repository version instead of the published npm package: npx --yes github:MoeEyani/Vibe-Coding-Production-Kit init . --agent all --stack auto --yes The CLI requires Node.js 22+, has no runtime dependencies, and auto-detects TypeScript, Python, and Go only when repository evidence supports that decision. New here? Follow the end-to-end 10-minute Quickstart. Why this is different Most vibe-coding workflows optimize for getting the first demo working. VCP optimizes for the 100th feature, the second developer, production incidents, security reviews, migrations, refactors, upgrades, and years of maintenance. Casual vibe coding Vibe Coding Production Kit Prompt is the source of truth Repository docs are the source of truth Large “build this app” requests Small bounded task contracts Agent starts coding immediately Readiness + plan-before-code gates “Tests should pass” Executed verification evidence Same agent builds and judges Independent review workflow Copy templates once Versioned lifecycle state + safe updates Overwrite/reinstall to upgrade Baselines, merge, migrations, rollback Hope production is okay Security, observability, release/recovery thinking The daily workflow init ↓ task ↓ ready --stage plan ↓ context --mode plan ↓ plan ↓ ready --stage implement ↓ context --mode implement ↓ implement ↓ verify ↓ independent review ↓ doctor ↓ release / observe When a newer VCP version is available: update --check ↓ update --dry-run ↓ resolve conflicts if any ↓ update ↓ doctor Safe lifecycle updates — v0.9 vcp init now creates .vcp/manifest.json and persistent baseline snapshots. Once a repository is initialized, VCP refuses to replace that lifecycle state with init --force; upgrades go through the update engine. Check version state: vcp update . --check vcp update . --check --json Preview the full migration plan without writing project files: vcp update . --dry-run Apply after reviewing the plan: vcp update . Recover the newest safe recovery point: vcp rollback . Detach or re-track one VCP-managed file without deleting local content: vcp manage ignore AGENTS.md vcp manage track AGENTS.md The update engine uses: persistent baseline hashes and snapshots; managed, generated, and preserve ownership policies; bounded three-way merge for independent edits; explicit CONFLICT instead of guessing on overlaps; versioned migration declarations for renames/removals; lifecycle locking before planning and mutation; path traversal and symlink protections; transaction state, backups, post-apply verification, and automatic rollback; conservative rollback semantics instead of pretending partial historical backups are complete snapshots. See docs/UPDATES.md for the full contract and docs/CLI.md for commands/options. Audit an existing project The read-only doctor checks whether the engineering system is actually configured—not merely copied: npx vibe-coding-production doctor . It reports concrete PASS / WARN / FAIL findings for agent instructions, unresolved verification commands, source-of-truth documents, untouched templates, CI, plan/review workflow, manifest compatibility, baseline integrity, and interrupted update transactions. Use --json for automation or --strict to make warnings non-zero. See docs/DOCTOR.md. Create a bounded task before coding npx vibe-coding-production task accept-invite --title "Accept invitation" The generator creates docs/tasks/accept-invite.md with source-of-truth links, acceptance criteria, scope boundaries, security/privacy questions, failure modes, observability, tests, rollout/recovery, implementation planning, review checks, and the verification commands actually configured in AGENTS.md. See docs/TASK-PACKS.md. Gate readiness before planning and implementation vcp ready accept-invite --stage plan vcp ready accept-invite --stage implement The planning gate requires a real outcome, resolvable Source of Truth, concrete acceptance criteria, and explicit scope. The implementation gate additionally requires resolved architecture/data/integration boundaries, domain invariants, security/privacy, failure modes, observability, testing, rollout/recovery, and a concrete implementation plan. See docs/TASK-READINESS.md. Build the right context for each AI phase vcp context accept-invite --mode plan Use --mode implement, review, security, or release as the task progresses. Add only affected implementation files with repeatable --include flags. Context packs reject repository escapes and enforce a size budget by default. See docs/CONTEXT-PACKS.md. Turn “I ran the tests” into evidence Preview exactly what would execute: vcp verify accept-invite Execution requires explicit consent and an implementation-ready task: vcp verify accept-invite --run \ --output .vcp/evidence/accept-invite.json Commands run sequentially and stop after the first failure. Evidence records command, status, exit code, signal, timeout state, and duration, while raw stdout/stderr is deliberately not persisted by default. See docs/VERIFICATION-EVIDENCE.md. Worked reference project Start with examples/reference-saas-invite/ to see the workflow as concrete engineering artifacts instead of blank templates. It models a security-sensitive multi-tenant invitation vertical slice with completed product/domain/architecture/data artifacts, ADR, threat model, test strategy, bounded task, layered code, and negative-path tests for authorization, tenant boundaries, token hashing, expiry, replay, and email binding. cd examples/reference-saas-invite npm test npm run check The example explicitly documents what remains unproven for real production infrastructure instead of calling a demo “production-ready.” Core principle Do not ask AI to build your project. Build a system that makes it difficult for AI to build your project incorrectly. The human owns intent, trade-offs, architecture, risk acceptance, and final decisions. AI helps research, plan, implement, test, review, document, and automate — inside explicit constraints. The lifecycle Idea -> Product brief -> PRD + acceptance criteria -> User flows -> Domain model -> Architecture + ADRs -> Data model -> Threat model -> Test strategy -> Epics / stories / bounded tasks -> Readiness gate -> Plan before code -> Bounded implementation -> Verification evidence -> Independent review -> CI gates -> Release + observability -> Safe VCP lifecycle updates -> Learn and update the source of truth What you get AGENTS.md — repository-wide rules for coding agents. Product templates — product brief, PRD, user flows, acceptance criteria. Architecture templates — domain model, system design, data model, ADRs. Security template — threat modeling before implementation. Test strategy — unit/integration/contract/E2E decision framework. Delivery system — Definition of Ready, Definition of Done, task/release checklists. vcp task — bounded repository-native task contracts. vcp ready — separate plan/implementation readiness gates. vcp context — bounded phase-specific AI context packs. vcp verify — explicit execution and verification evidence. vcp doctor — repository/system health audit without a misleading magic score. vcp update — lifecycle-aware safe updates with merge/migrations/recovery. Agent prompts — discovery, planning, implementation, review, security, refactoring, release review. GitHub hygiene — issue templates, PR template, contributing guide, security policy, validation workflow. English README plus an Arabic guide. Fill source-of-truth documents in this order docs/product/PRODUCT-BRIEF.md docs/product/PRD.md docs/product/USER-FLOWS.md docs/architecture/DOMAIN.md docs/architecture/ARCHITECTURE.md docs/architecture/DATA-MODEL.md docs/security/THREAT-MODEL.md docs/testing/TEST-STRATEGY.md Then customize AGENTS.md with real repository commands for install, format, lint, typecheck, unit/integration tests, build, and E2E. Agent execution loop flowchart LR A[Select task] --> B[Read Source of Truth] B --> C[Readiness: plan] C --> D[Build plan context] D --> E[Plan without editing] E --> F[Readiness: implement] F --> G[Implement bounded scope] G --> H[Verification evidence] H --> I[Self-review diff] I --> J[Independent review] J --> K{Quality gates pass?} K -- No --> G K -- Yes --> L[Merge / release / observe] Loading Repository map . ├── AGENTS.md ├── README.md ├── README.ar.md ├── CONTRIBUTING.md ├── SECURITY.md ├── bin/ ├── lib/ ├── docs/ │ ├── 00-START-HERE.md │ ├── QUICKSTART.md │ ├── CLI.md │ ├── UPDATES.md │ ├── product/ │ ├── architecture/ │ ├── security/ │ ├── testing/ │ └── delivery/ ├── prompts/ ├── examples/ ├── scripts/ └── .github/ Non-negotiables Specs before implementation. Architecture decisions are recorded, not buried in chat history. No large unbounded agent tasks. External input is validated at trust boundaries. Authorization is server-side and resource-specific. Schema changes use reviewed migrations and rollback thinking. Tests are added with behavior, not postponed to the end. The builder is not the only reviewer. CI is the mechanical source of truth when CI is available. Production must be observable and recoverable. Lifecycle upgrades are planned and reversible; templates are not blindly recopied. Suggested task size A good agent task normally has: one primary outcome; a narrow set of affected modules; explicit acceptance criteria; known tests; no unrelated refactor; a diff small enough for a human to understand. If a task requires a long explanation of “and while you're there…”, split it. Tool-specific notes The kit intentionally avoids locking you into one AI vendor. Keep universal rules in AGENTS.md, and add tool-specific instruction files only when they provide real value. Do not duplicate conflicting rules across multiple agent configuration files. Prefer one source of truth and thin adapters. Roadmap CLI bootstrap with evidence-based TypeScript/Python/Go profiles Context-aware task pack generator Two-stage task readiness gate Phase-specific bounded context packs Safe verification evidence workflow Read-only doctor audit Worked reference vertical slice Versioned lifecycle state and safe vcp update Three-way merge, migrations, locking, backup, rollback, and manage ignore/track Mobile stack profiles Monorepo-aware stack/CI profiles Security profiles for common application classes Git-aware review/release automation Prompt evaluation suite for coding agents Architecture fitness-function examples Extensible community profile/plugin system See CONTRIBUTING.md if you want to help. License MIT — use it in personal, commercial, and open-source projects.

来源报道 · 1 篇 · 以下链接均前往原始媒体

iris::Hacker News (黑客新闻) Vibe Coding Production Kit:面向 AI 编码代理的生产级工作流 09-25 · 原文发布
← 返回精选动态 原文

更多内容