agentleFS
getsequencegetsequence/skills/sequence-skill-builder/SKILL.md

sequence-skill-builder

Skill0 starsChanged 3 months agoMITView on GitHub

Add or update an agent skill in a public skills repository. Use when creating a new skill, adding an integration workflow, reviewing a skill repository before editing it, updating README or catalog metadata, validating an agent skill, preparing a focused commit, or checking upstream changes before a repository update.

The file

Show its rules and text

We split this skill into the rules it gives an agent

33 rules. About 0 are common, 29 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈29

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this workflow to create a skill that agents can discover, humans can understand, and maintainers can update without chasing stale …

    line 26
  2. Distinctive:

    Start read-only. Do not assume the repository still matches an earlier plan.

    line 35
  3. Distinctive:

    If the repository tracks an upstream product repository, inspect it before editing:

    line 61
  4. Distinctive:

    Use the actual default branch if it is not main.

    line 71
  5. Distinctive:

    If upstream has changes that the user has not asked you to merge, stop before overwriting or force-pushing.

    line 76
  6. Distinctive:

    Write down the following before creating files:

    line 81
  7. Very specific:

    Search existing skills and catalogs before choosing a name:

    line 92
  8. Distinctive:

    Add a new skill only when its responsibility is distinct.

    line 98
  9. Very specific:

    Use a short lowercase hyphenated name, such as sequence-stripe-payouts or sequence-rule-simulation.

    line 102
  10. Distinctive:

    Use the repository's established layout.

    line 107
  11. Very specific:

    Keep SKILL.md procedural and under 500 lines.

    line 119
  12. Distinctive:

    When to use and when not to use

    line 127
  13. Distinctive:

    Keep rules paused until the user activates them.

    line 158
  14. Distinctive:

    Never use a live action as a fallback for a failed simulation.

    line 159
  15. Distinctive:

    Keep credentials, account numbers, card details, and personal data out of source files, examples, fixtures, and logs.

    line 160
  16. Distinctive:

    Never claim that a dashboard-only action completed through an MCP.

    line 162
  17. Distinctive:

    After the skill exists, inspect and update the surfaces this repository uses:

    line 166
  18. Distinctive:

    Update README content when any of these facts change:

    line 190
  19. Distinctive:

    Update or removal command

    line 198
  20. Distinctive:

    Keep README prose collection-level.

    line 200
  21. Distinctive:

    Add at least three realistic cases for a non-trivial workflow:

    line 205
  22. Distinctive:

    Treat a simulation as a live result

    line 217
  23. Distinctive:

    Run the checks available in the repository.

    line 223
  24. Very specific:

    Every SKILL.md has valid frontmatter with name and description.

    line 234
  25. Distinctive:

    Every catalog path exists.

    line 235
  26. Distinctive:

    Every README and skill link resolves.

    line 236
  27. Distinctive:

    No secrets or private data appear in the diff.

    line 240
  28. Distinctive:

    If the repository provides a validator, test runner, formatter, or CI command, run it instead of inventing a parallel check.

    line 242
  29. Distinctive:

    Keep the commit narrow. Good messages include:

    line 264
  30. Distinctive:

    Do not commit or push merely because the work is ready.

    line 275
  31. Distinctive:

    Run validation and record the results.

    line 283
  32. Distinctive:

    After pushing, report the commit hash, remote and branch, changed public surfaces, validation results, and any known limitation.

    line 285
  33. Distinctive:

    Never force-push over upstream changes without explicit approval.

    line 288

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add a skill to a public skills repository

Use this workflow to create a skill that agents can discover, humans can understand, and maintainers can update without chasing stale references.

The repository is the product surface. A new SKILL.md is only complete when its documentation, metadata, examples, validation, and release path agree with it.

1. Inspect before editing

Start read-only. Do not assume the repository still matches an earlier plan.

pwd
git status --short --branch
git remote -v
git branch --show-current
git fetch --all --prune
git log --oneline --decorate -12
rg --files | sort

Identify the default branch and the repository's actual source of truth. Look for these surfaces, using the paths that exist:

  • Root README.md
  • Root AGENTS.md or equivalent agent instructions
  • CONTRIBUTING.md and SECURITY.md
  • Skill directories containing SKILL.md
  • Skill and integration catalogs
  • Plugin or marketplace manifests
  • Agent-specific metadata such as agents/openai.yaml
  • Scripts, tests, fixtures, CI, and release workflows

Review upstream changes

If the repository tracks an upstream product repository, inspect it before editing:

git fetch origin main
git log --oneline HEAD..origin/main
git diff --stat HEAD..origin/main
git diff HEAD..origin/main -- README.md AGENTS.md CONTRIBUTING.md SECURITY.md

Use the actual default branch if it is not main. Read upstream changes that affect skill layout, naming, installation, catalogs, manifests, validation, or safety policy. Reconcile the new skill with the upstream shape instead of building against stale local assumptions.

If upstream has changes that the user has not asked you to merge, stop before overwriting or force-pushing. Report the divergence and ask which base to use.

2. Define the new skill

Write down the following before creating files:

  • User outcome
  • Trigger phrases and explicit non-triggers
  • Required tools, permissions, and external products
  • Integrations and side effects
  • Human approval gates
  • Simulation or dry-run behavior
  • Failure and retry behavior
  • Expected final response

Search existing skills and catalogs before choosing a name:

