Laravel Specialist
Jeffallan/claude-skills
Builds Laravel 10+ applications with Eloquent models, Sanctum authentication, Horizon queues, API resources and Livewire components, tested with Pest or PHPUnit.
Maintain Repository classes — REST endpoints, route vars, cache coherence, typed collections, and persistence boundaries.
$ npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install discord-php/DiscordPHP repository-cache-keeper --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/repository-cache-keeper .claude/skills/repository-cache-keeper && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "repository-cache-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeper into .claude/skills/repository-cache-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repository-cache-keeper", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeperType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install discord-php/DiscordPHP repository-cache-keeper --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/repository-cache-keeper .agents/skills/repository-cache-keeper && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "repository-cache-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeper into .agents/skills/repository-cache-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repository-cache-keeper", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install discord-php/DiscordPHP repository-cache-keeper --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/repository-cache-keeper .cursor/skills/repository-cache-keeper && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "repository-cache-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeper into .cursor/skills/repository-cache-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repository-cache-keeper", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/discord-php/DiscordPHP.git --path .agents/skills/repository-cache-keeper--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install discord-php/DiscordPHP repository-cache-keeper --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/repository-cache-keeper .gemini/skills/repository-cache-keeper && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "repository-cache-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeper into .gemini/skills/repository-cache-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repository-cache-keeper", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install discord-php/DiscordPHP repository-cache-keeperInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/repository-cache-keeper .github/skills/repository-cache-keeper && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "repository-cache-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeper into .github/skills/repository-cache-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repository-cache-keeper", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install discord-php/DiscordPHP repository-cache-keeper --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/discord-php/DiscordPHP.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/repository-cache-keeper .opencode/skills/repository-cache-keeper && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "repository-cache-keeper" agent skill from https://github.com/discord-php/DiscordPHP/tree/master/.agents/skills/repository-cache-keeper into .opencode/skills/repository-cache-keeper/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repository-cache-keeper", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
repository-cache-keeperMaintain Repository classes — REST endpoints, route vars, cache coherence, typed collections, and persistence boundaries.
Repository Cache Keeper is an agent skill from discord-php/DiscordPHP. Maintain Repository classes — REST endpoints, route vars, cache coherence, typed collections, and persistence boundaries. Use when changing repository CRUD, cache behavior, or endpoint bindings.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering REST APIs. It works with Discord and PHP. The repository describes itself as: An API to interact with the popular messaging app Discord. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 580c66a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Repository Cache Keeper loads about 2.2k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,061 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from discord-php/DiscordPHP at commit 580c66a, republished under its MIT licence (© discord-php). 1,061 words, ~2,228 tokens.
.claude/skills/repository-cache-keeper/SKILL.md (or your agent's skills folder).Use this skill when work touches src/Discord/Repository/**/*.
This is cache-and-REST boundary skill. Load it when a change affects how parts are collected, fetched, persisted, cached, or routed to endpoints.
Keep repositories as:
Not as service dumping ground.
src/Discord/Repository/AbstractRepository.phpsrc/Discord/Repository/AbstractRepositoryTrait.phpsrc/Discord/Parts/PartTrait.php sections for getRepositoryAttributes(), getCreatableAttributes(), getUpdatableAttributes()src/Discord/Helpers/CacheWrapper.php and cache config code if cache behavior matterssrc/Discord/Repository/GuildRepository.phpsrc/Discord/Repository/Guild/ChannelRepository.phpsrc/Discord/Repository/Channel/MessageRepository.phpsrc/Discord/Repository/Interaction/GlobalCommandRepository.phpsrc/Discord/Repository/Guild/GuildCommandRepository.phpEvery repository centers on same shape:
AbstractRepository$class to the concrete part family$endpoints$discrim$vars route context from parent part or callerIf a method no longer feels like typed collection + route-aware persistence, it probably belongs elsewhere.
$classConcrete part family allowed in this repository. If wrong, hydration, type checks, and cache writes all become unsafe.
$endpointsRoute templates keyed by operation name. Typical keys:
allgetcreateupdatedeleteNot every repository supports every operation. Missing endpoint is an intentional capability statement.
$varsRoute-binding context. This is how nested repos know where they live:
guild_idchannel_idapplication_id, message_id, or other parent route piecesWhen repo behavior looks wrong, inspect parent part getRepositoryAttributes() first.
$discrimCollection key field, usually id. Only change when payload family genuinely keys on a different field.
$cachePer-repository cache wrapper. It is not optional frosting. Repo methods should keep it coherent with in-memory items.
create(array|object $attributes = [], bool $created = false)Builds local typed part using repository context plus attributes. No REST call. No remote persistence. Use it for drafts or hydration helpers.
save(Part $part, ?string $reason = null)Generic persistence path:
$part->created is false$part->created is truePart-level save() may wrap or redirect this when semantics demand it.
delete($part, ?string $reason = null)Remote delete plus cache removal. Accepts part or identifier. Keep typed return contract.
fetch(string $id, bool $fresh = false)Resolve from memory, then cache, then REST unless forced fresh. This is one of main async entry points. Keep it Promise-based.
fresh(Part $part, array $queryparams = [])Refresh a known created part from REST and update cache.
freshen(array $queryparams = [])Bulk refresh repository contents from REST. This is repo-wide sync tool, not a one-item fetch.
Repositories are hybrid objects:
get(), find(), first(), last()cacheGet(), cachePull(), fetch(), freshen()That dual nature is intentional. Do not flatten repository into only async map or only plain collection.
items can hold real parts, WeakReference, or null placeholdersEndpoint and bound varsRepository methods should bind route vars through Endpoint/Endpoint::bind(), not manual string interpolation spread across code.
If child repository starts losing route info, fix parent part getRepositoryAttributes() or repo constructor normalization, not random callers.
If a repo needs to clean or enrich vars for route correctness, constructor override is fine. Example patterns already exist:
MessageRepository unsets thread_id for thread message routingGuildCommandRepository injects bot application idAdd repo-specific methods when operation is broader than generic CRUD and naturally belongs to collection/route boundary.
Good examples:
GuildRepositoryGuildRepositoryChannelRepositoryBad examples:
$part->save() or $part->someAction()If code needs to know "is this current member or generic member", "is this webhook message or normal message", or "does bot need manage_messages here", that usually belongs on part side first.
$class$endpoints$discrimgetRepositoryAttributes()@method helpers if family uses themSome repos are intentionally small:
GlobalCommandRepositoryMessageRepositoryThat is okay. Not every repo needs custom methods.
If nested route shape is tricky, normalize vars in constructor instead of forcing every caller to know internals.
Methods like fetch() and get() preserve performance by preferring in-memory/cache before REST. Keep that bias unless correctness requires bypass.
Repositories are often updated from gateway events, not only from their own REST methods. When changing repository keying or cache semantics, inspect matching event handlers. If repository expectations change but event cache writes do not, the repo will look "randomly stale".
Common families to cross-check:
Stop if you see:
save()items updated but cache wrapper ignored, or reverse$class, $endpoints, $discrim, $vars still describe repo correctlygetRepositoryAttributes() still supplies needed route varsRepository code in this repo should feel boring in right way: typed, route-aware, cache-coherent, and predictable. If a repository starts making domain decisions or returning untyped transport data, pull it back to its real job.
© discord-php, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/repository-cache-keeper of discord-php/DiscordPHP.
Open the folder on GitHubat commit 580c66a
Repository Cache Keeper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Repository Cache Keeper this skilldiscord-php/DiscordPHP | 1.1k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Laravel SpecialistJeffallan/claude-skills | 12k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Latchkeyimbue-ai/latchkey | 130 | — | ~1.3k | Automated safety check: Pass | MIT | |
| B24phpsdk Maintainerbitrix24/b24phpsdk | 102 | — | ~10k | Automated safety check: Notes | MIT | |
| DiscordOpenHands/extensions | 158 | — | ~1.1k | Automated safety check: Pass | MIT | |
| WooCommerce Store API Routeswoocommerce/woocommerce | 11k | — | ~932 | Automated safety check: Pass | Custom licence |
Jeffallan/claude-skills
Builds Laravel 10+ applications with Eloquent models, Sanctum authentication, Horizon queues, API resources and Livewire components, tested with Pest or PHPUnit.
imbue-ai/latchkey
Interact with third-party or self-hosted services (Slack, Google Workspace, Dropbox, GitHub, Linear, Coolify...) using their HTTP APIs on the user's behalf.
bitrix24/b24phpsdk
A skill your agent uses whenever working with GitHub issues in the bitrix24/b24phpsdk repository: creating new issues, reading existing ones, planning implementation from an issue, referencing an…
OpenHands/extensions
Build and automate Discord integrations (bots, webhooks, slash commands, and REST API workflows).
woocommerce/woocommerce
Guidelines for adding or changing routes in the WooCommerce Store API under /wc/store/v1, covering authentication, REST design, schemas and variations.
z80dev/lemon
Interact with Discord via a bot: read channels, send messages, list guilds/channels, upload files, manage threads.
discord-php/DiscordPHP
Maintain test and documentation alignment — PHPUnit tests, async testing patterns, PHPDoc contracts, guide pages, and documentation workflow.
discord-php/DiscordPHP
Audit checklist for DiscordPHP bots and API libraries — stop the bot token leaking to third-party APIs or logs, keep secrets out of customids and exception messages, use constant-time comparison and…
discord-php/DiscordPHP
Scaffold and maintain a DiscordPHP-based bot or an API-library-on-DiscordPHP (the DiscordPHP-MTG / DiscordPHP-NHA / DiscordPHP-Sabacc pattern) — client subclass, third-party HTTP layer, Parts…
discord-php/DiscordPHP
Build DiscordPHP slash commands and message components — global command trees with subcommands, user- AND guild-installable commands usable in DMs / group DMs / guild channels, Components V2…
discord-php/DiscordPHP
Work with DiscordPHP's infrastructure utilities — CacheWrapper, CacheConfig, BigInt, Multipart, Endpoint::bind URL templates, Collection base class, and domain Exceptions.
discord-php/DiscordPHP
Maintain Part domain models — fillable attributes, mutators, typed nested data, save/fetch behavior, permission checks, PHPDoc, and repository bindings.
Categories
Maintain Repository classes — REST endpoints, route vars, cache coherence, typed collections, and persistence boundaries. Repository Cache Keeper is an agent skill from discord-php/DiscordPHP. Maintain Repository classes — REST endpoints, route vars, cache coherence, typed collections, and persistence boundaries.
Repository Cache Keeper fits situations like: changing repository CRUD; endpoint bindings.
Run `npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a claude-code`. Or copy the skill folder (.agents/skills/repository-cache-keeper in discord-php/DiscordPHP) into .claude/skills/repository-cache-keeper in your project. Claude Code loads it when a task matches its description.
Run `npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a codex`. Or copy the skill folder (.agents/skills/repository-cache-keeper in discord-php/DiscordPHP) into .agents/skills/repository-cache-keeper in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add discord-php/DiscordPHP --skill repository-cache-keeper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repository-cache-keeper, .gemini/skills/repository-cache-keeper, .github/skills/repository-cache-keeper and .opencode/skills/repository-cache-keeper in your project.
SKILL.md names no scripts, command-line tools or credentials: Repository Cache Keeper is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Repository Cache Keeper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Repository Cache Keeper: Laravel Specialist (Jeffallan/claude-skills, 12k stars), Latchkey (imbue-ai/latchkey, 130 stars), B24phpsdk Maintainer (bitrix24/b24phpsdk, 102 stars) and Discord (OpenHands/extensions, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
discord-php (a GitHub organization) maintains it in discord-php/DiscordPHP, which has 1,080 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 6, 2026.
Source: discord-php/DiscordPHP on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.