Distinct Special Values

🌐Community
by marius-townhouse · vlatest · Repository

This skill extracts unique, highlighted "special value" tokens from text, useful for identifying key data points or themes.

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 distinct-special-values npx -- -y @trustedskills/distinct-special-values
2

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

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

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

About This Skill

What it does

This skill identifies and extracts distinct special values from TypeScript code. It can pinpoint unique literal types, union members, or other specific values used within a codebase. This is useful for refactoring, understanding complex type definitions, and ensuring consistent value usage across projects.

When to use it

  • Refactoring: When consolidating duplicate type definitions or removing unused special values.
  • Code Understanding: To quickly identify all possible values in a union type or enum.
  • Type Safety Audits: To verify that all expected special values are accounted for within a system.
  • Documentation Generation: Automatically extract and document the distinct special values used in a TypeScript project.

Key capabilities

  • Identifies literal types
  • Extracts union members
  • Recognizes specific value usage patterns

Example prompts

  • "List all distinct string literals used in this file."
  • "What are the possible values for this enum?"
  • "Find all unique number constants defined within these TypeScript files."

Tips & gotchas

This skill requires access to the relevant TypeScript code. The accuracy of the extracted values depends on the clarity and structure of the input code; complex or obfuscated code may yield less reliable results.

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
marius-townhouse
Installs
4

🌐 Community

Passed automated security scans.