Format standardize

From aiskillstore/marketplace · View interactive version

Format standardize is an AI agent skill from the GitHub repository aiskillstore/marketplace. Standardize formatting and apply consistent style to the deliverable. Use after generation to ensure the output matches the user's formatting standards and conventions.

How to use this skill

Skill file

Format & Standardize Skill

Purpose

Ensures the generated deliverable follows consistent formatting, style, and structure standards. This is the "polish" step that makes work look professional and maintainable.

What to Do

  1. Review the generated deliverable
  2. Load their standards to understand formatting preferences
  3. Apply standardization:
  1. Use their tools/conventions if specified:
  1. Verify complete consistency before delivery

Format Checks by Type

Code Features

Documentation

Refactoring

Test Suite

Content Creation

Process

  1. Take the generated deliverable
  2. Load their saved standards using StandardsRepository (look for formatting preferences)
  3. Apply standardization rules
  4. Format code/text with appropriate tools:
  1. Do a final pass for consistency
  2. Return the formatted output

Loading Standards

Use StandardsRepository to access formatting preferences:

const standards = standardsRepository.getStandards(context.projectType)
if (standards && standards.commonPatterns) {
  // Apply their formatting preferences from commonPatterns
  standards.commonPatterns.forEach(pattern => {
    // Example: "Use 2-space indentation", "Sort imports alphabetically"
    applyFormattingPattern(pattern)
  })
}

See .claude/lib/standards-repository.md for interface details.

Output Format

# Formatting Applied

## Standards Used
- [First formatting standard]
- [Second formatting standard]
- [Tools/conventions applied]

## Changes Made
- [List of formatting changes applied]
- [Example: "Sorted imports alphabetically"]
- [Example: "Applied 2-space indentation"]

## The Formatted Deliverable
[Complete formatted output, ready to use]

## Validation
- Consistent formatting: ✓
- Professional appearance: ✓
- Ready for review/delivery: ✓

Success Criteria

✓ All formatting is consistent

✓ Follows user's standards

✓ Professional appearance

✓ Ready for code review or publication

✓ No formatting inconsistencies remain

Common Formatting Rules

For Code:

For Documentation:

For Content:

Example

Input (Before Formatting):

const MyComponent = ( props ) => {
  return (
    <div>
      { props.title }
    </div>
  );
};

export default MyComponent

After Formatting (assuming standard React conventions):

const MyComponent = (props) => {
  return (
    <div>
      {props.title}
    </div>
  );
};

export default MyComponent;

Changes Made:

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.