返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

abd-story-synthesizer

通过使用17步证据管道从上下文中构建丰富的面向对象领域模型。使用脚本提取结构化证据,然后利用集中式AI处理来发现机制、分配决策所有权,并生成验证的对象模型。同时生成交互树(故事地图)。在将需求综合到领域模型中、从源文档派生对象或使用领域概念构建故事地图时使用。

person作者: jakexiaohubgithub

Story Synthesizer

Build rich OO domain models from context using a 17-step evidence pipeline. The core principle: Do not go from text to classes. Go from context → mechanisms → behavior owners → object model.

The skill produces an Interaction Tree (story map) and Domain Model — meaningful exchanges between actors, plus the domain concepts and state that support them. The domain model is built through structured evidence extraction (CODE scripts) followed by focused AI modeling passes — never from raw text directly.

Pipeline Overview

CODE: Normalize → Extract terms/actions/decisions/variations/states → Build evidence graph
AI:   Concept scan → Behavior packets → Mechanisms → Decision ownership →
      Object candidates → Relationships → Inheritance test →
      Scenario walkthrough → Anemia critique → Final OO model

Config Location

Two config files — each owns different concerns.

| Location | Contains | Owns | |----------|----------|------| | abd-story-synthesizer/conf/abd-config.json | Engine config: skills, skills_config, skill_space_path | Which skill space to target | | <skill-space>/conf/abd-config.json | Skill space config: context_paths | Where context lives in this workspace |

Rule Categories

| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Context & Scope | HIGH | context- | | 2 | Domain OOA | HIGH | domain-ooa- | | 3 | Interaction Inheritance | HIGH | interaction-inheritance- | | 4 | Interaction Hierarchy | HIGH | interaction- | | 5 | Shape & Naming | HIGH | verb-noun-, scaffold- |

Operations

| Operation | What it does | Type | |-----------|-------------|------| | concept_scan | AI concept scan — discover primitives, mechanisms, authority boundaries | AI | | extract_evidence | Run scripts 01–07 to extract and consolidate evidence | CODE | | model_discovery | AI Pass A (steps 9–14): behavior packets through inheritance test | AI | | model_validation | AI Pass B (steps 15–17): scenario walkthrough, critique, final model | AI | | create_strategy | Create session with strategy and slices | AI | | run_slice | Synthesize interaction tree for a slice | AI | | validate | Run scanners on output | CODE | | correct_run / correct_all | Record and promote corrections | AI |

Build

cd skills/abd-story-synthesizer
python scripts/build.py                              # rebuild AGENTS.md
python scripts/build.py get_instructions concept_scan # get AI concept scan instructions
python scripts/build.py extract_evidence              # run evidence extraction pipeline
python scripts/build.py get_instructions model_discovery  # get Pass A instructions
python scripts/build.py get_instructions model_validation # get Pass B instructions
python scripts/build.py validate                      # run scanners