Skip to content

heguangyong/scene-capability-engine-templates

Repository files navigation

scene-capability-engine-templates

Official template library for scene-capability-engine (sce).

This repository contains high-quality, community-contributed Spec templates to help you quickly create well-structured feature specifications.

🚀 Quick Start

# Update your local template cache
sce templates update

# List all templates (grouped by category)
sce templates list

# Filter by category
sce templates list --category backend-features

# Search by keyword (matches name, description, tags)
sce templates search "rest"
sce templates search "quality"

# View template details and applicable scenarios
sce templates show backend-features/pure-restful-backend

# Create a new Spec from a template
sce spec create my-feature --template backend-features/pure-restful-backend

📁 Template Categories

Category Description Templates
web-features/ Frontend and web application features 48
backend-features/ Backend services and APIs 60
architecture/ System architecture and design patterns 9
quality/ Quality assurance and technical debt 42
domain-modeling/ Business domain analysis and data modeling 9

🎯 Available Templates

Template ID Name Difficulty Tags Use When...
web-features/rest-api REST API Feature intermediate api, rest, http, validation Creating RESTful API endpoints, CRUD operations, microservices
web-features/graphql-api GraphQL API Feature intermediate api, graphql, schema, resolvers Building GraphQL APIs, flexible data queries, real-time apps
backend-features/database-integration Database Integration intermediate database, schema, migrations, orm Setting up database, data persistence layer, migrations
backend-features/pure-restful-backend Pure RESTful Backend advanced rest, jetty, java, modular-architecture Building REST backend from scratch, modernizing legacy backend, embedded Jetty microservices
architecture/architecture-design Architecture Design advanced architecture, system-design, components, data-flow Designing new system architecture, restructuring apps, microservices decomposition
quality/phase2-quality-debt-closure Quality Debt Closure intermediate quality, testing, coverage, technical-debt Improving test coverage, closing technical debt, quality improvement sprints
domain-modeling/domain-analysis Domain Analysis intermediate domain-modeling, data-model, entity-relationship, state-machine Analyzing business domains, building data models, designing entity relationships and lifecycles
domain-modeling/moqui-domain-extension Moqui Domain Extension intermediate moqui, entity-engine, rest-api, domain-extension Extending Moqui ERP for industry-specific needs, reusing existing entities and REST APIs

Newly Added Scene Templates (2026-02-18)

  • web-features/suite-scene-canvas-visualization
  • web-features/scene-composition-interaction-hardening
  • web-features/suite-scene-execution-playbook
  • web-features/cross-suite-dependency-route-drilldown
  • web-features/suite-scene-decision-cockpit
  • web-features/scene-runbook-export-and-playbook-linking
  • web-features/suite-scene-action-queue-orchestration
  • web-features/scene-action-pack-export-and-followup-linking
  • quality/scene-governance-closure

Newly Added Enterprise Templates (2026-02-16)

  • backend-features/master-data-deepening
  • backend-features/sales-lifecycle-enhancement
  • backend-features/production-planning-mrp
  • backend-features/procurement-inventory-deepening
  • backend-features/costing-settlement-enhancement
  • backend-features/project-wbs-management
  • backend-features/service-support-repair
  • backend-features/tool-fixture-management
  • backend-features/equipment-lifecycle-enhancement
  • backend-features/workflow-approval-engine
  • backend-features/reporting-audit-ops
  • backend-features/data-migration-domestic-validation
  • backend-features/wave-b-enterprise-hardening-program
  • backend-features/moqui-capability-itemized-parity-matrix

How to Choose

  • Starting a new business domain?domain-modeling/domain-analysis (start here — define entities, relationships, rules first)
  • Extending Moqui for your industry? domain-modeling/moqui-domain-extension (reuse Moqui entities + REST APIs)
  • Building a new API?web-features/rest-api (simple) or backend-features/pure-restful-backend (full stack)
  • Need GraphQL?web-features/graphql-api
  • Adding a database?backend-features/database-integration
  • Designing system architecture?architecture/architecture-design
  • Improving code quality?quality/phase2-quality-debt-closure

Recommended Template Chain (Full Project)

For a complete business application, use templates in this order:

1. domain-modeling/domain-analysis        → Define what to build (entities, rules, processes)
2. architecture/architecture-design       → Define how to build it (architecture, tech stack)
3. backend-features/pure-restful-backend  → Build the backend (REST API, services, data layer)
4. quality/phase2-quality-debt-closure    → Ensure quality (test coverage, debt closure)

📝 Template Format

Each template consists of three files with YAML frontmatter:

template-name/
├── requirements.md    # Feature requirements and acceptance criteria
├── design.md          # Technical design and architecture
└── tasks.md           # Implementation tasks breakdown

Example Frontmatter

---
name: REST API Feature
category: web-features
description: Template for creating RESTful API endpoints
difficulty: intermediate
tags:
  - api
  - rest
  - backend
applicable_scenarios:
  - Creating new API endpoints
  - Implementing CRUD operations
  - Building microservices
author: sce-team
created_at: 2025-01-30
updated_at: 2025-01-30
version: 1.0.0
---

🤝 Contributing

We welcome high-quality template contributions! Please see CONTRIBUTING.md for guidelines.

Quick Contribution Steps

  1. Fork this repository
  2. Create a new template in the appropriate category
  3. Follow the template structure guidelines
  4. Submit a pull request with the validation checklist

📊 Template Quality Standards

All templates must:

  • ✅ Include complete frameworks for requirements, design, and tasks
  • ✅ Contain clear comments and filling instructions
  • ✅ Include example content demonstrating best practices
  • ✅ Be validated against real projects
  • ✅ Pass all validation checks

📖 Documentation

📜 License

MIT License - see LICENSE for details.

🙏 Acknowledgments

Thanks to all contributors who have shared their templates with the community!


Version: 1.5.0
Last Updated: 2026-02-18
Templates: 168
Maintained by: sce-team

About

Official template library for kiro-spec-engine

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors