smithery/itsmealee

writing-utility-helpers

Standardizes frequent utility functions for currency, dates, and strings. Use to maintain consistency in formatting.

Installation

$ npx skills add smithery/itsmealee --skill writing-utility-helpers

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/itsmealee.

npx skills add smithery/itsmealee

Browse all from smithery/itsmealee

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 951 B
  • docs SUMMARY.md 147 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Utility Helper Functions

When to use this skill

  • Formatting prices in PKR or USD.
  • Truncating long descriptions in cards.
  • Pretty-printing dates for travel itineraries.

Recommended Helpers

Currency

export const formatCurrency = (amount: number, currency = 'PKR') => {
    return new Intl.NumberFormat('en-PK', {
        style: 'currency',
        currency,
        maximumFractionDigits: 0,
    }).format(amount);
};

String Truncation

export const truncate = (str: string, length: number) => {
    return str.length > length ? str.substring(0, length) + '...' : str;
};

Instructions

  • Location: Store all helpers in lib/utils.ts or utils/index.ts.
  • DRY: Check for existing helpers before writing new logic.