Refine Business Logic for Implementation

Rewrites vague business logic into deterministic, testable rules by separating policy from mechanism, normalizing terminology, and defining explicit state machines. Use when preparing BL for code implementation, making BL executable, or normalizing ambiguous requirements.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add meirm/reverse-engineering-skill --skill refine-business-logic-for-implementation
Manual install
git clone --depth 1 https://github.com/meirm/reverse-engineering-skill.git /tmp/reverse-engineering-skill
mkdir -p ~/.claude/skills
cp -r /tmp/reverse-engineering-skill/skills/refine-business-logic-for-implementation ~/.claude/skills/refine-business-logic-for-implementation

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Refining Business Logic for Implementation

**Project-agnostic.** Use `BDD/project_config.yaml` → `terminology` when normalizing terms (see **tailor-bdd-skills-for-project**).

## Purpose

Transform descriptive business logic into deterministic, testable, implementable rules. Not all BL is written in a form that can drive software—this skill makes it executable.

## Prerequisites

- A business logic document to refine
- Understanding of the target implementation domain
- Access to the `analyze-business-logic-gaps` skill (to identify issues first)

## Instructions

### Step 1: Analyze the Original BL

First, use gap analysis to identify issues:

```bash
# Use the gap analysis skill
# Identify vague statements, missing rules, inconsistencies
```

Document all areas that need refinement.

### Step 2: Classify BL Content

Separate the BL into these categories:

**A. Business Policy** (What, not how)
- Business rules and constraints
- Actor responsibilities
- Billing and credit rules
- Compliance requirements

**B. Workflow** (Sequences and orchestration)
- Step-by-step processes
- Decision points
- Parallel vs sequential operations

**C. Data Rules** (Validation and structure)
- Input validation rules
- Data format requirements
- Field constraints

**D. Billing Rules** (Financial operations)
- When charges occur
- Charge amounts
- Refund conditions
- Partial success semantics

**E. Exception Handling** (Error cases)
- Error conditions
- Recovery strategies
- Fallback behavior
Read the full skill on GitHub

Details

Skill name
refine-business-logic-for-implementation
Path
skills/refine-business-logic-for-implementation/SKILL.md
License
MIT
Repo updated
2 October 2026

FAQ

What does the Refine Business Logic for Implementation skill do?

Rewrites vague business logic into deterministic, testable rules by separating policy from mechanism, normalizing terminology, and defining explicit state machines. Use when preparing BL for code implementation, making BL executable, or normalizing ambiguous requirements.

How do I install the Refine Business Logic for Implementation skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add meirm/reverse-engineering-skill --skill refine-business-logic-for-implementation. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Refine Business Logic for Implementation popular?

It lives in meirm/reverse-engineering-skill, which has 47 GitHub stars and 7 forks.

Related skills

Analyze Business Logic Gaps

47

meirm/reverse-engineering-skill

Identifies missing, vague, underspecified, or contradictory business logic within BL documents. Finds incomplete edge cases, missing state transitions, ambiguous terminology, and weak billing rules. Use when reviewing business logic quality, hardening requirements, or preparing BL for implementation.

Marketing, Sales & Business

Bdd Orchestrator

47

meirm/reverse-engineering-skill

Orchestrates the full BDD workflow from code to trustworthy business logic — extraction, validation, gap analysis, refinement, acceptance criteria, and test generation. Use when the user requests comprehensive analysis like "understand [feature] from code", "analyze [domain] end-to-end", or "prepare [feature] for implementation or sprint planning", coordinating the other BDD skills step by step.

Testing & QA

Derive Acceptance Criteria From Business Logic

47

meirm/reverse-engineering-skill

Converts trusted business logic into product-owner-grade acceptance criteria and developer-ready tasks using Given/When/Then scenarios. Use when creating user stories, preparing for sprints, or turning BL into executable requirements.

Marketing, Sales & Business

Reverse Engineering Business Logic

47

meirm/reverse-engineering-skill

Reverse engineers business logic from source code by extracting operational business truth. Use when user asks to understand what the system actually does, analyze business rules, extract domain logic, infer workflows from code, explain state transitions, or identify decision logic. Works with API views (Django, FastAPI, etc.), domain models, background tasks, and multi-step workflows.

Marketing, Sales & Business

Customer Context

49

Dan-Cleary/fdestack

Load a customer's context at the start of every session. Run this before any other FDEstack skill. Reads all 7 context files, surfaces drift since last session, asks what's new, and commits updates. Proactively invoke this skill (do NOT answer customer-specific questions directly) when the user references a customer name in an FDE ops repo without context being loaded this session. Always the first skill in a customer session — every other FDEstack skill requires its session marker. Usage: /customer-context <customer-name> Voice triggers: "load <customer>", "start session with <customer>", "wh

Marketing, Sales & Business

Discovery

49

Dan-Cleary/fdestack

Process any inbound source of customer context — meeting transcript, prior FDE's handoff notes, AE/sales briefing, customer-side RFP response, prior Discovery Workshop output, or your own raw notes. Extracts new stack info, stakeholders, stated problem, real problem, open questions, and context conflicts. Updates customer context files and commits. Proactively invoke this skill (do NOT just summarize) when the user pastes call notes, meeting transcripts, AE briefings, RFP responses, handoff docs, or any inbound document about a customer. Triggers on phrases like "I just had a meeting", "here a

Marketing, Sales & Business

Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.