Agent skill

Rector Discover

by palantirnet in palantirnet/drupal-rector

Lists unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase.

No licenceAuto-check: notes

Install Rector Discover

skills CLI
$ npx skills add palantirnet/drupal-rector --skill rector-discover -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install palantirnet/drupal-rector rector-discover --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/palantirnet/drupal-rector.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/rector-discover .claude/skills/rector-discover && rm -rf skills-src

Use ~/.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/

Facts

Skill name
rector-discover
GitHub stars
161
Token cost
~3.6k tokens
SKILL.md length
1,706 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Lists unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase.

  • Works in 6 steps: Ensure the digests repo is available → Ensure the index is fresh → Read the index → …
  • Find what to work on next
  • SKILL.md covers Steps and Phase Reference
  • Calls php, bash and rg; reaches drupal.org

What it does

Rector Discover is an agent skill from palantirnet/drupal-rector. Lists unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase. Regenerates docs/rector-index.yml if absent or stale (24h), audits docs/implemented-digests.yml for entries recorded as done that are not, and queries the drupal-code-query index for per-rule contrib exposure. Use to find what to work on next, filter by phase, or get a summary count.

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `TESTING.md`).

The repository describes itself as: A developer utility for automatically upgrading deprecated code for Drupal 9.

When your agent uses it

  • Find what to work on next
  • Filter by phase
  • Get a summary count

Example prompts

  • “Use the rector-discover skill to list unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase”
  • “/rector-discover”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, mcp__drupal-code-query__get_change_record, mcp__drupal-code-query__lookup_core_symbol, mcp__drupal-code-query__search_code

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Ensure the digests repo is available
  2. Ensure the index is fresh
  3. Read the index
  4. Apply filters
  5. Present results
  6. Suggest next action

What it can do on your machine

Read from SKILL.md and the folder at commit 3c58496. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • mcp__drupal-code-query__get_change_record
    • mcp__drupal-code-query__lookup_core_symbol
    • mcp__drupal-code-query__search_code

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • php
    • bash
    • rg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • drupal.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rector Discover loads about 3.6k tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 1,706 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, mcp__drupal-code-query__get_change_record, mcp__drupal-code-query__lookup_core_symbol, m

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,706 words (~3,603 tokens).

“Show which drupal-digests deprecation rules still need to be implemented in drupal-rector, grouped by phase.”

— opening of SKILL.md by palantirnet
name
rector-discover
allowed-tools
Bash, Read, mcp__drupal-code-query__get_change_record, mcp__drupal-code-query__lookup_core_symbol, mcp__drupal-code-query__search_code
argument-hint
[--phase 1a|1b|1c|2|3|4] [--limit N] [--pending-only] [--no-impact]

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .claude/skills/rector-discover of palantirnet/drupal-rector.

  • SKILL.md
  • TESTING.md

Open the folder on GitHubat commit 3c58496

Compare with similar skills

Rector Discover 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.

Rector Discover compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rector Discover this skillpalantirnet/drupal-rector161—~3.6kAutomated safety check: NotesNone
Music Listruvnet/ruflo74k—~332Automated safety check: PassMIT
Discover Pluginsruvnet/ruflo74k—~2kAutomated safety check: NotesMIT
Semantic Liststhedaviddias/Front-End-Checklist74k—~504Automated safety check: PassMIT
List Structurethedaviddias/Front-End-Checklist74k—~438Automated safety check: PassMIT
Definition Listthedaviddias/Front-End-Checklist74k—~449Automated safety check: PassMIT

Similar skills

  • Music List

    ruvnet/ruflo

    List the account's saved music productions with metadata and audiourl

    74k GitHub stars~332 tokensUpdated today
    Auto-check passed
  • Discover Plugins

    ruvnet/ruflo

    Discover and recommend ruflo plugins based on your workflow, installed MCP tools, and current task

    74k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Semantic Lists

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use semantic list elements.

    74k GitHub stars~504 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • List Structure

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use correct list structure.

    74k GitHub stars~438 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Definition List

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use correct definition list structure.

    74k GitHub stars~449 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Aas Discover

    sickn33/agentic-awesome-skills

    Discover AAS skills for an explicit task and compare their complete instructions without installing them.

    47k GitHub starsUsed in 1 repo~523 tokens
    Auto-check passed

More from palantirnet/drupal-rector

  • Contrib Search

    palantirnet/drupal-rector

    Search real Drupal contrib code for a pattern (deprecated method/function/constant/property) via the api.tresbien.tech JSON index.

    161 GitHub stars~1.4k tokensUpdated 7 days ago
    Auto-check: notes
  • Rector Implement

    palantirnet/drupal-rector

    Converts a single drupal-digests rule to a drupal-rector-compliant implementation.

    161 GitHub stars~3.3k tokensUpdated 7 days ago
    Auto-check: notes
  • Rector Live Test

    palantirnet/drupal-rector

    Runs a rector against real D11-compatible contrib modules to verify it transforms real-world code correctly, then captures the PHPStan deprecation message it covers.

    161 GitHub stars~2.3k tokensUpdated 7 days ago
    Auto-check: notes
  • Rector QA

    palantirnet/drupal-rector

    Comprehensive quality review of an existing Drupal rector. An agent skill from palantirnet/drupal-rector.

    161 GitHub stars~5k tokensUpdated 7 days ago
    Auto-check: notes

Questions about Rector Discover

What does Rector Discover do?

Lists unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase. Rector Discover is an agent skill from palantirnet/drupal-rector. Lists unimplemented drupal-digests rules ranked by real contrib impact and classified by implementation phase.

When should I use Rector Discover?

Rector Discover fits situations like: find what to work on next; filter by phase; get a summary count.

How do I install Rector Discover in Claude Code?

Run `npx skills add palantirnet/drupal-rector --skill rector-discover -a claude-code`. Or copy the skill folder (.claude/skills/rector-discover in palantirnet/drupal-rector) into .claude/skills/rector-discover in your project. Claude Code loads it when a task matches its description.

How do I install Rector Discover in Codex?

Run `npx skills add palantirnet/drupal-rector --skill rector-discover -a codex`. Or copy the skill folder (.claude/skills/rector-discover in palantirnet/drupal-rector) into .agents/skills/rector-discover in your project. Codex loads it when a task matches its description.

Can I use Rector Discover in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add palantirnet/drupal-rector --skill rector-discover -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rector-discover, .gemini/skills/rector-discover, .github/skills/rector-discover and .opencode/skills/rector-discover in your project.

What does Rector Discover need to run?

Going by SKILL.md and its folder, Rector Discover needs the command-line tools its instructions call (php, bash and rg). Its frontmatter pre-approves these tools: Bash, Read, mcp__drupal-code-query__get_change_record, mcp__drupal-code-query__lookup_core_symbol, mcp__drupal-code-query__search_code.

Does Rector Discover access the network?

SKILL.md names 1 domain. In commands or code: drupal.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Rector Discover safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Rector Discover use?

No licence was found for Rector Discover or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Rector Discover use?

About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rector Discover?

Skills that share tags, products or a category with Rector Discover: Music List (ruvnet/ruflo, 74k stars), Discover Plugins (ruvnet/ruflo, 74k stars), Semantic Lists (thedaviddias/Front-End-Checklist, 74k stars) and List Structure (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rector Discover?

palantirnet (a GitHub organization) maintains it in palantirnet/drupal-rector, which has 161 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 1, 2026.

Source: palantirnet/drupal-rector on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.