🔀
Writing

Branching Logic

by revfactory

Branching Logic is a Writing skill for Claude Code, published by revfactory in harness-100.

1.2K stars424 forkson revfactory/harness-100Added 2026/07/20+1% in starsRepository updated 2026/03/22
Install in seconds
Install Branching Logic
Copy Branching Logic into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/revfactory/harness-100/tree/main/en/05-game-narrative/.claude/skills/branching-logic ~/.claude/skills/branching-logic

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/revfactory/harness-100.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
en/05-game-narrative/.claude/skills/branching-logic/skill.md in revfactory/harness-100
Installs to
~/.claude/skills/branching-logic
Collection
One of 51 skills cataloged from this repository
Category
Writing1361 skills

What Branching Logic does

Provides branching structure patterns, flag system design, ending architecture, and state management methodology for interactive narratives. Ideal for designing game story branches, multiple endings, and choice-based systems.

Branching Logic is cataloged under Writing on DirSkills.

Documentation

README

Branching Logic — Branching Logic Design Methodology

Specialized knowledge used by the branch-architect agent when designing branching structures, endings, and flag systems.

Why Branching Logic Matters

Branching is the key differentiator that separates game narrative from novels and film. However, the more branches there are, the more production costs increase exponentially. The art lies in making players feel significant variation with fewer branches.

6 Branching Structure Patterns

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Branching Logic

  • What else does revfactory publish alongside Branching Logic?

    Branching Logic is one of 51 skills that DirSkills catalogs from revfactory/harness-100, the repository it ships in. Its siblings there include Ad Copywriting Formulas, Advertising Campaign and Argumentation Framework. Each one is a separate skill with its own page in this directory, installs the same way Branching Logic does, and is maintained by revfactory in that same repository. The rest of the collection is listed on the revfactory/harness-100 page.

  • How does Branching Logic compare to other Writing skills?

    Branching Logic ranks #373 by stars among the 1361 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Branching Logic against them. Open each page to compare what they document and how they install.

More from revfactory/harness-100

Branching Logic is one of 51 skills cataloged on DirSkills from revfactory/harness-100.

See all 51 skills
📝
2026/08/12

Ad Copywriting Formulas

Ad Copywriting Formulas provides advertising copy frameworks, psychological triggers, and channel character limits for writing ads. Use it when choosing a structure like AIDA, PAS, BAB, or FAB and adapting copy to a platform.
Writing
1.2K427
📣
2026/08/12

Advertising Campaign

Advertising Campaign coordinates an agent team to produce target analysis, ad copy, creative concepts, media plans, and review reports. Use it for full campaign planning or smaller copy, creative, media, or review workflows.
AI Engineering
1.2K427
⚖️
2026/07/14

Argumentation Framework

Provides structured frameworks for constructing arguments and rebuttals using the Toulmin model, evidence classifications, and rebuttal strategies for debate agents.
Writing
1.2K413
📝
2026/08/12

Assessment Engineering

Assessment Engineering helps design quiz items, rubrics, and feedback for formative and summative assessments. Use it when creating multiple-choice questions, code writing tasks, scenario items, or grading criteria.
AI Engineering
1.2K427
🎯
2026/07/20

Audience Segmentation

A framework for analyzing subscriber behavior, segmenting audiences, and personalizing newsletter content to improve engagement and delivery metrics. Based on the BEAR methodology (Behavior, Engagement, Attribute, Recency-Frequency).
Writing
1.2K424
🎙️
2026/07/20

Audio Storytelling

Audio storytelling skill used by the podcast scriptwriter and show note editor. Provides narrative structure, pacing, and sound design methodologies that maximize listener immersion in an audio-only medium.
Writing
1.2K424