Skip to content
TrustedSkillsbeta
Back to all skills

Code Style

Official
automattic·vlatest·writing·MIT

This skill automatically formats your code to adhere to a defined style guide, improving readability and consistency across projects.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add automattic/wordpress-activitypub --skill code-style -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

automattic

Matched to the vendor's own GitHub organisation.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. no SKILL.md in the repository Source recorded as automattic/wordpress-activitypub.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

code-style

What it does

This skill enables AI agents to enforce consistent coding standards and formatting rules within software projects. It ensures that generated or modified code adheres to specific style guides, maintaining readability and uniformity across a codebase.

When to use it

  • Standardizing code contributions from multiple developers in a team environment.
  • Preparing codebases for automated linting tools or static analysis pipelines.
  • Ensuring new AI-generated code matches the existing architectural patterns of a legacy project.
  • Enforcing specific language conventions (e.g., PEP 8 for Python, Airbnb style guide for JavaScript).

Key capabilities

  • Applies predefined coding style configurations to source files.
  • Validates syntax and formatting against established industry standards.
  • Integrates directly into the development workflow to catch style violations early.

Example prompts

  • "Apply the project's existing code-style configuration to this new Python module."
  • "Refactor this JavaScript function to comply with Airbnb style guidelines using the code-style skill."
  • "Check if the generated SQL queries match our database team's formatting standards."

Tips & gotchas

Ensure the target project has a defined style guide or configuration file (like .editorconfig, .eslintrc, or pyproject.toml) before invoking this skill, as it relies on existing rules to function effectively.