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

helpers-and-infra-keeper

Skill by discord-php

Guides changes to DiscordPHP's infrastructure utilities, including the cache wrappers, REST endpoint binding, BigInt math, multipart uploads and domain exceptions. It is for contributors working on the DiscordPHP library source.

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

Install helpers-and-infra-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/helpers-and-infra-keeper ~/.claude/skills/helpers-and-infra-keeper

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

Step-by-step: install helpers-and-infra-keeper in Claude Code

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

About

helpers-and-infra-keeper is a skill for working on DiscordPHP's shared infrastructure code. It covers the cache bridge (CacheWrapper, CacheConfig and LegacyCacheWrapper), the BigInt helper for snowflake IDs and permission bitfields, the Multipart builder for file uploads, Endpoint::bind() URL templates, the Collection base class and the typed domain exceptions.

The skill lists the files to read in order and sets rules. Examples include never building REST URLs by hand, going through CacheWrapper instead of cache stores, and using BigInt for permission arithmetic. It also points to companion files and to the composer openapi check against Discord's OpenAPI description. It is aimed at maintainers of the DiscordPHP library rather than bot authors.

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

What it can do

  • Cache changesGuides changes to CacheWrapper, CacheConfig and the LegacyCacheWrapper fallback.
  • REST endpoint routingExplains Endpoint constants and Endpoint::bind() URL templates for REST requests.
  • BigInt arithmeticDirects permission and snowflake math to the BigInt helper for 32-bit PHP.
  • File uploadsCovers the Multipart helper that builds multipart/form-data bodies for attachments.
  • Typed exceptionsLists the domain exceptions and says when to add or throw a new one.
  • OpenAPI coverage checkDescribes composer openapi, which compares the library with Discord's OpenAPI description.

What you need

  • A checkout of the DiscordPHP source
  • Composer for the composer openapi commands

Try asking

  • Add a TTL option to CacheConfig for a repository cache
  • Add a new REST endpoint using Endpoint::bind() correctly
  • Create a typed exception for a malformed permission overwrite

Good to know

  • Covers the DiscordPHP library source, not bot application code.
  • Endpoint constants live in the external discord-php/http package.
  • Cache coherence is enforced by convention, not by the framework.
  • Preview-only OpenAPI items may change or be removed at any time.

Security check

A

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

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

Alternatives to helpers-and-infra-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

helpers-and-infra-keeper: common questions

Where should a missing Discord API endpoint be added?

The skill says to add it to the external discord-php/http package, not inline in DiscordPHP source.

When should BigInt be used?

Use it for permission flag arithmetic or snowflake comparisons that could run on 32-bit PHP, instead of assuming PHP_INT_SIZE is 8.

What does the composer openapi check report?

It compares the library with the live preview of Discord's OpenAPI description, listing unsent operations, routes without Endpoint constants and changes since the baseline commit.

How do I install helpers-and-infra-keeper?

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

Is helpers-and-infra-keeper free?

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

Is helpers-and-infra-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 helpers-and-infra-keeper?

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

helpers-and-infra-keeper Install

Add to stack

Loading.