Use this conceptual skill when you need to implement CRUD (Create, Read, Update, Delete) operations for applications using Spec-Kit and Claude Code. This skill is appropriate for:
Building data-driven applications with well-defined specifications
Generating backend APIs from feature specifications
Creating frontend clients that consume CRUD APIs
Ensuring implementation aligns with specified success criteria
Rapidly scaffolding CRUD functionality based on specifications
Maintaining consistency between specification and implementation
This skill should NOT be used for:
Applications without clear specifications
Systems requiring complex business logic beyond basic CRUD
Prototypes where specifications are still evolving rapidly
Applications with non-standard data access patterns
Prerequisites
Spec-Kit specification files describing the desired features
Claude Code for AI-assisted development
Understanding of CRUD operations and REST API concepts
Development environment with appropriate tools for target platform
Clear understanding of data models and relationships
Conceptual Implementation Framework
Specification Reading Capability
Parse and interpret feature specifications from spec files
Extract entity definitions, attributes, and relationships
Identify required CRUD operations for each entity
Map specification requirements to implementation patterns
Validate specification completeness before starting implementation
Backend Route Generation Capability
Generate RESTful API endpoints based on entity definitions
Create appropriate HTTP methods (GET, POST, PUT, DELETE) for each operation
Implement proper request/response handling according to specification
Generate request validation and error handling patterns
Create data access layer methods matching specification requirements
Frontend Client Generation Capability
Generate API client code for consuming CRUD endpoints
Create data models matching backend entities
Implement UI components for CRUD operations (forms, lists, etc.)
Generate service layers for API communication
Create state management patterns for frontend applications
Success Criteria Enforcement Capability
Validate implementation against specification-defined success criteria
Ensure all required functionality is implemented
Verify that error handling matches specification requirements
Confirm that data validation aligns with specification constraints
Test that API responses conform to specified formats
Code Scaffolding Capability
Generate consistent code structure following best practices
Create standardized file organization patterns
Implement reusable components and utilities
Generate boilerplate code for common operations
Maintain consistent coding standards across the application
Expected Input/Output
Input Requirements:
Specification Files:
Feature specifications in Spec-Kit format
Entity definitions with attributes and relationships
Verify that all specified entities are implemented
Ensure all required operations are available
Validate that constraints are properly enforced
Confirm that success criteria are met
Code Quality Standards
Maintain consistent coding patterns across generated code
Follow platform-specific best practices
Ensure generated code is maintainable and readable
Validate that error handling is comprehensive
Testing Integration
Generate test cases based on specification requirements
Create validation tests for CRUD operations
Implement integration tests for API endpoints
Generate unit tests for individual components
Integration Patterns
Spec-Kit Integration
Read specification files in Spec-Kit format
Map specification elements to implementation patterns
Generate code that directly reflects specification requirements
Maintain traceability between specification and implementation
Claude Code Integration
Leverage AI assistance for code generation
Use Claude Code for complex implementation patterns
Generate code that follows best practices and standards
Ensure generated code is consistent and maintainable
Development Pipeline Integration
Integrate with CI/CD pipelines for automated generation
Support version control for specification-driven changes
Enable collaborative development based on specifications
Facilitate specification-driven testing and validation
Performance Considerations
Optimize code generation for large specification files
Consider performance implications of generated code
Balance automation with maintainability requirements
Monitor generation time for complex specifications
Plan for scalability of generated applications
Error Handling and Validation
Validate specification files before code generation
Handle malformed or incomplete specifications gracefully
Provide clear error messages for specification issues
Generate appropriate error handling in generated code
Validate generated code against specification requirements
1---2name: crud-with-spec-kit3description: A conceptual skill for implementing CRUD features driven by Spec-Kit and Claude Code4---56# CRUD with Spec-Kit Skill
78## When to Use This Skill
910Use this conceptual skill when you need to implement CRUD (Create, Read, Update, Delete) operations for applications using Spec-Kit and Claude Code. This skill is appropriate for:
1112- Building data-driven applications with well-defined specifications
13- Generating backend APIs from feature specifications
14- Creating frontend clients that consume CRUD APIs
15- Ensuring implementation aligns with specified success criteria
16- Rapidly scaffolding CRUD functionality based on specifications
17- Maintaining consistency between specification and implementation
1819This skill should NOT be used for:
20- Applications without clear specifications
21- Systems requiring complex business logic beyond basic CRUD
22- Prototypes where specifications are still evolving rapidly
23- Applications with non-standard data access patterns
2425## Prerequisites
2627- Spec-Kit specification files describing the desired features
28- Claude Code for AI-assisted development
29- Understanding of CRUD operations and REST API concepts
30- Development environment with appropriate tools for target platform
31- Clear understanding of data models and relationships
3233## Conceptual Implementation Framework
3435### Specification Reading Capability
36- Parse and interpret feature specifications from spec files
37- Extract entity definitions, attributes, and relationships
38- Identify required CRUD operations for each entity
39- Map specification requirements to implementation patterns
40- Validate specification completeness before starting implementation
4142### Backend Route Generation Capability
43- Generate RESTful API endpoints based on entity definitions
44- Create appropriate HTTP methods (GET, POST, PUT, DELETE) for each operation
45- Implement proper request/response handling according to specification
46- Generate request validation and error handling patterns
47- Create data access layer methods matching specification requirements
4849### Frontend Client Generation Capability
50- Generate API client code for consuming CRUD endpoints
51- Create data models matching backend entities
52- Implement UI components for CRUD operations (forms, lists, etc.)
53- Generate service layers for API communication
54- Create state management patterns for frontend applications
5556### Success Criteria Enforcement Capability
57- Validate implementation against specification-defined success criteria
58- Ensure all required functionality is implemented
59- Verify that error handling matches specification requirements
60- Confirm that data validation aligns with specification constraints
61- Test that API responses conform to specified formats
6263### Code Scaffolding Capability
64- Generate consistent code structure following best practices
65- Create standardized file organization patterns
66- Implement reusable components and utilities
67- Generate boilerplate code for common operations
68- Maintain consistent coding standards across the application
6970## Expected Input/Output
7172### Input Requirements:
73741. **Specification Files**:
75 - Feature specifications in Spec-Kit format
76 - Entity definitions with attributes and relationships
77 - Required operations and constraints
78 - Success criteria and validation rules
79 - API endpoint definitions
80812. **Specification Elements**:
82 - Entity names and descriptions
83 - Attribute types and constraints
84 - Relationship definitions
85 - Required CRUD operations
86 - Expected response formats
8788### Output Formats:
89901. **Generated Backend Routes**:
91 - RESTful endpoints following specification
92 - Request/response models matching entity definitions
93 - Proper HTTP status codes for different operations
94 - Error responses matching specification requirements
95962. **Generated Frontend Clients**:
97 - Type-safe API client code
98 - Data models matching backend entities
99 - Service methods for each CRUD operation
100 - UI component templates for data manipulation
1011023. **Scaffolding Output**:
103 - Consistent file structure and organization
104 - Standardized code patterns and conventions
105 - Ready-to-use implementation templates
106 - Documentation matching the specification
1071084. **Validation Results**:
109 - Success/failure status of criteria enforcement
110 - List of implemented vs. specified features
111 - Compliance report against specification
112 - Gap analysis between specification and implementation
113114## Development Workflow Integration
115116### Specification Analysis Phase
117- Read and parse specification files to understand requirements
118- Identify all entities and their relationships
119- Extract validation rules and constraints
120- Map specification elements to implementation patterns
121122### Code Generation Phase
123- Generate backend API routes based on entity definitions
124- Create frontend client code for API consumption
125- Implement data access patterns matching specification
126- Generate UI components for CRUD operations
127128### Validation Phase
129- Verify generated code against specification requirements
130- Ensure all success criteria are met
131- Validate API responses match specification formats
132- Confirm error handling follows specification patterns
133134## Quality Assurance Framework
135136### Specification Compliance
137- Verify that all specified entities are implemented
138- Ensure all required operations are available
139- Validate that constraints are properly enforced
140- Confirm that success criteria are met
141142### Code Quality Standards
143- Maintain consistent coding patterns across generated code
144- Follow platform-specific best practices
145- Ensure generated code is maintainable and readable
146- Validate that error handling is comprehensive
147148### Testing Integration
149- Generate test cases based on specification requirements
150- Create validation tests for CRUD operations
151- Implement integration tests for API endpoints
152- Generate unit tests for individual components
153154## Integration Patterns
155156### Spec-Kit Integration
157- Read specification files in Spec-Kit format
158- Map specification elements to implementation patterns
159- Generate code that directly reflects specification requirements
160- Maintain traceability between specification and implementation
161162### Claude Code Integration
163- Leverage AI assistance for code generation
164- Use Claude Code for complex implementation patterns
165- Generate code that follows best practices and standards
166- Ensure generated code is consistent and maintainable
167168### Development Pipeline Integration
169- Integrate with CI/CD pipelines for automated generation
170- Support version control for specification-driven changes
171- Enable collaborative development based on specifications
172- Facilitate specification-driven testing and validation
173174## Performance Considerations
175176- Optimize code generation for large specification files
177- Consider performance implications of generated code
178- Balance automation with maintainability requirements
179- Monitor generation time for complex specifications
180- Plan for scalability of generated applications
181182## Error Handling and Validation
183184- Validate specification files before code generation
185- Handle malformed or incomplete specifications gracefully
186- Provide clear error messages for specification issues
187- Generate appropriate error handling in generated code
188- Validate generated code against specification requirements
Run npx skillmds add majiayu000/crud-with-spec-kit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
A conceptual skill for implementing CRUD features driven by Spec-Kit and Claude Code It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.