一键导入
code-generation
Framework-agnostic code generation templates for 20+ frameworks. Use when generating code for any detected framework or stack.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Framework-agnostic code generation templates for 20+ frameworks. Use when generating code for any detected framework or stack.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Comprehensive tech stack detection, framework identification, dependency analysis, and project.json generation. Use when analyzing project structure, detecting frameworks, identifying dependencies, discovering AI stack components, detecting databases, or when user mentions project detection, tech stack analysis, framework discovery, or project.json generation.
OpenAPI to Portman to Newman pipeline with auth injection for API contract testing. Use when building API tests from OpenAPI specs, injecting authentication into test collections, running contract tests, or when user mentions OpenAPI, Portman, API contract, Swagger, API testing pipeline, auth injection.
Run and analyze Newman (Postman CLI) tests. Use when running API tests, validating Postman collections, testing HTTP endpoints, or when user mentions Newman, Postman tests, API validation.
Health endpoint and critical path smoke testing patterns. Use when running quick validation tests, checking health endpoints, verifying critical paths respond correctly, or when user mentions smoke testing, health checks, quick validation, sanity checks.
Detection scripts and patterns for identifying test frameworks across all supported languages. Use when detecting test infrastructure, analyzing project testing setup, identifying coverage tools, or when user mentions test detection, framework identification, testing setup analysis.
Architecture design templates, mermaid diagrams, documentation patterns, and validation tools. Use when designing system architecture, creating architecture documentation, generating mermaid diagrams, documenting component relationships, designing data flows, planning deployments, creating API architectures, or when user mentions architecture diagrams, system design, mermaid, architecture documentation, or component design.
基于 SOC 职业分类
| name | code-generation |
| description | Framework-agnostic code generation templates for 20+ frameworks. Use when generating code for any detected framework or stack. |
Detect Project Framework:
.claude/project.json to identify framework and stackSelect Appropriate Template:
Generate Code:
Validate Generated Code:
Example 1: React Component Generation
Framework: React + TypeScript
Template: templates/react-ts-component.template
Output: Button.tsx with props, TypeScript types, and styles
Example 2: FastAPI Endpoint
Framework: Python + FastAPI
Template: templates/fastapi-endpoint.template
Output: router with Pydantic models and async handlers
Example 3: Go API Handler
Framework: Go + Gin
Template: templates/go-gin-handler.template
Output: handler function with request/response structs
All templates support these variables:
{{NAME}} - Component/function/class name{{DESCRIPTION}} - Purpose description{{PROPS}} - Properties/parameters{{IMPORTS}} - Required imports{{TYPES}} - Type definitions{{METHODS}} - Methods/functions{{TESTS}} - Test casestemplates/frontend/templates/backend/templates/database/templates/tests/templates/config/Purpose: Universal code generation for any framework Used by: feature-builder, frontend-generator, backend-generator agents