>- Adds support for a new Redis command to the gem from a specification. Triggers on requests like "add support for the TS.BGET command" or via /add-new-command <COMMAND|path>. Resolves the spec from command_specs/, falling back to official redis.io docs. See .claude/skills/add-new-command/examples/command-specification-template.md.
npx skills add https://github.com/redis/redis-rb --skill add-new-command
$ARGUMENTS is either a Redis command name (e.g. TS.BGET, JSON.GET) or a path to a
specification file. Before doing anything else, resolve it to a filled specification using Step 0.
Run bash .claude/skills/add-new-command/scripts/resolve_spec.sh "$ARGUMENTS" from the repo root. Branch on its RESOLUTION: line.
The only way into Step 1 is a RESOLUTION: ready from the resolver — never enter it on your own judgment that a spec looks filled.
ready — filled spec is in the output. Go to Step 1.incomplete — spec exists but still has the $COMMAND_NAME placeholder. Ask the user to fill in the template, show the RERUN_HINT to resume, then STOP.missing — WebFetch REDIS_IO_URL.TARGET_SPEC_FILE using .claude/skills/add-new-command/examples/command-specification-template.md structure, then use the AskUserQuestion tool to present a "Proceed / Stop" choice. On Proceed → re-run the resolver on TARGET_SPEC_FILE and branch on its RESOLUTION: again — only ready may enter Step 1; incomplete means the written spec is still a stub, so follow the incomplete branch. On Stop → end (the saved spec can be edited and re-run later)..claude/skills/add-new-command/examples/command-specification-template.md verbatim to TARGET_SPEC_FILE (keep the $COMMAND_NAME marker so the resolver flags it incomplete until filled) for them to fill; then show the RERUN_HINT and STOP.path_not_found — the argument looks like a file path but no file exists at SPEC_FILE. Tell the user, ask for a corrected path (or a command name to resolve instead), then STOP. Do not guess a command name from the path.no_argument — ask for a command name or spec path, then STOP.specs/adding-commands.mdspecs/adding-commands.mdAfter completing implementation tasks:
Before completing:
Provide summary:
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
Access BRENDA enzyme database via SOAP API. Retrieve kinetic parameters (Km, kcat), reaction equations, organism data, and substrate-specific enzyme information for biochemical research and metabolic pathway analysis.
Access ClinPGx pharmacogenomics data (successor to PharmGKB). Query gene-drug interactions, CPIC guidelines, allele functions, for precision medicine and genotype-guided dosing decisions.
Query NCBI ClinVar for variant clinical significance. Search by gene/position, interpret pathogenicity classifications, access via E-utilities API or FTP, annotate VCFs, for genomic medicine.
Access COSMIC cancer mutation database. Query somatic mutations, Cancer Gene Census, mutational signatures, gene fusions, for cancer research and precision oncology. Requires authentication.
Query Ensembl genome database REST API for 250+ species. Gene lookups, sequence retrieval, variant analysis, comparative genomics, orthologs, VEP predictions, for genomic research.
Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.
Query NCBI Gene via E-utilities/Datasets API. Search by symbol/ID, retrieve gene info (RefSeqs, GO, locations, phenotypes), batch lookups, for gene annotation and functional analysis.
Take redis/add-new-command from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.