Agent skill

Code Style

by frappe in frappe/skills

Code style rules for readable, maintainable implementation. An agent skill from frappe/skills.

No licenceAuto-check passedDevelopment

Install Code Style

skills CLI
$ npx skills add frappe/skills --skill code-style -a claude-code

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

GitHub CLI
$ gh skill install frappe/skills code-style --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/frappe/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-style .claude/skills/code-style && 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
code-style
GitHub stars
146
Token cost
~221 tokens
SKILL.md length
79 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
None found

At a glance

Code style rules for readable, maintainable implementation. An agent skill from frappe/skills.

  • Asks about code style
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Refactoring shape
  • Function/file size

What it does

Code Style is an agent skill from frappe/skills. Code style rules for readable, maintainable implementation. Load this skill always when writing or editing code, and whenever the user asks about code style, refactoring shape, function/file size, object-oriented structure, helper ordering, or comments. For Frappe-specific work, prefer frappe-app-dev.

Its SKILL.md is about 220 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 Plain language and style rules and Refactoring. The repository describes itself as: Agent skills for Frappe App development.

When your agent uses it

  • Asks about code style
  • Refactoring shape
  • Function/file size
  • Object-oriented structure

Example prompts

  • “/code-style”

What it can do on your machine

Read from SKILL.md and the folder at commit 0bef982. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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

Code Style loads about 221 tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 79 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 79 words (~221 tokens).

name
code-style

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/code-style of frappe/skills.

Open the folder on GitHubat commit 0bef982

Compare with similar skills

Code Style 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.

Code Style compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Style this skillfrappe/skills146—~221Automated safety check: PassNone
Edit For Readabilitytestdouble/han279—~2.6kAutomated safety check: PassMIT
Cyclomatic Complexitysaurabhkumar8112/cyclomatic-complexity-skill405—~761Automated safety check: PassApache-2.0
Software Design Philosophyluoling8192/software-design-philosophy-skill344—~3.4kAutomated safety check: PassMIT
Copilot Code Coachtimothywarner/chatgptclass143—~1.9kAutomated safety check: PassCustom licence
Code Simplifiergetsentry/skills1k6 repos~991Automated safety check: PassApache-2.0

Similar skills

  • Edit For Readability

    testdouble/han

    Applies Han's shared Human-Readable Output Standard to a target you already have — a file on disk, text pasted into the prompt, or a draft already produced in the conversation — by dispatching the…

    279 GitHub stars~2.6k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Cyclomatic Complexity

    saurabhkumar8112/cyclomatic-complexity-skill

    Refactor code to reduce cyclomatic complexity so it stays readable, maintainable, and aligned with the long-term vision of the codebase, not just optimized for AI comprehension.

    405 GitHub stars~761 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Software Design Philosophy

    luoling8192/software-design-philosophy-skill

    Software design philosophy guide based on John Ousterhout's "A Philosophy of Software Design." Use this skill during: code reviews, architecture discussions, API design, module decomposition…

    344 GitHub stars~3.4k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Copilot Code Coach

    timothywarner/chatgptclass

    Socratic coding tutor powered by GitHub Copilot. An agent skill from timothywarner/chatgptclass.

    143 GitHub stars~1.9k tokensUpdated 18 days ago
    DevelopmentAuto-check passed
  • Code Simplifier

    getsentry/skills

    Official

    Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality.

    1k GitHub starsUsed in 6 repos~991 tokens
    DevelopmentAuto-check passed
  • Code Simplifier

    meleantonio/ChernyCode

    Simplify and clean up code after changes are complete. An agent skill from meleantonio/ChernyCode.

    516 GitHub starsUsed in 1 repo~604 tokens
    DevelopmentAuto-check passed

More from frappe/skills

All 8 skills in this repo
  • Frappe App Dev

    frappe/skills

    Builds full-stack Frappe Framework applications end-to-end. An agent skill from frappe/skills.

    146 GitHub stars~943 tokensUpdated 7 days ago
    Auto-check passed
  • Deep App Audit

    frappe/skills

    Deep audit of a Frappe app for security, correctness, and customization defects.

    146 GitHub stars~5.4k tokensUpdated 7 days ago
    Auto-check passed
  • Turn a vulnerability report into a publication-ready GitHub Security Advisory.

    146 GitHub stars~1.3k tokensUpdated 7 days ago
    Auto-check passed
  • Fix Issue

    frappe/skills

    Fix a bug reported in a GitHub issue or a markdown file, without letting the report's noise and guesses into the main context.

    146 GitHub stars~987 tokensUpdated 7 days ago
    Auto-check passed
  • Frappe Code Review

    frappe/skills

    Review code for any Frappe application — a checklist distilled from years of engineering practice on correctness, security, performance, concurrency, readability, API design, and testing.

    146 GitHub stars~3.8k tokensUpdated 7 days ago
    Auto-check passed
  • Resolve merge conflicts in a Mergify backport pull request. An agent skill from frappe/skills.

    146 GitHub stars~1.1k tokensUpdated 7 days ago
    Auto-check passed

Questions about Code Style

What does Code Style do?

Code style rules for readable, maintainable implementation. An agent skill from frappe/skills. Code Style is an agent skill from frappe/skills. Code style rules for readable, maintainable implementation.

When should I use Code Style?

Code Style fits situations like: asks about code style; refactoring shape; function/file size; object-oriented structure.

How do I install Code Style in Claude Code?

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

How do I install Code Style in Codex?

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

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

What does Code Style need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Style is instructions for the agent only.

Does Code Style 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 Code Style 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 Code Style use?

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

How many tokens does Code Style use?

About 221 tokens (SKILL.md is roughly 884 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 Code Style?

Skills that share tags, products or a category with Code Style: Edit For Readability (testdouble/han, 279 stars), Cyclomatic Complexity (saurabhkumar8112/cyclomatic-complexity-skill, 405 stars), Software Design Philosophy (luoling8192/software-design-philosophy-skill, 344 stars) and Copilot Code Coach (timothywarner/chatgptclass, 143 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Style?

frappe (a GitHub organization) maintains it in frappe/skills, which has 146 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 30, 2026.

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