AGENT SKILL

prompts-to-skill

Turn a set of user-supplied prompts into a finished, tested agent skill. Runs an intent interview and overlap check, drafts with draft-skill, writes test cases, tunes with tune-skill, and optionally names and lists the repo with findable. Use whenever the user has a list of prompts, instructions, or example requests and wants them packaged as a reusable skill, even if they only say "make a skill from these", "turn these into a skill", or paste a batch of prompts with no further instruction. Not for editing an existing skill (use tune-skill), creating a skill from a plain description with no prompts (use draft-skill), or finding existing skills for a task.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
prompts-to-skill
version
1.0.0
description
Turn a set of user-supplied prompts into a finished, tested agent skill. Runs an intent interview and overlap check, drafts with draft-skill, writes test cases, tunes with tune-skill, and optionally names and lists the repo with findable. Use whenever the user has a list of prompts, instructions, or example requests and wants them packaged as a reusable skill, even if they only say "make a skill from these", "turn these into a skill", or paste a batch of prompts with no further instruction. Not for editing an existing skill (use tune-skill), creating a skill from a plain description with no prompts (use draft-skill), or finding existing skills for a task.

02 资源文件 3

03 SKILL.md 正文

prompts-to-skill

This skill packages a set of prompts into a tested, tuned skill. It is a fixed pipeline with two confirmation points and two hard gates. Read references/pipeline.md for the detail of each step, and references/gates.md for the pass/fail rules.

Dependencies

