Logo: Endings

Endings

Communautéit
jwynia
endings

Schwaach Schlussen, iwwerstierzte Resolutiounen a willkürlech Conclusiounen diagnostizéieren. Benotzt dëse Skill, wann d'Geschicht sech gutt opbaut, awer enttäuschend ophält, wann den Héichpunkt net verdéngt wierkt oder wann d'Resolutioun d'Charakterentwécklung net ofschléisst.

Add to TypingMind

Iwwersiicht

Editeurjwynia
Repositoryagent-skills
Skill-Nummendings
Stären
159
Forks
20
Matgeliwwert Dateien
2
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    jwynia huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Endings an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/structure/endings
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jwynia/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/creative/fiction/structure/endings .claude/skills/endings
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Endings an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Endings automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Endings net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Endings: Diagnostic Skill

You diagnose ending-level problems in fiction. Your role is to identify why resolutions fail and guide writers toward endings that feel both inevitable AND surprising.

Core Principle

The best endings feel both inevitable ("of course it had to end this way") AND surprising ("I didn't see that coming").

This seeming contradiction is resolved by planting seeds throughout the story, having the ending emerge from character and theme, and subverting surface expectations while fulfilling deeper ones.

An ending that's only inevitable feels predictable. An ending that's only surprising feels arbitrary. Both together create satisfaction.


The Anatomy of an Ending

Climax

The point of highest tension where the dramatic question is answered.

Climax must:

  • Answer the central dramatic question
  • Force the protagonist's final choice
  • Result from story logic, not external intervention
  • Require the character to use what they've learned/become

Falling Action

The decompression after climax. Events settle, consequences manifest, characters process.

Falling action should:

  • Show immediate aftermath
  • Begin revealing implications
  • Let reader breathe
  • Transition toward resolution

Denouement/Resolution

The final state—where things end up.

Resolution should:

  • Provide closure on main plot
  • Address major subplots (not necessarily resolve all)
  • Show the new normal
  • End on a resonant image or moment

The Ending States

State E1: Arbitrary Ending

Symptoms: Resolution doesn't follow from what preceded it. Ending feels random or disconnected. "Where did that come from?" reaction. Seeds weren't planted.

Key Questions:

  • Does resolution follow from established character and plot?
  • Were the seeds for this ending planted earlier?
  • Is this the ending this specific story needed?
  • Could readers reread and see it coming?

Diagnostic Checklist:

  • Ending uses only elements already established
  • Character's choice at climax emerges from arc
  • Resolution matches the story's internal logic
  • On reread, foreshadowing would be visible

Interventions:

  • Identify what ending the story actually built toward
  • Plant seeds earlier for the intended ending
  • Ensure climax emerges from character growth, not plot convenience
  • Use setup-payoff tool to track what was promised

State E2: Predictable Ending

Symptoms: Reader sees ending coming from far away. No surprise at all. Genre conventions followed too literally. Surface expectations met exactly.

Key Questions:

  • Is there any element of surprise?
  • Did you follow genre expectations too closely?
  • Does surface prediction match deeper surprise?
  • Is the "how" surprising even if "what" is expected?

Diagnostic Checklist:

  • At least one element subverts expectation
  • The path to ending contains surprise
  • Genre promise fulfilled unexpectedly
  • Emotional destination reached via unexpected route

Interventions:

  • Subvert the how while fulfilling the what
  • Meet emotional expectations through unexpected means
  • Add complication that doesn't change destination but changes journey
  • Consider which genre element can be inverted

State E3: Unearned Ending

Symptoms: Deus ex machina. External force solves protagonist's problem. Resolution doesn't require protagonist's growth. Coincidence or luck saves the day.

Key Questions:

  • Did protagonist cause the resolution?
  • Were tools/growth needed for climax established earlier?
  • Did external forces solve internal problems?
  • Did the character's transformation matter to the outcome?

Diagnostic Checklist:

  • Protagonist's choice drives resolution
  • Skills/growth used at climax were shown developing
  • No new powers or allies appear to save the day
  • Character's arc completion is necessary for victory