rg -n "name:|description:|<product-or-workflow-keyword>" .

Add a new skill only when its responsibility is distinct. If an existing skill already owns the workflow, extend it or sharpen its routing boundary. Do not create a second skill that repeats the same product setup with different prose.

Use a short lowercase hyphenated name, such as sequence-stripe-payouts or sequence-rule-simulation.

3. Create the skill package

Use the repository's established layout. If no layout exists, create only what the skill needs:

<skill-name>/
├── SKILL.md
├── agents/openai.yaml       # When the repository uses agent UI metadata
├── references/              # Detailed material loaded only when needed
├── examples/                # Realistic prompts and expected behavior
└── tests/                   # Fixtures or deterministic checks

Keep SKILL.md procedural and under 500 lines. Its frontmatter must include a clear name and a description that states both what the skill does and when an agent should use it. Add compatibility, risk, integration, side-effect, and approval metadata when the workflow needs them.

The body should usually contain:

  1. Outcome and scope
  2. When to use and when not to use
  3. Requirements and capability detection
  4. Ordered workflow or decision tree
  5. Validation checkpoints
  6. Failure recovery
  7. Side effects and approval gates
  8. References and examples

Move detailed schemas, API facts, variants, and long troubleshooting material into one-level-deep reference files linked from SKILL.md. Do not add a second README inside the skill unless the repository requires one for every skill.

4. Model integrations honestly

For each integration, document:

  • Authentication owner
  • Available MCP, CLI, API, or browser capabilities
  • Dashboard-only actions
  • Required permissions
  • Side effects
  • Simulation or dry-run support
  • Failure and retry behavior
  • Human approval points

Separate explanation skills from execution workflows only when the distinction is real. An integration skill should not duplicate an end-to-end setup skill.

For financial or destructive workflows:

  • Preserve simulation-first behavior.
  • Keep rules paused until the user activates them.
  • Never use a live action as a fallback for a failed simulation.
  • Keep credentials, account numbers, card details, and personal data out of source files, examples, fixtures, and logs.
  • Never claim that a dashboard-only action completed through an MCP.

5. Update every repository surface

After the skill exists, inspect and update the surfaces this repository uses:

  • The skill's SKILL.md
  • Root README skill catalog and installation guidance
  • Machine-readable skill catalog or registry
  • Agent UI metadata such as agents/openai.yaml
  • Integration catalog when an integration is new or changed
  • Examples, references, tests, and evaluation cases
  • Plugin or marketplace manifests
  • Changelog or version metadata
  • Agent, contribution, or security policy when the public contract changes

For the current Sequence repository, the important surfaces are:

README.md
catalog/skills.json
catalog/integrations.json
<skill-name>/SKILL.md
<skill-name>/agents/openai.yaml

Confirm these paths after inspection because the upstream repository may evolve.

Update README content when any of these facts change:

  • Skill name or path
  • Installation command
  • Supported agent
  • Skill category or purpose
  • Integration requirement
  • Manual installation path
  • Update or removal command

Keep README prose collection-level. Put detailed workflow behavior in the skill. Keep catalog entries machine-readable and synchronized with real paths.

6. Add examples and regression coverage

Add at least three realistic cases for a non-trivial workflow:

  1. Normal successful request
  2. Incomplete, ambiguous, or interrupted request
  3. Request that must pause for approval or refuse an unsafe action

For financial workflows, add negative cases proving that the skill does not:

  • Move real money
  • Activate a rule automatically
  • Skip account or beneficiary confirmation
  • Expose credentials or financial identifiers
  • Treat a simulation as a live result

Grade outcomes and safety behavior, not one rigid internal implementation path.

7. Validate before committing

Run the checks available in the repository. For the current Sequence layout:

git diff --check
npx skills add . --list
jq empty catalog/skills.json
jq empty catalog/integrations.json

Also verify:

  • Every SKILL.md has valid frontmatter with name and description.
  • Every catalog path exists.
  • Every README and skill link resolves.
  • New names are unique.
  • New integrations appear in the integration registry when required.
  • Agent metadata matches the skill's name and purpose.
  • No secrets or private data appear in the diff.

If the repository provides a validator, test runner, formatter, or CI command, run it instead of inventing a parallel check. If a validator is unavailable, report the missing dependency and run the strongest equivalent checks.

8. Review the diff as a public release

git diff --cached --stat
git diff --cached --check
git diff --cached

Ask:

  • Can a new user discover the skill from the README?
  • Can an agent route to it from the description?
  • Can a maintainer identify the canonical source?
  • Does the catalog describe reality?
  • Does the skill state its limits and approval gates?
  • Did any stale name, path, command, or integration survive?
  • Did upstream review reveal a newer repository convention?

Keep the commit narrow. Good messages include:

feat: add Stripe payout workflow skill
docs: document skill creation workflow
test: cover paused-rule safety
fix: correct skill metadata

9. Commit and push safely

Do not commit or push merely because the work is ready. Commit and push only when the user has asked for publication.

Before committing:

  1. Confirm the intended branch and remote.
  2. Confirm the diff contains only the requested skill change.
  3. Confirm all repository surfaces are synchronized.
  4. Run validation and record the results.

After pushing, report the commit hash, remote and branch, changed public surfaces, validation results, and any known limitation.

Never force-push over upstream changes without explicit approval. If the user requests a history rewrite, verify the target commit and branch first, explain the scope, and use the narrowest safe command.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.