Agent skill

Rector Implement

by palantirnet in palantirnet/drupal-rector

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

No licenceAuto-check: notesTesting & QA

Install Rector Implement

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

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

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

At a glance

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

  • Works in 4 steps: Read the digest file. → Read… → If a recipe matches, read that recipe… → …
  • Tasks that involve Quality gates
  • SKILL.md covers Input, Steps, Pre-flight Checklist and Quick Reference: Phase 1…
  • Calls bash, rg and composer

What it does

Rector Implement is an agent skill from palantirnet/drupal-rector. Converts a single drupal-digests rule to a drupal-rector-compliant implementation. Follows .claude/skills/prompts/digest-to-rector-prompt.md steps 1–14 and adds quality gates for type guards (QG-A) and version-gating tests (QG-B). Pass the path to the digests rule file as argument.

Its SKILL.md is about 3.3k 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 Testing & QA, covering Quality gates. The repository describes itself as: A developer utility for automatically upgrading deprecated code for Drupal 9.

When your agent uses it

  • Tasks that involve Quality gates

Example prompts

  • “Use the rector-implement skill to convert a single drupal-digests rule to a drupal-rector-compliant implementation”
  • “/rector-implement”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read the digest file.
  2. Read .claude/skills/prompts/recipes/RECIPES.md and answer the routing questions.
  3. If a recipe matches, read that recipe file and follow it instead of Steps 1–14 below.
  4. If no recipe matches, continue with Steps 1–14.

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
    • Write
    • Edit
    • Bash
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • bash
    • rg
    • composer

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

  • Network

    No URLs in SKILL.md.

    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 Implement loads about 3.3k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 1,276 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~3.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, Write, Edit, Bash, Glob

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,276 words (~3,266 tokens).

“Convert a single drupal-digests rule into a drupal-rector–compliant implementation with tests.”

— opening of SKILL.md by palantirnet
name
rector-implement
allowed-tools
Read, Write, Edit, Bash, Glob
argument-hint
repos/drupal-digests/rector/rules/<rule-filename>.php

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/rector-implement of palantirnet/drupal-rector.

Open the folder on GitHubat commit 3c58496

Compare with similar skills

Rector Implement 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 Implement compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rector Implement this skillpalantirnet/drupal-rector161—~3.3kAutomated safety check: NotesNone
Feature Plannerserendipity1004/cc-feature-implementer176—~2.4kAutomated safety check: PassNone
Ccg Workflowfengshao1227/ccg-workflow5.9k—~2.3kAutomated safety check: PassMIT
Conducty Checkpointrobertbarclayy/conducty176—~1.5kAutomated safety check: PassMIT
Mission Plannerjdforsythe/forge151—~3.5kAutomated safety check: PassMIT
Quality Gate0xNyk/lacp305—~382Automated safety check: PassMIT

Similar skills

  • Feature Planner

    serendipity1004/cc-feature-implementer

    Creates phase-based feature plans with quality gates and incremental delivery structure.

    176 GitHub stars~2.4k tokensUpdated 9 mo ago
    Testing & QAAuto-check passed
  • Ccg Workflow

    fengshao1227/ccg-workflow

    How to run a non-trivial change end to end with the CCG role tools (ccganalyze / ccgdesign / ccgbuild / ccgdebug / ccgoptimize / ccgreview / ccgtest) and the verify- quality gates.

    5.9k GitHub stars~2.3k tokensUpdated 23 days ago
    Testing & QAAuto-check passed
  • Conducty Checkpoint

    robertbarclayy/conducty

    Quality gate between parallelization groups. An agent skill from robertbarclayy/conducty.

    176 GitHub stars~1.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Mission Planner

    jdforsythe/forge

    Decomposes goals into team blueprints using evidence-based scaling laws, topology selection, and role design.

    151 GitHub stars~3.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed
  • Quality Gate

    0xNyk/lacp

    Production quality gate for agent sessions. An agent skill from 0xNyk/lacp.

    305 GitHub stars~382 tokensUpdated 16 days ago
    Testing & QAAuto-check passed
  • Deploy Workflow

    nwiizo/ccswarm

    Release deployment process for ccswarm. An agent skill from nwiizo/ccswarm.

    153 GitHub stars~582 tokensUpdated 24 days ago
    Testing & QAAuto-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 7 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 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

Categories

Questions about Rector Implement

What does Rector Implement do?

Converts a single drupal-digests rule to a drupal-rector-compliant implementation. Rector Implement is an agent skill from palantirnet/drupal-rector. Converts a single drupal-digests rule to a drupal-rector-compliant implementation.

When should I use Rector Implement?

Rector Implement fits situations like: tasks that involve Quality gates.

How do I install Rector Implement in Claude Code?

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

How do I install Rector Implement in Codex?

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

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

What does Rector Implement need to run?

Going by SKILL.md and its folder, Rector Implement needs the command-line tools its instructions call (bash, rg and composer). Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob.

Does Rector Implement access the network?

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.

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

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

How many tokens does Rector Implement use?

About 3.3k tokens (SKILL.md is roughly 13k 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 Implement?

Skills that share tags, products or a category with Rector Implement: Feature Planner (serendipity1004/cc-feature-implementer, 176 stars), Ccg Workflow (fengshao1227/ccg-workflow, 5.9k stars), Conducty Checkpoint (robertbarclayy/conducty, 176 stars) and Mission Planner (jdforsythe/forge, 151 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rector Implement?

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.