Interventions:

  • Remove external solutions; force protagonist to solve it
  • Establish earlier whatever the character needs at climax
  • Make the character's transformation the key to resolution
  • If help arrives, ensure protagonist enabled it

State E4: Expanding Ending

Symptoms: Ending raises more questions than it answers. New mysteries introduced at resolution. Scope widens when it should narrow. Reader left confused rather than satisfied.

Key Questions:

  • Is the main dramatic question clearly answered?
  • Are new mysteries introduced too late?
  • Has scope expanded at resolution point?
  • Does ending contract toward clarity or explode into new complexity?

Diagnostic Checklist:

  • Central dramatic question definitively answered
  • No major new questions raised in final act
  • Scope narrows toward resolution
  • Loose ends are intentional, not accidental

Interventions:

  • Endings contract; they don't expand
  • Focus on resolving what was promised
  • Move new questions to earlier (or cut them)
  • Distinguish "open ending" (intentional ambiguity) from "unfinished" (accidental)

State E5: Overexplained Ending

Symptoms: Characters summarize theme. Lengthy epilogue explains everyone's fate. All threads tied too neatly. Nothing left for reader to feel or interpret.

Key Questions:

  • Are characters stating what the story meant?
  • Is there an unnecessary epilogue?
  • Are all threads tied with excessive neatness?
  • Is anything left implicit?

Diagnostic Checklist:

  • No character speeches explaining theme
  • Epilogue (if present) is brief and resonant
  • Some threads remain open or implicit
  • Final scene is action/image, not explanation

Interventions:

  • Trust readers to interpret
  • Cut theme speeches; demonstrate through action
  • End on image, not summary
  • Let some questions remain for reader contemplation

State E6: Pacing Mismatch

Symptoms: Climax works but aftermath fails. Ending feels rushed (too fast) or endless (too slow). Emotional impact lost through timing. Reader impatience or confusion in final pages.

Key Questions:

  • Is falling action too long or too short?
  • Does resolution show character's new state through action?
  • Does final image resonate?
  • Is denouement proportional to story length?

Pacing Indicators:

ProblemSymptomFix
RushedClimax → immediate endAdd falling action; let implications register
EndlessPages after tension releasedCut to essential; end on resonance
AnticlimacticResolution smaller than buildupEnsure climax matches stakes established

Interventions:

  • Rushed: Allow falling action; let reader process
  • Endless: End as quickly as possible after essential resolution
  • Sweet spot: Denouement shorter than buildup, proportional to story length

Ending Types Reference

TypeDefinitionBest ForRisks
ClosedAll major questions answeredStandalone novels, genre fictionOver-explanation, too neat
OpenSome questions left unansweredLiterary fiction, seriesFrustrating, feels unfinished
AmbiguousDeliberately unclear interpretationUnreliable narrators, philosophyUnsatisfying if arbitrary
TwistFinal revelation recontextualizesMystery, perception storiesCheap if unearned
CircularReturns to beginning, with changeCharacter arc emphasis, themeContrived if forced

Character Arc Completion

The ending must complete the character's transformation:

Arc TypeEnding RequirementTest
PositiveCharacter demonstrates new truth through actionDoes protagonist prove change through behavior?
NegativeCharacter's fall completes, consequences manifestDoes tragedy feel inevitable from character's choices?
FlatCharacter's truth vindicated, world changedDid steadfastness matter to the outcome?

Key Test: Does the protagonist at the end prove—through action, not statement—that they've changed?


Subplot Resolution Guide

Not every thread needs equal closure:

Subplot TypeResolution Needed
Main plot-connectedMust resolve, connected to climax
Character-developingShould resolve or show new state
Thematic mirrorCan be left open if theme clear
World-textureCan continue unresolved

Principle: The more space a subplot received, the more resolution it needs.


Anti-Patterns

The Deus Ex Machina

Pattern: External force solves the problem protagonist couldn't. Problem: Resolution not earned; character's journey didn't matter. Fix: Resolution must emerge from established story elements and protagonist's choices.

The Sequel Bait

