Agent skill

Standards Autofix

by shopsys in shopsys/shopsys

Fixes the violations reported by a failed coding-standards check (ecs, phpstan, phplint, twig-lint, markdown, yaml, and the storefront's tsc, biome and knip) by editing the source directly from the…

Custom licenceAuto-check passedDevOps & Cloud

Install Standards Autofix

skills CLI
$ npx skills add shopsys/shopsys --skill standards-autofix -a claude-code

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

GitHub CLI
$ gh skill install shopsys/shopsys standards-autofix --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/shopsys/shopsys.git skills-src && mkdir -p .claude/skills && cp -r skills-src/project-base/.agents/skills/standards-autofix .claude/skills/standards-autofix && 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
standards-autofix
GitHub stars
350
Token cost
~2.5k tokens
SKILL.md length
1,439 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Fixes the violations reported by a failed coding-standards check (ecs, phpstan, phplint, twig-lint, markdown, yaml, and the storefront's tsc, biome and knip) by editing the source directly from the…

  • Works in 4 steps: Extract the violations from the log → Fix them → Package the diff as fixup commits → …
  • Tasks that involve Code quality
  • SKILL.md covers Phase 1: Extract the…, Phase 2: Fix them, Phase 3: Package the diff as… and Phase 4: Summary, plus 2 more sections
  • Calls git, pnpm and php

What it does

Standards Autofix is an agent skill from shopsys/shopsys. Fixes the violations reported by a failed coding-standards check (ecs, phpstan, phplint, twig-lint, markdown, yaml, and the storefront's tsc, biome and knip) by editing the source directly from the check's log, then packages the fixes as fixup! commits targeting the commits that introduced each violation. Used by the GitLab CI job ai:standards-fix; can also be run locally on a branch. It never rewrites existing history — it only appends commits for the author to review and autosquash.

Its SKILL.md is about 2.5k 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 DevOps & Cloud, covering Code quality, CI/CD and Linting and formatting. It works with GitLab and pnpm. The repository describes itself as: Main repository for maintaining Shopsys Platform packages. Open for ISSUES and PULL REQUESTS.

When your agent uses it

  • Tasks that involve Code quality
  • Tasks that involve CI/CD
  • Tasks that involve Linting and formatting

Example prompts

  • “s tsc, biome and knip) by editing the source directly from the check”
  • “Use the standards-autofix skill to fix the violations reported by a failed coding-standards check (ecs, phpstan, phplint, twig-lint, markdown, yaml…”
  • “/standards-autofix”

Workflow steps

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

  1. Extract the violations from the log
  2. Fix them
  3. Package the diff as fixup commits
  4. Summary

What it can do on your machine

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

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • pnpm
    • php
    • tsc

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

  • Network

    No URLs in SKILL.md. Its commands use git and pnpm, 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

Standards Autofix loads about 2.5k tokens when it runs. Until then it costs about 127 tokens; SKILL.md has 1,439 words of instructions outside code blocks.

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

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,439 words (~2,494 tokens).

“MINDSET: You are reading a failed standards check and fixing exactly what it reported, by editing files. You cannot run the checks — no containers, no phing, no composer. Your only inputs are the log and the source. That makes…”

— opening of SKILL.md by shopsys, Custom licence
name
standards-autofix
user_invocable
true
version
2.1.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in project-base/.agents/skills/standards-autofix of shopsys/shopsys.

Open the folder on GitHubat commit 0514b92

Compare with similar skills

Standards Autofix 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.

Standards Autofix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Standards Autofix this skillshopsys/shopsys350—~2.5kAutomated safety check: PassCustom licence
Megalinter Checknvuillam/npm-groovy-lint2481 repos~3.9kAutomated safety check: NotesMIT
Aif CIunxed/f4241—~4.7kAutomated safety check: PassBSD-3-Clause
Add Opik Code Quality Hookcomet-ml/opik22k—~2.3kAutomated safety check: PassApache-2.0
Babysit PRZenUml/web-sequence150—~871Automated safety check: PassMIT
Verifygocronx-team/gocron808—~529Automated safety check: PassMIT

Similar skills

  • Megalinter Check

    nvuillam/npm-groovy-lint

    Collect MegaLinter lint errors for the current repository. An agent skill from nvuillam/npm-groovy-lint.

    248 GitHub starsUsed in 1 repo~3.9k tokens
    DevOps & CloudAuto-check: notes
  • Aif CI

    unxed/f4

    Generate CI/CD pipeline (GitHub Actions / GitLab CI) with linting, static analysis, tests, security.

    241 GitHub stars~4.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Checklist for wiring a new linter into Opik's Code Quality pipeline: the four files to edit, the silent-failure gotchas and the pass/fail verification loop.

    22k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Babysit PR

    ZenUml/web-sequence

    Monitor and diagnose GitHub Actions checks on ZenUML web-sequence PRs, fixing code-caused CI failures when appropriate.

    150 GitHub stars~871 tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Verify

    gocronx-team/gocron

    Reproduce the complete gocron CI pipeline locally and report every result.

    808 GitHub stars~529 tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Reviewdog

    AgentSecOps/SecOpsAgentKit

    Automated code review and security linting integration for CI/CD pipelines using reviewdog.

    220 GitHub starsUsed in 1 repo~3k tokens
    DevelopmentAuto-check passed

More from shopsys/shopsys

All 38 skills in this repo
  • Adhoc PR

    shopsys/shopsys

    Ad-hoc Pull Request Publisher — commits the current changes, pushes the branch, opens a GitHub pull request against the repository's default branch, and creates a matching SSP Jira issue in the…

    350 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Commit

    shopsys/shopsys

    Interactive commit workflow — analyzes all uncommitted changes, proposes atomic, logically grouped commits with messages following commit-conventions, and executes them only after the user approves…

    350 GitHub stars~771 tokensUpdated today
    Auto-check: notes
  • Create Enum

    shopsys/shopsys

    Create a Shopsys-style enum (a class extending AbstractEnum with public typed constants, NOT a native PHP enum).

    350 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Docs Researcher

    shopsys/shopsys

    Searches and analyzes documentation to provide relevant information for development tasks.

    350 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • PR Comments

    shopsys/shopsys

    Work with GitHub PR review threads — list unresolved comments as a digest (who is waiting on whom), reply to threads, and resolve/unresolve them.

    350 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • PR Description

    shopsys/shopsys

    Generates a PR description focused on business value using the project's PR template.

    350 GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Questions about Standards Autofix

What does Standards Autofix do?

Fixes the violations reported by a failed coding-standards check (ecs, phpstan, phplint, twig-lint, markdown, yaml, and the storefront's tsc, biome and knip) by editing the source directly from the…. Standards Autofix is an agent skill from shopsys/shopsys. Fixes the violations reported by a failed coding-standards check (ecs, phpstan, phplint, twig-lint, markdown, yaml, and the storefront's tsc, biome and knip) by editing the source directly from the check's log, then packages the fixes as fixup!

When should I use Standards Autofix?

Standards Autofix fits situations like: tasks that involve Code quality; tasks that involve CI/CD; tasks that involve Linting and formatting.

How do I install Standards Autofix in Claude Code?

Run `npx skills add shopsys/shopsys --skill standards-autofix -a claude-code`. Or copy the skill folder (project-base/.agents/skills/standards-autofix in shopsys/shopsys) into .claude/skills/standards-autofix in your project. Claude Code loads it when a task matches its description.

How do I install Standards Autofix in Codex?

Run `npx skills add shopsys/shopsys --skill standards-autofix -a codex`. Or copy the skill folder (project-base/.agents/skills/standards-autofix in shopsys/shopsys) into .agents/skills/standards-autofix in your project. Codex loads it when a task matches its description.

Can I use Standards Autofix 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 shopsys/shopsys --skill standards-autofix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/standards-autofix, .gemini/skills/standards-autofix, .github/skills/standards-autofix and .opencode/skills/standards-autofix in your project.

What does Standards Autofix need to run?

Going by SKILL.md and its folder, Standards Autofix needs the command-line tools its instructions call (git, pnpm, php and tsc).

Does Standards Autofix 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 Standards Autofix safe to install?

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.

What licence does Standards Autofix use?

Standards Autofix has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Standards Autofix use?

About 2.5k tokens (SKILL.md is roughly 10k 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 Standards Autofix?

Skills that share tags, products or a category with Standards Autofix: Megalinter Check (nvuillam/npm-groovy-lint, 248 stars), Aif CI (unxed/f4, 241 stars), Add Opik Code Quality Hook (comet-ml/opik, 22k stars) and Babysit PR (ZenUml/web-sequence, 150 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Standards Autofix?

shopsys (a GitHub organization) maintains it in shopsys/shopsys, which has 350 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 9, 2026.

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