ase-meta-mint

Solid

Mint an identifier or a name of a requested type out of a free-text hint: a UUID, a SHA-1 digest, a constant, variable, function, or class identifier, a path component, or a product-like name. Use when the user wants an identifier, id, symbol, slug, or name "minted", "coined", "derived", or "generated" from a description.

Code & Development 52 stars 5 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
57
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md <purpose name="ase-meta-mint"> Mint an Identifier or Name </purpose> <expand name="getopt" arg1="ase-meta-mint" arg2="--type|-t=(uuid|sha1|const|var|class|func|path|name) --count|-c=1"> $ARGUMENTS </expand> <objective> *Mint* an identifier or a name of the requested type out of the following hint: <hint><getopt-arguments/></hint> </objective> <flow> 1. <step id="STEP 1: Sanity Check Usage"> 1. Set <type><getopt-option-type/></type> and set <hint/> to <getopt-arguments/> with any leading and trailing whitespace stripped. 2. Determine the number of identifiers to mint: set <count/> to <getopt-option-count/>; if <getopt-option-count/> is *non-numeric*, *less than 1*, or *greater than 100*, use the default *1* instead. 3. <if condition="<hint/> is empty AND <type/> is NOT `uuid`"> Only output the following <template/> and then immediately *STOP* processing the entire current skill -- every type except `uuid` needs a hint to derive anything from: <template> ⧉ **ASE**: ✪ skill: **ase-meta-mint**, ▶ ERROR: expected a `<hint>` argument for type **<type/>** </template> </if> 4. Set <results></results> and <warning></warning> (set both to empty). </step> 2. <step id="STEP 2: Mint Hash-Derived Identifiers" c...

Details

Author
rse
Repository
rse/ase
Created
5 months ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category