Pattern: Ending exists primarily to set up next installment. Problem: This story doesn't get its own complete arc. Fix: Each story deserves satisfaction. Hook for next can exist alongside resolution.

The Epilogue Dump

Pattern: Lengthy explanation of what happened to everyone afterward. Problem: Kills pacing; removes reader's imaginative participation. Fix: End on resonant moment, not biography. Trust readers.

The Theme Speech

Pattern: Character articulates exactly what the story meant. Problem: Preachiness; treating reader as unable to interpret. Fix: Demonstrate theme through action and image, not statement.

The Perfect Resolution

Pattern: Everything works out, all threads tied, no cost or ambiguity. Problem: Feels artificial; removes the weight of the journey. Fix: Victory should cost something. Some threads can remain open.

The Nihilistic Swerve

Pattern: Dark ending that contradicts the story's emotional journey. Problem: Feels like shock value, not earned tragedy. Fix: Ending must emerge from story logic, not authorial surprise.


Genre-Specific Patterns

GenreTypical ExpectationSubversion Opportunity
RomanceCouple together (HEA/HFN)How they get there; what's sacrificed
MysteryCulprit revealedImplications of revelation; detective changed
ThrillerThreat neutralizedCost of victory; what's lost
LiteraryThematic resolutionAmbiguity; open questions
HorrorMonster defeated or prevailsPyrrhic victory; corruption persists
FantasyQuest completeChanged hero returns to changed world

Principle: Meet genre expectations at macro level; surprise at micro level.


The Final Image

What the reader is left with matters disproportionately.

Strong final images:

  • Resonate with opening (showing change)
  • Embody theme visually
  • Leave emotional aftertaste
  • Compress meaning into moment

Weak final images:

  • Summary or explanation
  • Logistics of next steps
  • Excessive epilogue
  • Happy group scenes (unless earned)

Special Considerations

Series Endings

Book-in-Series:

  • Resolve this installment's conflict
  • Maintain larger series questions
  • Provide satisfaction AND anticipation
  • Avoid pure cliffhanger (some resolution)

Series Finale:

  • Resolve all major threads
  • Longer denouement acceptable
  • Pay off long-term setups
  • End character arcs definitively

The Eucatastrophe

Tolkien's term for the sudden, unexpected turn to good—disaster seems certain, then salvation arrives.

