Formatting

🌐Community
by jiatastic · vlatest · Repository

Automatically formats text into specified styles like lists, tables, or code blocks, saving time and ensuring consistency.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add formatting npx -- -y @trustedskills/formatting
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "formatting": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/formatting"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides Python code formatting capabilities. It takes unstructured or poorly formatted Python code as input and outputs clean, readable, and properly indented code adhering to common style conventions (likely PEP 8). This helps improve code clarity and maintainability.

When to use it

  • You have a block of Python code that is difficult to read due to inconsistent indentation or spacing.
  • You need to quickly standardize the formatting of generated Python code from another skill.
  • You want to ensure your AI agent's outputted Python code adheres to consistent style guidelines.
  • You are debugging and need to visually inspect the structure of a piece of Python code.

Key capabilities

  • Python code formatting
  • Indentation correction
  • Spacing normalization

Example prompts

  • "Format this Python code: def my_function(a,b): \n return a+ b"
  • "Please format the following block of Python and ensure it is PEP 8 compliant."
  • "Clean up this Python code for readability:" [paste code here]

Tips & gotchas

The skill assumes you are providing valid Python code. Providing non-Python code will likely result in unexpected or error output.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jiatastic
Installs
2

🌐 Community

Passed automated security scans.