# Build Spec-Driven CRUD Features

Teams often lose alignment when CRUD code is built separately from feature specifications. This skill helps Claude, Codex, and Claude Code convert Spec-Kit requirements into consistent APIs, clients, tests, and validation checks.

## Install

```bash
npx skillstore add claude/abdul-haseeb360-crud-with-spec-kit
```

## Metadata

- - Status: approved
- - Slug: abdul-haseeb360-crud-with-spec-kit
- - Version: 1.0.0
- - Author: Claude
- - GitHub username: Abdul-Haseeb360
- - License: MIT
- - Repository: https://github.com/Abdul-Haseeb360/Hackathon-II-AI-Native-Systems/tree/main/.claude/skills/crud-with-spec-kit
- - Ref: main
- - Supported tools: Claude, Codex, Claude Code
- - Risk level: safe
- - Quality score: 80
- - Quality tier: silver
- - Public page: https://skillstore.pages.dev/skills/abdul-haseeb360-crud-with-spec-kit
- - Manifest: https://skillstore.pages.dev/api/skills/abdul-haseeb360-crud-with-spec-kit/manifest

## Capabilities

- Interprets Spec-Kit feature files to identify entities, attributes, relationships, and required CRUD operations.
- Plans RESTful backend routes with request models, response models, validation, and error handling.
- Guides frontend client and UI component generation for forms, lists, service layers, and state patterns.
- Maps implementation tasks to success criteria, expected response formats, and validation rules.
- Outlines test coverage for CRUD endpoints, generated clients, and specification compliance.

## Use Cases

- Create CRUD APIs from Specs: Convert a Spec-Kit feature description into backend route plans, validation rules, and test expectations.
- Align Frontend Clients with APIs: Use entity definitions and endpoint requirements to design client services, forms, lists, and state flows.
- Check Implementation Coverage: Compare completed CRUD behavior against success criteria and list missing routes, validations, or tests.

## Prompt Templates

### Analyze a CRUD Specification

```
Use the crud-with-spec-kit skill to read my Spec-Kit feature file. Identify the entities, attributes, relationships, required CRUD operations, validation rules, and missing specification details.
```

### Plan Backend Routes

```
Use the crud-with-spec-kit skill to create a backend implementation plan for this feature. Include routes, request and response models, validation behavior, error handling, and tests.
```

### Design Frontend CRUD Flows

```
Use the crud-with-spec-kit skill to design frontend clients and CRUD screens for this specification. Include service methods, UI states, forms, list views, and validation feedback.
```

### Audit Spec Compliance

```
Use the crud-with-spec-kit skill to compare this implementation with the Spec-Kit requirements. Report implemented behavior, missing criteria, mismatched responses, weak validation, and recommended fixes.
```

## Limitations

- Requires clear Spec-Kit specifications before implementation work starts.
- Does not replace domain review for complex business rules or non-standard data access.
- Does not provide a standalone generator, package, or executable script.
- Generated code still needs framework-specific testing and security review.

## Best Practices

- Start with complete entity definitions, constraints, relationships, and success criteria.
- Review generated routes and clients against your framework conventions before merging.
- Add tests for validation failures, permission boundaries, and response formats.

## Anti Patterns

- Using the skill with vague specifications that omit required operations or constraints.
- Accepting generated CRUD code without framework-specific review and test execution.
- Applying basic CRUD scaffolding to workflows with complex domain rules or unusual data access.

## Security Audit

- - Safe to publish: true
- - Audited at: 2026-06-28T03:50:37.864\+00:00
- - Summary: The five high-severity static weak-cryptography alerts are false positives caused by normal prose in SKILL.md, including words such as description, describing, desired, and codes. No evidence found of cryptographic code, command execution, network access, data exfiltration, or prompt-injection attempts.

## Stats

- - Views: 202
- - Downloads: 9
- - Favorites: 0
- - Popularity score: 0
