Back to Skills

crud-generator

majiayu000
Updated Today
58
9
58
View on GitHub
Otherdesign

About

The crud-generator skill automates the creation of full-stack CRUD components, including data models, API endpoints, UI forms, and validation logic. It's ideal for developers needing to quickly scaffold standard data management features within a defined system architecture. The skill requires clear requirements and system context to generate the appropriate code and configuration artifacts.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/crud-generator

Copy and paste this command in Claude Code to install this skill

Documentation

Crud Generator

Purpose

  • Generate models, endpoints, UI forms, and validation.

Preconditions

  • Access to system context (repos, infra, environments)
  • Confirmed requirements and constraints
  • Required approvals for security, compliance, or governance

Inputs

  • Problem statement and scope
  • Current architecture or system constraints
  • Non-functional requirements (performance, security, compliance)
  • Target stack and environment

Outputs

  • Design or implementation plan
  • Required artifacts (diagrams, configs, specs, checklists)
  • Validation steps and acceptance criteria

Detailed Step-by-Step Procedures

  1. Clarify scope, constraints, and success metrics.
  2. Review current system state, dependencies, and integration points.
  3. Select patterns, tools, and architecture options that match constraints.
  4. Produce primary artifacts (docs/specs/configs/code stubs).
  5. Validate against requirements and known risks.
  6. Provide rollout and rollback guidance.

Decision Trees and Conditional Logic

  • If compliance or regulatory scope applies -> add required controls and audit steps.
  • If latency budget is strict -> choose low-latency storage and caching.
  • Else -> prefer cost-optimized storage and tiering.
  • If data consistency is critical -> prefer transactional boundaries and strong consistency.
  • Else -> evaluate eventual consistency or async processing.

Error Handling and Edge Cases

  • Partial failures across dependencies -> isolate blast radius and retry with backoff.
  • Data corruption or loss risk -> enable backups and verify restore path.
  • Limited access to systems -> document gaps and request access early.
  • Legacy dependencies with limited change tolerance -> use adapters and phased rollout.

Tool Requirements and Dependencies

  • CLI and SDK tooling for the target stack
  • Credentials or access tokens for required environments
  • Diagramming or spec tooling when producing docs

Stack Profiles

  • Use Profile A, B, or C from skills/STACK_PROFILES.md.
  • Note selected profile in outputs for traceability.

Validation

  • Requirements coverage check
  • Security and compliance review
  • Performance and reliability review
  • Peer or stakeholder sign-off

Rollback Procedures

  • Revert config or deployment to last known good state.
  • Roll back database migrations if applicable.
  • Verify service health, data integrity, and error rates after rollback.

Success Metrics

  • Measurable outcomes (latency, error rate, uptime, cost)
  • Acceptance thresholds defined with stakeholders

Example Workflows and Use Cases

  • Minimal: apply the skill to a small service or single module.
  • Production: apply the skill to a multi-service or multi-tenant system.

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/crud-generator

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

creating-opencode-plugins

Meta

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill

Algorithmic Art Generation

Meta

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

View skill