Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

interaction-flow-keeper

Skill by discord-php

Maintains the interaction flow in the discord-php codebase, covering typing, resolved data caching, command routing, autocomplete, modal responses and builders. It is for developers and AI assistants changing Interactions or slash command handling.

  • Score 76
  • 1.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install interaction-flow-keeper

Built from the published package, never by AI.

git clone --depth 1 https://github.com/discord-php/DiscordPHP /tmp/DiscordPHP && mkdir -p ~/.claude/skills && cp -r /tmp/DiscordPHP/.agents/skills/interaction-flow-keeper ~/.claude/skills/interaction-flow-keeper

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install interaction-flow-keeper in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

interaction-flow-keeper is an agent skill for maintaining interaction handling in the discord-php codebase. It describes how gateway interaction payloads enter through InteractionCreate and get typed into subclasses using Interaction::TYPES. It also covers caching resolved users, members and entitlements, and routing commands through RegisteredCommand, with autocomplete using suggest() and execution using execute(). Outbound work uses CommandBuilder, ModalBuilder and component builders.

The skill lists the files to read in order, the rules for typing, caching and performance, and a checklist to run before committing. It keeps application command and modal flows separate from prefix-command handling. It is written for developers and AI assistants who change Interactions or slash command code in that repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Interaction typingExplains how Interaction::TYPES selects the concrete interaction subtype from the payload.
  • Inbound handlingDescribes the InteractionCreate pipeline for typing, caching and routing gateway payloads.
  • Resolved data cachingCovers warming user, member and entitlement caches from interaction payloads.
  • Command routingExplains how RegisteredCommand routes slash and autocomplete events to execute() and suggest().
  • Outbound buildersPoints to CommandBuilder, ModalBuilder and component builders for protocol-correct responses.
  • Pre-commit checklistLists checks for typing, caching, routing, modal behavior and docs or tests.

Try asking

  • Add a new interaction type to the discord-php interaction handling
  • Check whether my slash command routing change keeps autocomplete working
  • Review my modal response code against the builder rules in this skill

Good to know

  • Written as guidance for work on the discord-php interaction code, not as a standalone tool.
  • The InteractionCreate handler is latency-sensitive, so cache changes must not slow it down.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/interaction-flow-keeper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to interaction-flow-keeper

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

interaction-flow-keeper: common questions

What does interaction-flow-keeper do?

It gives guidance for maintaining interaction typing, resolved data caching, command routing, autocomplete, modal responses and builders in the discord-php repository.

Does it cover prefix commands too?

No. The skill says application commands, autocomplete and modals route through RegisteredCommand, and prefix commands route through DiscordCommandClient and CommandClient\Command, and the two layers should not be merged.

Which files does the skill point to?

It names Interaction.php, InteractionCreate.php, RegisteredCommand.php, the Request parts, CommandBuilder.php, ModalBuilder.php and the command repositories.

How do I install interaction-flow-keeper?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is interaction-flow-keeper free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is interaction-flow-keeper safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to interaction-flow-keeper?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

interaction-flow-keeper Install

Add to stack

Loading.