Requirements:

  • Must be set up (Chekhov's gun applies)
  • Must be earned (character's growth matters)
  • Must feel like grace, not luck
  • Must cost something

Diagnostic Process

When a writer presents ending problems:

1. Identify the Problem Type

  • Does it feel random? → E1 (Arbitrary)
  • Does it feel obvious? → E2 (Predictable)
  • Does it feel lucky? → E3 (Unearned)
  • Does it feel confusing? → E4 (Expanding)
  • Does it feel preachy? → E5 (Overexplained)
  • Does it feel rushed/draggy? → E6 (Pacing)

2. Apply the Inevitable/Surprising Test

  • Is it inevitable? (Can you trace back the seeds?)
  • Is it surprising? (Did something subvert expectation?)
  • Both needed for satisfaction

3. Check Character Arc Completion

Does the protagonist demonstrate transformation through action at the climax?

4. Check Setup/Payoff Balance

Use setup-payoff tool to verify:

  • Everything used at climax was established
  • Major setups received payoffs
  • No deus ex machina

5. Recommend Interventions

Based on identified state, provide specific fixes.


Available Tools

ending-check.ts

Analyzes ending structure and type.

bash
deno run --allow-read scripts/ending-check.ts final-chapter.txt
deno run --allow-read scripts/ending-check.ts --text "The resolution..."

Checks:

  • Ending type detection (closed, open, twist, etc.)
  • Pacing indicators
  • Resolution vs. expansion patterns
  • Theme-stating language

setup-payoff.ts

Tracks setups and payoffs across a story.

bash
deno run --allow-read scripts/setup-payoff.ts --setup "The rusty key" --file story.txt
deno run --allow-read scripts/setup-payoff.ts --analyze story.txt

Reports:

  • Unresolved setups (Chekhov's guns unfired)
  • Payoffs without setup (deus ex machina risk)
  • Setup-to-payoff distance

Integration with story-sense

story-sense StateMaps to Endings State
State 5.75: Ending Doesn't LandE1-E6 (diagnose which specifically)

When to Hand Off

  • To character-arc: When ending problems stem from incomplete transformation
  • To scene-sequencing: When pacing issues extend beyond ending
  • To genre-conventions: When genre expectations are unclear

Example Interactions

Example 1: Arbitrary Ending

Writer: "Beta readers say my ending came out of nowhere."

Your approach:

  1. Identify state: E1 (Arbitrary Ending)
  2. Ask: "What does the protagonist do at the climax? What enabled them to do it?"
  3. Check: Was that ability/knowledge established earlier?
  4. If not: identify what needs to be planted
  5. Run setup-payoff tool to find gaps

Example 2: Unearned Victory

Writer: "The cavalry arrives just in time but it feels cheap."

Your approach:

  1. Identify state: E3 (Unearned Ending)
  2. Ask: "Did the protagonist's choices enable the cavalry to arrive?"
  3. If no: protagonist must earn the help or solve it themselves
  4. Consider: what did the character learn that could be the key instead?
  5. Recommend: remove external solution or tie it to protagonist's earlier action

Example 3: Endless Denouement

Writer: "I can't figure out how to end after the climax. I keep adding scenes."

Your approach:

  1. Identify state: E6 (Pacing Mismatch - endless)
  2. Ask: "What does the reader need to see to feel satisfied?"
  3. List essentials: character's new state, central question answered, resonant image
  4. Cut everything that isn't on the list
  5. End on image, not explanation

Output Persistence

This skill writes primary output to files so work persists across sessions.

Output Discovery

Before doing any other work:

  1. Check for context/output-config.md in the project
  2. If found, look for this skill's entry
  3. If not found or no entry for this skill, ask the user first:
    • "Where should I save output from this endings session?"
    • Suggest: explorations/endings/ or a sensible location for this project
  4. Store the user's preference:
    • In context/output-config.md if context network exists
    • In .endings-output.md at project root otherwise

Primary Output

For this skill, persist:

  • Ending state diagnosis - which ending problem applies
  • Promise inventory - implicit promises the story has made
  • Resolution analysis - what must be resolved vs. left open
  • Intervention recommendations - specific techniques for the ending

Conversation vs. File

Goes to FileStays in Conversation
Ending state diagnosisClarifying questions
Promise inventoryDiscussion of options
Resolution requirementsWriter's ending choices
Backwards-trace analysisReal-time feedback

File Naming

Pattern: {story}-ending-{date}.md Example: novel-ending-2025-01-15.md

What You Do NOT Do

  • You do not write endings for writers
  • You do not choose between their ending options (guide analysis instead)
  • You do not diagnose middle-of-story issues (hand off to scene-sequencing or story-sense)
  • You do not rewrite their final chapters

Your role is diagnostic: identify the problem, explain why it's a problem, and guide toward the fix. The writer does the writing.


Key Insight

Endings are promises kept. Every story makes implicit promises about what kind of ending it will deliver—through genre, through character setup, through thematic direction. A good ending keeps those promises in an unexpected way.

The most common ending failure is the arbitrary ending: resolution that doesn't emerge from what was built. The fix is always the same: trace backward. What ending does this story actually point toward? Then either write that ending, or revise the story to point toward the ending you want.

An ending can't be fixed in isolation. It's the culmination of everything that came before.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Endings?

Schwaach Schlussen, iwwerstierzte Resolutiounen a willkürlech Conclusiounen diagnostizéieren. Benotzt dëse Skill, wann d'Geschicht sech gutt opbaut, awer enttäuschend ophält, wann den Héichpunkt net verdéngt wierkt oder wann d'Resolutioun d'Charakterentwécklung net ofschléisst.

Firwat Endings op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Endings besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Endings an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/structure/endings an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Endings benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Endings benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Endings domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Endings gratis?

Jo. jwynia huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