Agent skill

Rector Live Test

by palantirnet in 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.

No licenceAuto-check: notes

Install Rector Live Test

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

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

GitHub CLI
$ gh skill install palantirnet/drupal-rector rector-live-test --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-live-test .claude/skills/rector-live-test && 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-live-test
GitHub stars
161
Token cost
~2.3k tokens
SKILL.md length
781 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

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.

  • Works in 5 steps: Find D11-compatible contrib modules that… → Run the rector → Capture the PHPStan deprecation message → …
  • SKILL.md covers Input and Steps
  • Runs Shell scripts from its folder; calls git, bash and python3

What it does

Rector Live Test is an agent skill from 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. Delegates finding the modules to the contrib-search skill. Pass rector class name or issue number as argument.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `setup-rector-test.sh`).

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

Example prompts

  • “/rector-live-test”

Requirements

  • Python 3
  • A Bash shell
  • Pre-approved tools (allowed-tools): Read, Bash, Glob, Skill

Workflow steps

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

  1. Find D11-compatible contrib modules that exercise the rector
  2. Run the rector
  3. Capture the PHPStan deprecation message
  4. Report results
  5. Diagnose zero-match results

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:

    • Read
    • Bash
    • Glob
    • Skill

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • git
    • bash
    • python3

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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 Live Test loads about 2.3k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 781 words of instructions outside code blocks.

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

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: Read, Bash, Glob, Skill

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 781 words (~2,310 tokens).

“Find real contrib modules that use the deprecated API a rector targets, then run the rector against them to verify it transforms real-world code correctly.”

— opening of SKILL.md by palantirnet
name
rector-live-test
allowed-tools
Read, Bash, Glob, Skill
argument-hint
<RectorClassName or issue-number>

Read the full SKILL.md on GitHub

Files

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

  • SKILL.md
  • setup-rector-test.sh

Open the folder on GitHubat commit 3c58496

Compare with similar skills

Rector Live Test 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 Live Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rector Live Test this skillpalantirnet/drupal-rector161—~2.3kAutomated safety check: NotesNone
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
Fortify Developmentcoollabsio/coolify63k4 repos~1.9kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
WooCommerce Code Reviewwoocommerce/woocommerce11k3 repos~1.1kAutomated safety check: PassCustom licence

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • Fortify Development

    coollabsio/coolify

    ACTIVATE when the user works on authentication in Laravel. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 4 repos~1.9k tokens
    Backend & APIsAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Sync Translations

    symfony/symfony

    Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…

    31k GitHub stars~1.9k tokensUpdated today
    Writing & ContentAuto-check passed

More from palantirnet/drupal-rector

  • Rector Discover

    palantirnet/drupal-rector

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

    161 GitHub stars~3.6k tokensUpdated 8 days ago
    Auto-check: notes
  • 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 8 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 8 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 8 days ago
    Auto-check: notes

Works with

Questions about Rector Live Test

What does Rector Live Test do?

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. Rector Live Test is an agent skill from 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.

How do I install Rector Live Test in Claude Code?

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

How do I install Rector Live Test in Codex?

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

Can I use Rector Live Test 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-live-test -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-live-test, .gemini/skills/rector-live-test, .github/skills/rector-live-test and .opencode/skills/rector-live-test in your project.

What does Rector Live Test need to run?

Going by SKILL.md and its folder, Rector Live Test needs a shell for the scripts in its folder and the command-line tools its instructions call (git, bash and python3). Our summary lists: Python 3; A Bash shell. Its frontmatter pre-approves these tools: Read, Bash, Glob, Skill.

Does Rector Live Test access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Rector Live Test 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 Live Test use?

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

How many tokens does Rector Live Test use?

About 2.3k tokens (SKILL.md is roughly 9.2k 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 Live Test?

Skills that share tags, products or a category with Rector Live Test: Configuring Horizon (coollabsio/coolify, 63k stars), Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), Fortify Development (coollabsio/coolify, 63k stars) and MCP Development (coollabsio/coolify, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rector Live Test?

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.