One-click install
npx skills add https://github.com/hangeaiagent/agentpit-Skills --skill agentpit-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentpit-dev
Source: https://github.com/hangeaiagent/agentpit-Skills/tree/main/skills/agentpit-dev
Command: npx skills add https://github.com/hangeaiagent/agentpit-Skills --skill agentpit-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

基于 AgentPit 项目中现有的 state.json 配置和 PRD 需求,自动生成完整的功能模块代码骨架,提升开发效率并保持一致性。

Core Features & Use Cases

  • 基于 /agentpit-init 的状态和 /agentpit-prd 的需求自动生成 Prisma/API/页面/组件等代码骨架
  • 遵循 Prisma 模型、Next.js 路由、UI 组件等编码规范,确保生产就绪
  • 支持快速模式下跳过 PRD 检查,提升迭代速度
  • Use Case: 团队在 AgentPit 项目中需要快速从配置和需求产出稳定的代码实现

Quick Start

在 AgentPit 项目中基于 state.json 配置和 PRD 需求快速生成完整的功能模块代码。

Frequently Asked Questions about agentpit-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-generate Next.js and Prisma code modules from PRD requirements?

You can generate production-ready Next.js and Prisma code modules by processing your PRD requirements and state.json configuration, which creates feature scaffolds including API routes, pages, and UI components automatically.

What's the best way to scaffold consistent API routes and UI components for a Next.js project?

Scaffolding API routes and UI components from a PRD and state.json configuration ensures adherence to Next.js routing and Prisma model conventions, yielding stable, production-ready feature modules across your existing repository.

Do I need a completed PRD to generate code scaffolds for my project?

No, you do not need a completed PRD. A quick mode is available to skip PRD checks and accelerate iteration speed while still generating feature scaffolds from your existing state.json configuration.

Can I use this to add new feature modules into an existing AgentPit repository?

Yes, this tool is designed to create feature scaffolds directly within your existing repositories. It leverages state.json and PRD-driven requirements to ensure the generated code matches your current project structure.

Why does code generation require state.json and PRD inputs?

Code generation requires state.json and PRD inputs to ensure the output strictly adheres to your established Prisma models, Next.js routing conventions, and UI component templates for production-ready consistency.

What are the limitations of using configuration-driven code generation for web development?

This configuration-driven code generation focuses on creating feature scaffolds from state.json and PRD requirements. It ensures consistent Prisma and Next.js module structures but does not generate complex custom business logic beyond the template scope.