Agent skill

Restyle

by fair-acc in fair-acc/gnuradio4

Check or apply the exact formatter set the Restyled CI bot runs (clang-format v18, cmake-format, prettier for markdown and yaml, shellcheck, whitespace, black).

LGPL-3.0Auto-check passedDevelopment

Install Restyle

skills CLI
$ npx skills add fair-acc/gnuradio4 --skill restyle -a claude-code

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

GitHub CLI
$ gh skill install fair-acc/gnuradio4 restyle --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/fair-acc/gnuradio4.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/restyle .claude/skills/restyle && 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
restyle
GitHub stars
115
Token cost
~405 tokens
SKILL.md length
112 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
LGPL-3.0

At a glance

Check or apply the exact formatter set the Restyled CI bot runs (clang-format v18, cmake-format, prettier for markdown and yaml, shellcheck, whitespace, black).

  • Tasks that involve Linting and formatting
  • SKILL.md covers Two traps, Working tree and A specific commit
  • Calls python and git

What it does

Restyle is an agent skill from fair-acc/gnuradio4. Check or apply the exact formatter set the Restyled CI bot runs (clang-format v18, cmake-format, prettier for markdown and yaml, shellcheck, whitespace, black). Use before committing, or when a Restyled check fails.

Its SKILL.md is about 410 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 Development, covering Linting and formatting. It works with C++ and Prettier. The repository describes itself as: Prototype implementations for a more compile-time efficient flowgraph API. The licence is LGPL-3.0.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “/restyle”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 091b592. 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:

    • python
    • git

    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

Restyle loads about 405 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 112 words of instructions outside code blocks.

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

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

The full file from fair-acc/gnuradio4 at commit 091b592, republished under its LGPL-3.0 licence (© fair-acc). 112 words, ~405 tokens.