This skill drives two other skills and needs them installed: draft-skill (drafting, at https://github.com/arm-pz/draft-skill, installed with npx skills add arm-pz/draft-skill --skill draft-skill) and tune-skill (audit and validator, at https://github.com/arm-pz/tune-skill, installed with npx skills add arm-pz/tune-skill --skill tune-skill). Locate them by asking the agent to list its skills, or look in the skills directory it reads from. If either is missing, say so and stop rather than improvising their steps.

Before you start

  1. Check there are enough prompts. Three or more is the minimum for a trigger and scope to be visible. With fewer, ask for more.
  2. Screen the prompts. Stop and tell the user if they ask for a skill that facilitates unauthorized access, data exfiltration, or malware, or if they contain personal data the skill would store. Skills must not surprise the user about what they do.
  3. Find the overlap. Search the installed skills for descriptions that already claim these requests. If one already does the job, tell the user and ask whether to tune it instead. Do not draft a duplicate.
  4. Confirm intent (point 1). Restate the purpose, the expected output format, and the trigger contexts in a few lines. Ask for confirmation. Do not draft until the user confirms.

Pipeline

Step 1 — Draft. Invoke draft-skill on the confirmed intent and prompts. Its resource-planning and writing steps apply; skip its intent and boundary steps, which the confirmations above already settled here. Keep the description "pushy" enough to trigger on the user's own phrasing.

Step 2 — Test cases. Write at least eight cases in the format of tune-skill's test-case reference, plus an evals/evals.json (skill_name and a list of prompts). Show the list to the user and ask them to add or remove cases (point 2).

Step 3 — Tune. Follow tune-skill's workflow on the draft, then run its validator script against the folder and fix every FAIL. The script lives in tune-skill's own folder, not here.

Step 4 — Name and list (optional). Only if the user plans to publish the skill to GitHub. Use findable (https://github.com/arm-pz/findable, installed with npx skills add arm-pz/findable --skill findable). It makes the repo name decision and drafts the listing. Its audit needs a live repo, so if none exists yet, record the audit as pending. One owner per phase: listing copy is findable's, packaging and the install checklist are prompts-to-skill-release's, pushing an existing clone is upstream-check's.

Gates

Do not report success until both gates pass. See references/gates.md.

  • Gate A — structure: tune-skill's validator reports no FAIL, the folder name, name field, and H1 match, and the description is under 1024 characters.
  • Gate B — triggering: every original prompt triggers the skill, and every test case has a recorded pass or fail. Cases that were written but not run are marked as such.

If a gate fails, fix it inside the pipeline and re-run it. If it still fails, stop and report the failing item. Do not hand back a skill that fails a gate.

Report

Keep it short:

  • Skill name, folder path, and repo if any.
  • Intent confirmed, and overlap found or not.
  • One line per step: what changed.
  • Gate A and Gate B results, with counts.
  • Prompts not covered, with a reason.
  • findable status: done, pending a repo, or skipped.
  • One next step.

Boundaries

This is a workflow, not an agent. The order and the gates are fixed. Do not add or drop steps based on what you think the skill needs. The user's confirmations are the only points where the order can pause.

04 同仓库更多 Skills

arm-pz
arm-pz/caffeinity-skills

tune-and-ship

Takes one published skill at a time from as-is to tuned, fact-checked, released and live, then moves to the next one in the catalog. Each run tunes the skill with tune-skill, checks every version number, flag, price and command it states against the primary source, re-reads its siblings' real SKILL.md files, polishes the listing with findable-polish, writes the version and release notes, opens one PR, and after the merge confirms the site page and marketplace copy are live. Use whenever the user wants to fine-tune their other skills, work through the catalog, give a published skill the full treatment, fact-check a skill's claims, or ship a tune instead of drafting it, even if they never say "ship". Not for a tune with no release (use tune-skill), drafts with nothing pushed (use tune-and-polish), a new skill (use skill-launch), regressions from the nightly health check (use caffeinity-routing's Descale brew), or a whole collection (use skill-estate).

★ 0
arm-pz
arm-pz/caffeinity-skills

skill-estate

Takes a whole collection of agent skill repos from scattered to published, consistent and self-maintaining, in gated phases: inventory every repo, reconcile site, marketplace and README listings, test and tune the family, close workflow gaps, wire publishing so new skill repos go live on their own, bundle a plugin with agents, add trigger tests and directory listings, and leave a maintenance loop and a map. Each phase hands off to the skill that owns it and ends in PRs. Use when someone's skills site and GitHub disagree, wants all their skill repos audited or cleaned up, wants new skills to publish themselves, or wants that cleanup repeated on another org, even if they never say estate. Not for one skill (use tune-skill), one listing (use findable), the site pipeline alone (use publish-pipeline), or weekly upkeep (use caffeinity-routing's Descale brew).

★ 0
arm-pz
arm-pz/caffeinity-skills

paper-trail

Drafts the policy pages a small product needs before it takes money or data (privacy policy, terms of service, refund policy, cookie notice) from a fact sheet about what the product actually collects, stores, shares and charges, then checks the drafts for placeholders, missing sections and facts nobody supplied. Use when someone needs a privacy policy, terms, refund or cookie page for a site, app, SaaS, newsletter or digital product, asks what legal pages they need before launch, or wants existing policy pages checked against what the product really does, even if they never say "legal". Not legal advice and not for contracts, NDAs or employment documents (use a lawyer), and not for the launch plan itself (use solo-income-blueprint) or the site build (use site-prompt).

★ 0
arm-pz
arm-pz/caffeinity-skills

course-builder

Designs a course for a group of learners (a class, cohort, workshop series, bootcamp or internal training): measurable outcomes, a module sequence with prerequisites, activities and assessments aligned to each outcome, a time budget that fits the hours available, and a rubric, then checks the plan with a script so no outcome goes untaught or unassessed. Use when someone is teaching others and asks for a curriculum, syllabus, course outline, module plan, cohort or workshop structure, or wants an existing course checked for gaps and overload, even if they never say "curriculum". Not for one person's own learning plan (use study-system), for being taught the topic (use topic-primer), or for marketing the course (use sales-copy).

★ 0
arm-pz
arm-pz/caffeinity-skills

wordsmith

Write, draft, rewrite, edit, proofread, polish and improve text while preserving the author's intended meaning, facts and voice. Use when the user wants clearer, shorter or better-toned writing; grammar, structure or flow fixes; emails, website or marketing copy, headlines, outlines or summaries; a different reading level; an accessibility, inclusivity or accuracy review; or content prepared for publication, even if they never say "edit". Also handles /wordsmith commands such as draft, critique, audit, tighten, tone and final. Not for resumes, CVs or LinkedIn profiles (use recruiter-lens if installed), not for code or code comments, and not for building .docx or .pdf files (write the text here, then use the file skill).

★ 0
arm-pz
arm-pz/caffeinity-skills

web-preflight

Use when shipping, deploying, publishing, launching, reviewing, or pre-flighting a website or API and you want a lightweight check for accidental exposure of secrets, source or configuration files, admin and debug surfaces, unsafe redirects, missing security controls, and misleading 200 responses. Trigger phrases include "before we ship", "security check", "preflight", "audit the site", "check the production URL", "is my .env exposed", and "why does /.env return 200", including when access-log or analytics evidence is supplied. Checks only sites the user owns or is authorized to assess, with bounded GET and HEAD requests and a fixed compact path set; distinguishes genuine resources from SPA catch-all and blanket WAF responses. Not for penetration testing, exploitation, credential testing, broad port scanning, or application-code review; use a dedicated authorized security-testing or code-review workflow instead.

★ 0