Claude Code Plugins

Community-maintained marketplace

Feedback

business-rule-documentation

@KubrickCode/general
1
0

|

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name business-rule-documentation
description Standard template for documenting business logic. Systematically document domain overview, core concepts, business rules, process flows, and glossary. TRIGGER: Domain documentation, business logic documentation, business rules documentation, domain concept organization, process documentation

Business Rule Documentation Guide

Basic Principles

  • Concise and clear
  • With actionable examples
  • Focus on the "why"

Business Logic Documentation

File: docs/domain/{domain-name}.md or the module's README.md

[Domain Name]

Overview

The business area covered by this domain (1-2 sentences)

Core Concepts

[Concept Name]

Definition: Clear definition

Example:

// Actual usage example code

Code Location: src/domain/concept.ts

Business Rules

[Rule Name]

  • Content: Rule description
  • Reason: Why this rule is necessary
  • Exceptions (if any): Exception scenarios
  • Code Location: src/domain/rules.ts:45-67

Process Flow (Complex cases only)

[Process Name]

  1. Step 1 → src/service/step1.ts
  2. Step 2 → src/service/step2.ts
  3. Step 3 → src/service/step3.ts

Cautions (if any)

  • Common mistake areas
  • Things to watch for when making changes

Glossary (if needed)

  • Term 1: Definition
  • Term 2: Definition

Document Management

Document Location

project-root/
├── docs/
│   ├── work/          # Work guidelines (delete after work completion)
│   └── domain/        # Business logic documentation (maintained continuously)
├── WORK_SUMMARY.md    # Work summary report (delete immediately after review)
└── README.md

Lifecycle

  • Work Guidelines: Delete after work completion
  • Work Summary Report: Delete immediately after review
  • Business Logic Documentation: Maintain alongside code