Agent skill

Rector QA

by palantirnet in palantirnet/drupal-rector

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

No licenceAuto-check: notes

Install Rector QA

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

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

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

At a glance

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

  • Works in 4 steps: Read the rector source. → Identify the node types from… → For each… → …
  • SKILL.md covers Input, Finding the files, Pass 1 — Type Guard Audit and Bulk mode (all), plus 8 more sections
  • Calls bash, rg and composer; reaches drupal.org

What it does

Rector QA is an agent skill from palantirnet/drupal-rector. Comprehensive quality review of an existing Drupal rector. Runs six audit passes — type guards, fixture coverage, BC decision correctness, @see URL accuracy, registration, and common bugs / idempotency — and produces a PASS/FAIL/WARN checklist. Use before merging a rector or when reviewing existing ones for regressions. Pass 'all' to walk the full branch type-guard checklist.

Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

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

Example prompts

  • “/rector-qa”

Requirements

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

Workflow steps

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

  1. Read the rector source.
  2. Identify the node types from getNodeTypes().
  3. For each MethodCall/NullsafeMethodCall/PropertyFetch handler in refactor()
  4. Classify

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

    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 QA loads about 5k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 2,042 words of instructions outside code blocks.

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

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, Edit, Write, 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 2,042 words (~4,964 tokens).

“Comprehensive six-pass quality review for a drupal-rector implementation.”

— opening of SKILL.md by palantirnet
name
rector-qa
allowed-tools
Read, Bash, Edit, Write, Glob
argument-hint
<RectorClassName | all>

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit 3c58496

Compare with similar skills

Rector QA 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 QA compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rector QA this skillpalantirnet/drupal-rector161—~5kAutomated safety check: NotesNone
Six Dimension Code Reviewa5c-ai/babysitter1.8k—~700Automated safety check: PassMIT
Six Hatsdanium/lateral-thinking319—~1.4kAutomated safety check: PassMIT
Six Thinking Hatsproffesor-for-testing/agentic-qe494—~1.9kAutomated safety check: PassMIT
Biz Lean Six Sigmaasgard-ai-platform/skills241—~1.3kAutomated safety check: PassMIT
Sealeap Xiezhi Amazon Scalable Portfolio Six Lanesxjli360/sealeap-amazon-skills240—~523Automated safety check: PassMIT

Similar skills

  • Six Dimension Code Review

    a5c-ai/babysitter

    Structured pull-request review across six fixed dimensions — correctness, clarity, consistency, coverage, complexity, and change-scope — producing a per-dimension verdict plus severity-tagged…

    1.8k GitHub stars~700 tokensUpdated 21 days ago
    DevelopmentAuto-check passed
  • Six Hats

    danium/lateral-thinking

    Parallel thinking with six enforced perspectives, based on Edward de Bono's Six Thinking Hats® method - examine one decision through sequential passes for facts, feelings, risks, benefits…

    319 GitHub stars~1.4k tokensUpdated 25 days ago
    DevelopmentAuto-check passed
  • Six Thinking Hats

    proffesor-for-testing/agentic-qe

    Apply Edward de Bono's Six Thinking Hats methodology to software testing for comprehensive quality analysis.

    494 GitHub stars~1.9k tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Biz Lean Six Sigma

    asgard-ai-platform/skills

    Apply Lean and Six Sigma principles to eliminate waste and reduce process variation.

    241 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Route Amazon product research across six portfolio lanes: niche demand, extensible variations, bulky high-value items, regulated or high-barrier products, seasonal events, and higher-ticket bundles.

    240 GitHub stars~523 tokensUpdated 10 days ago
    Auto-check passed
  • Hax Ubd Six Facets

    haxtheweb/haxcms-php

    Apply the UbD six facets of understanding (Explanation, Interpretation, Application, Perspective, Empathy, Self-Knowledge) to write understandings and build facet-mapped editable-table rubric…

    130 GitHub stars~1.7k tokensUpdated today
    EducationAuto-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 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

Questions about Rector QA

What does Rector QA do?

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

How do I install Rector QA in Claude Code?

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

How do I install Rector QA in Codex?

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

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

What does Rector QA need to run?

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

Does Rector QA 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 QA 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 QA use?

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

How many tokens does Rector QA use?

About 5k tokens (SKILL.md is roughly 20k 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 QA?

Skills that share tags, products or a category with Rector QA: Six Dimension Code Review (a5c-ai/babysitter, 1.8k stars), Six Hats (danium/lateral-thinking, 319 stars), Six Thinking Hats (proffesor-for-testing/agentic-qe, 494 stars) and Biz Lean Six Sigma (asgard-ai-platform/skills, 241 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rector QA?

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.