Download SKILL.mdSave it as .claude/skills/restyle/SKILL.md (or your agent's skills folder).
name
restyle
description
Check or apply the exact formatter set the Restyled CI bot runs (clang-format v18, cmake-format, prettier for markdown and yaml, shellcheck, whitespace, black). Use before committing, or when a Restyled check fails.

Restyle

.restyled.yaml pins seven restylers. Restyled checks the PR head only, so a per-commit difference is not a gate failure.

filetool
*.cpp *.hppclang-format-18
CMakeLists.txt *.cmakecmake-format
*.md *.ymlprettier
*.shshellcheck
*.pyblack

Two traps

Config resolves from the file's path. Checking a copy under /tmp reports every file as mis-formatted, because the tool never finds .clang-format / .cmake-format.yaml. Always check in place, or pass --assume-filename.

cmake-format picks its dialect from the filename. A copy named CMakeLists.txt.bak parses as something else and reports spurious differences. Keep the basename.

Working tree

bash
clang-format-18 -i <files>
cmake-format -i <files>          # idempotent: a second run must be a no-op
~/venvs/ort-gpu/bin/python -m black <files>

A specific commit

bash
git show $c:$f | clang-format-18 --assume-filename="$f" --dry-run --Werror
git show $c:$f | python -m black --quiet --check -

For CMake files, write to a scratch directory inside the repo keeping the basename, format there, compare, delete.

© fair-acc, LGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/restyle of fair-acc/gnuradio4.

Open the folder on GitHubat commit 091b592

Compare with similar skills

Restyle 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.

Restyle compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Restyle this skillfair-acc/gnuradio4115—~405Automated safety check: PassLGPL-3.0
Qt Cpp ReviewSerial-Studio/Serial-Studio7.2k—~4.3kAutomated safety check: PassCustom licence
Setup Pre Commitfossasia/eventyay-interpretation1.6k12 repos~565Automated safety check: PassApache-2.0
Code Qualityredis/RedisInsight8.9k—~1.2kAutomated safety check: PassCustom licence
Swig Conventionsswig/swig6.3k—~2.7kAutomated safety check: PassCustom licence
Ue Code AuthoringJasonMa0012/MooaToon749—~1.9kAutomated safety check: NotesCustom licence

Similar skills

  • Qt Cpp Review

    Serial-Studio/Serial-Studio

    Qt6/C++ deep code review for Serial Studio. An agent skill from Serial-Studio/Serial-Studio.

    7.2k GitHub stars~4.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Setup Pre Commit

    fossasia/eventyay-interpretation

    Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo.

    1.6k GitHub starsUsed in 12 repos~565 tokens
    DevelopmentAuto-check passed
  • Code Quality

    redis/RedisInsight

    Official

    Code-quality standards for RedisInsight: TypeScript strictness, naming conventions (camelCase, PascalCase, UPPERSNAKECASE), linting rules, no any without reason, no !important in styles, and…

    8.9k GitHub stars~1.2k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • SWIG source and contribution conventions: clang-format / code formatting, C/C++ comment style (quotes, widths, function header blocks), parser.y new-code rules, alphabetical ordering of makefile…

    6.3k GitHub stars~2.7k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Ue Code Authoring

    JasonMa0012/MooaToon

    A skill your agent uses when writing or modifying UE C++ (classes, actors, components, subsystems, interfaces, function libraries) with Rider MCP available.

    749 GitHub stars~1.9k tokensUpdated 19 days ago
    DevelopmentAuto-check: notes
  • Formats Markdown with the Flowmark auto-formatter for typographic cleanup and semantic line breaks, and helps adopt it across a repository.

    374 GitHub stars~631 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from fair-acc/gnuradio4

  • CI Triage

    fair-acc/gnuradio4

    Fetch and classify a failed GitHub Actions job for this repo — distinguish out-of-memory kills, six-hour timeouts, configure errors and genuine test failures, and identify what was in flight.

    115 GitHub stars~548 tokensUpdated yesterday
    Auto-check passed
  • Wasm Build

    fair-acc/gnuradio4

    Configure and run the local Emscripten/WebAssembly build with ONNX Runtime, including the tests.

    115 GitHub stars~394 tokensUpdated yesterday
    Auto-check passed
  • Measure Build Cost

    fair-acc/gnuradio4

    Measure the peak memory and wall time of a single translation unit or link step, so build parallelism can be sized from evidence.

    115 GitHub stars~408 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Restyle

What does Restyle do?

Check or apply the exact formatter set the Restyled CI bot runs (clang-format v18, cmake-format, prettier for markdown and yaml, shellcheck, whitespace, black). Restyle is an agent skill from fair-acc/gnuradio4. Check or apply the exact formatter set the Restyled CI bot runs (clang-format v18, cmake-format, prettier for markdown and yaml, shellcheck, whitespace, black).

When should I use Restyle?

Restyle fits situations like: tasks that involve Linting and formatting.

How do I install Restyle in Claude Code?

Run `npx skills add fair-acc/gnuradio4 --skill restyle -a claude-code`. Or copy the skill folder (.claude/skills/restyle in fair-acc/gnuradio4) into .claude/skills/restyle in your project. Claude Code loads it when a task matches its description.

How do I install Restyle in Codex?

Run `npx skills add fair-acc/gnuradio4 --skill restyle -a codex`. Or copy the skill folder (.claude/skills/restyle in fair-acc/gnuradio4) into .agents/skills/restyle in your project. Codex loads it when a task matches its description.

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

What does Restyle need to run?

Going by SKILL.md and its folder, Restyle needs the command-line tools its instructions call (python and git). Our summary lists: Python 3.

Does Restyle 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 Restyle 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 Restyle use?

Restyle is published under the LGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Restyle use?

About 405 tokens (SKILL.md is roughly 1.6k 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 Restyle?

Skills that share tags, products or a category with Restyle: Qt Cpp Review (Serial-Studio/Serial-Studio, 7.2k stars), Setup Pre Commit (fossasia/eventyay-interpretation, 1.6k stars), Code Quality (redis/RedisInsight, 8.9k stars) and Swig Conventions (swig/swig, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Restyle?

fair-acc (a GitHub organization) maintains it in fair-acc/gnuradio4, which has 115 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 6, 2026.

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