Logo : Endings

Endings

Communauté
jwynia
endings

Diagnostiquez les fins faibles, les dénouements précipités et les conclusions arbitraires. À utiliser lorsque l’intrigue se construit bien, mais se termine de façon décevante, que le climax semble immérité ou que le dénouement ne mène pas à son terme les arcs des personnages.

Add to TypingMind

Présentation

Éditeurjwynia
Dépôtagent-skills
Nom de la compétenceendings
Étoiles
159
Forks
20
Fichiers inclus
2
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 2

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par jwynia sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Endings dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/structure/endings
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet 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
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Endings dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Endings dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Endings n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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.

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Endings ?

Diagnostiquez les fins faibles, les dénouements précipités et les conclusions arbitraires. À utiliser lorsque l’intrigue se construit bien, mais se termine de façon décevante, que le climax semble immérité ou que le dénouement ne mène pas à son terme les arcs des personnages.

Pourquoi utiliser Endings sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Endings se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Endings dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/jwynia/agent-skills/tree/main/skills/creative/fiction/structure/endings. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Endings ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Endings ?

Autant que vous le souhaitez. Vous pouvez utiliser Endings avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Endings est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par jwynia sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