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

repository-cache-keeper

Skill by discord-php

Guides changes to Repository classes in the discord-php library, covering REST endpoints, route variables, cache coherence and typed collections. Built for developers changing repository CRUD, cache behavior or endpoint bindings.

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

Install repository-cache-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/repository-cache-keeper ~/.claude/skills/repository-cache-keeper

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

Step-by-step: install repository-cache-keeper in Claude Code

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

About

repository-cache-keeper is an agent skill for maintaining Repository classes in the discord-php codebase, under src/Discord/Repository. It describes repositories as typed collections that are also route-aware REST wrappers and cache coordinators. The skill explains properties such as $class, $endpoints, $discrim, $vars and $cache, and methods such as create, save, delete, fetch, fresh and freshen.

It also sets out how parts and repositories divide responsibility, when to add domain-specific repository methods, and which gateway event handlers to check when repository keying or cache semantics change. A checklist and a list of warning signs help reviewers catch stale caches, raw payloads returned where typed parts should be, and route context mismatches. It is written for developers working on the discord-php library.

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

What it can do

  • Repository property guideExplains the purpose of $class, $endpoints, $discrim, $vars and $cache.
  • Persistence method semanticsDescribes create, save, delete, fetch, fresh and freshen behavior.
  • Cache coherence rulesKeeps in-memory items and the cache wrapper aligned after REST mutations.
  • Endpoint routing guidanceBinds route variables through Endpoint and parent part getRepositoryAttributes().
  • Part versus repository ownershipShows where permission checks and semantic operation logic should live.
  • New repository playbookLists steps for adding a new repository to the library.
  • Gateway event cross-checkPoints to event handler families to inspect when repository behavior changes.
  • Pre-commit checklistProvides a checklist and a list of warning signs for repository changes.

Try asking

  • Add a fetch method to ThreadRepository and keep its cache in sync.
  • Check whether my GuildRepository change keeps the cache aligned after REST updates.
  • Review my Guild/ChannelRepository endpoint bindings for route variable problems.

Good to know

  • Guidance for work under src/Discord/Repository, not code that runs by itself.
  • Not every repository supports every operation. A missing endpoint is intentional.
  • The source does not state required runtimes or setup steps.

Security check

A

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

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

Alternatives to repository-cache-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

repository-cache-keeper: common questions

What is a repository in discord-php?

According to the skill, a repository is a typed collection that is also a route-aware REST wrapper and cache coordinator for a part family.

When should I use this skill?

The source says to load it when a change affects how parts are collected, fetched, persisted, cached, or routed to endpoints.

Should business logic go in a repository?

The skill says permission checks and semantic meaning belong on the part. The repository handles endpoint selection, request dispatch and cache persistence.

How do I install repository-cache-keeper?

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

Is repository-cache-keeper free?

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

Is repository-cache-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 repository-cache-keeper?

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

repository-cache-keeper Install

Add to stack

Loading.