agentleFS
softwareone-platformsoftwareone-platform/mpt-extension-skills/skills/mpt-ext-workflow-skill-authoring/SKILL.md

mpt-ext-workflow-skill-authoring

Skill3 starsChanged 4 months agoApache-2.0View on GitHub

Create or update a reusable shared skill: classify it as tool, task, or workflow, apply shared naming and structure rules, keep it concise, add required metadata, and avoid duplicating standards.

The file

Show its rules and text

We split this skill into the rules it gives an agent

45 rules. About 0 are common, 34 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈34

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create or update a reusable shared skill while treating shared standards and knowledge as the source of truth.

    line 10
  2. Very specific:

    Read these shared documents before making substantial skill changes, using the resolution rule from standards/skills.md:

    line 40
  3. Distinctive:

    Read repository-specific docs when they exist, because they may extend or override shared guidance.

    line 50
  4. Distinctive:

    Read shared docs using the resolution rule from Shared References.

    line 51
  5. Distinctive:

    Ask for or infer 1-3 concrete example requests that should trigger the skill.

    line 55
  6. Distinctive:

    Stop if the work is clearly a one-off instruction rather than a reusable skill.

    line 56
  7. Distinctive:

    Keep only the reusable execution behavior that an agent should apply directly inside the skill.

    line 61
  8. Very specific:

    Read standards/skills.md using the Shared References resolution rule, and use it as the source of truth for skill type, naming, required …

    line 64
  9. Distinctive:

    Prefer the installed package root defined by the skill standard:

    line 68
  10. Distinctive:

    Use repo-local fallback links only when the task is explicitly happening inside the source repository.

    line 75
  11. Very specific:

    If the installed root is unavailable and repo-local paths do not apply, use the fallback defined by standards/skills.md.

    line 76
  12. Distinctive:

    Follow the required and optional structure from the installed skill standard.

    line 83
  13. Distinctive:

    Add only the supporting directories that materially improve correctness, reuse, or maintainability.

    line 84
  14. Very specific:

    Write SKILL.md for fast execution.

    line 87
  15. Very specific:

    Keep frontmatter limited to name and description.

    line 88
  16. Distinctive:

    Write the body in direct operational language.

    line 90
  17. Distinctive:

    Use imperative instructions and short concrete examples.

    line 92
  18. Distinctive:

    Remove copied policy, detailed how-to guidance, or reusable operational rules that already belong to shared docs.

    line 96
  19. Very specific:

    Keep only skill-specific execution behavior and non-obvious guardrails in SKILL.md.

    line 98
  20. Distinctive:

    Keep deterministic behavior in prose only when scripting would add more maintenance than reliability, and make that choice explicit in the …

    line 103
  21. Very specific:

    Update SKILL.md to show when to run each script and how to interpret its output.

    line 104
  22. Distinctive:

    Verify repository context and shared references.

    line 106
  23. Distinctive:

    Ensure that step reads AGENTS.md, reads repository-specific docs when they exist, and reads shared docs through the Shared References …

    line 108
  24. Very specific:

    Ensure Shared References lists the exact shared standards, knowledge, or package docs used by the skill.

    line 109
  25. Distinctive:

    Ensure direct references to shared docs elsewhere in the skill use the same resolution rule instead of hard-coding only one source.

    line 110
  26. Distinctive:

    Keep the skill concise with progressive disclosure.

    line 112
  27. Distinctive:

    Keep the top-level workflow readable without loading unnecessary files.

    line 113
  28. Distinctive:

    Add the OpenAI adapter.

    line 118
  29. Very specific:

    Add the required agents/openai.yaml adapter described by the installed skill standard.

    line 119
  30. Distinctive:

    Keep adapter values aligned with the actual skill scope.

    line 120
  31. Distinctive:

    Check that the skill still has a single clear responsibility.

    line 124
  32. Distinctive:

    Check that required sections are present and easy to scan.

    line 125
  33. Distinctive:

    Check that links to shared standards, knowledge, or package docs follow the Shared References resolution rule for runtime use.

    line 126
  34. Very specific:

    Check that the skill links to shared standards/ or knowledge/ instead of copying their policy content.

    line 127
  35. Distinctive:

    Check that deterministic operations are backed by scripts when a script is safer or more repeatable than prose.

    line 128
  36. Distinctive:

    If the environment provides a scaffold or validator for skills, use it.

    line 129
  37. Distinctive:

    Add supporting files only when the repeated task justifies the extra maintenance.

    line 134
  38. Distinctive:

    Run at most 5 realistic-task iteration passes before stopping and reporting the remaining skill quality gaps.

    line 135
  39. Distinctive:

    Keep one responsibility per skill and one skill type per skill.

    line 139
  40. Distinctive:

    Do not encode repository-specific behavior as shared truth unless the skill is explicitly repository-specific.

    line 140
  41. Distinctive:

    Do not depend on GitHub URLs or other remote documentation for required execution context when local shared guidance is available.

    line 141
  42. Distinctive:

    Do not hide destructive or high-risk actions inside vague steps.

    line 142
  43. Very specific:

    Do not add auxiliary files such as README.md, CHANGELOG.md, or quick-reference notes inside the skill folder unless they are truly required …

    line 143
  44. Distinctive:

    Prefer links to shared docs resolved from the installed local package when available over copied policy text.

    line 144
  45. Distinctive:

    Never run more than 5 skill-authoring review iterations before stopping with the remaining gaps.

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Skill Authoring

Purpose

Create or update a reusable shared skill while treating shared standards and knowledge as the source of truth.

Use When

  • The user wants to add a new shared skill to a repository or shared skills package.
  • The user wants to update an existing skill's scope, workflow, metadata, or supporting files.
  • The user wants to merge draft skill guidance with shared authoring rules.
  • The task requires deciding whether information belongs in the skill itself or in shared standards/ or knowledge/.

Do Not Use When

  • The request is only to execute an existing skill, not to author or modify one.
  • The request is a one-off instruction that is not intended to be reusable.
  • The content is really a shared policy or reusable operational guide that belongs in standards/ or knowledge/ instead of a skill.
  • The result would mix unrelated responsibilities into one broad skill.

Inputs

  • The target repository or package that will store the skill.
  • The user request or examples that describe what the skill should help an agent do.
  • Access to the shared package guidance:
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/current
  • Any related shared policy or workflow docs that the skill should reference instead of duplicating.

Shared References

Read these shared documents before making substantial skill changes, using the resolution rule from standards/skills.md:

  • standards/skills.md
  • standards/documentation.md
  • docs/installation.md

Workflow

  1. Build repository context first.
  • Read the target repository AGENTS.md once per session. If you already loaded it earlier in this session and still have its full contents, reuse them instead of re-reading; if the context was summarized or you are unsure it is complete, read it again. Do not pre-load shared docs in this step; read them lazily only when the repository points to them.
  • Read repository-specific docs when they exist, because they may extend or override shared guidance.
  • Read shared docs using the resolution rule from Shared References.
  1. Understand the intended reuse.
  • Identify the repeatable outcome the skill should support.
  • Ask for or infer 1-3 concrete example requests that should trigger the skill.
  • Stop if the work is clearly a one-off instruction rather than a reusable skill.
  1. Decide what belongs in the skill.
  • Move cross-repository policy into local standards/ documents.
  • Move reusable how-to or operational guidance into local knowledge/ documents.
  • Keep only the reusable execution behavior that an agent should apply directly inside the skill.
  1. Classify the skill before naming it.
  • Read standards/skills.md using the Shared References resolution rule, and use it as the source of truth for skill type, naming, required sections, structure, and anti-patterns.
  • Choose exactly one skill type and keep the responsibility narrow.
  1. Resolve shared package links.
  • Prefer the installed package root defined by the skill standard:
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/current
  • Build links to shared standards/, knowledge/, and docs/ from that root for runtime use.
  • Use repo-local fallback links only when the task is explicitly happening inside the source repository.
  • If the installed root is unavailable and repo-local paths do not apply, use the fallback defined by standards/skills.md.
  1. Name the skill with the shared convention.
  • Apply the naming convention from the installed skill standard instead of restating it locally.
  • Make the folder name exactly match the skill name.
  1. Plan the minimum useful structure.
  • Follow the required and optional structure from the installed skill standard.
  • Add only the supporting directories that materially improve correctness, reuse, or maintainability.
  • For Python scripts, require Python 3.12 or later as python3 and include a clear runtime guard for older interpreters.
  1. Write SKILL.md for fast execution.
  • Keep frontmatter limited to name and description.
  • Make the description do the trigger work: say what the skill does and when to use it.
  • Write the body in direct operational language.
  • Include every required section defined by the installed skill standard.
  • Use imperative instructions and short concrete examples.
  1. Review the draft for duplicated shared guidance.
  • Compare the draft skill against every relevant shared standards/, knowledge/, and package docs/ reference.
  • Remove copied policy, detailed how-to guidance, or reusable operational rules that already belong to shared docs.
  • Replace duplicated material with direct references that use the Shared References resolution rule.
  • Keep only skill-specific execution behavior and non-obvious guardrails in SKILL.md.
  1. Review deterministic operations.
  • Identify calculations, parsing, rendering, validation, file generation, JSON/YAML transformations, naming decisions, and repeatable classification logic described in prose.
  • Move deterministic operations into scripts/ when a script is safer or more repeatable than agent interpretation.
  • Keep deterministic behavior in prose only when scripting would add more maintenance than reliability, and make that choice explicit in the skill.
  • Update SKILL.md to show when to run each script and how to interpret its output.
  1. Verify repository context and shared references.
  • For skills that operate on a target repository, make Build repository context first the first workflow step.
  • Ensure that step reads AGENTS.md, reads repository-specific docs when they exist, and reads shared docs through the Shared References resolution rule.
  • Ensure Shared References lists the exact shared standards, knowledge, or package docs used by the skill.
  • Ensure direct references to shared docs elsewhere in the skill use the same resolution rule instead of hard-coding only one source.
  1. Keep the skill concise with progressive disclosure.
  • Keep the top-level workflow readable without loading unnecessary files.
  • Assume the agent is already capable; include only non-obvious guidance.
  • Move detailed schemas, variants, examples, or long reference material into references/.
  • Link supporting material directly from SKILL.md so it is discoverable without bulk-loading the whole package.
  1. Add the OpenAI adapter.
  • Add the required agents/openai.yaml adapter described by the installed skill standard.
  • Keep adapter values aligned with the actual skill scope.
  • Regenerate or update the file whenever SKILL.md meaning changes.
  1. Validate the skill as a package.
  • Check that the skill still has a single clear responsibility.
  • Check that required sections are present and easy to scan.
  • Check that links to shared standards, knowledge, or package docs follow the Shared References resolution rule for runtime use.
  • Check that the skill links to shared standards/ or knowledge/ instead of copying their policy content.
  • Check that deterministic operations are backed by scripts when a script is safer or more repeatable than prose.
  • If the environment provides a scaffold or validator for skills, use it; otherwise perform a manual structure and content review.
  1. Iterate using realistic tasks.
  • Re-test the skill against concrete requests that should trigger it.
  • Tighten vague steps, missing prerequisites, or weak guardrails.
  • Add supporting files only when the repeated task justifies the extra maintenance.
  • Run at most 5 realistic-task iteration passes before stopping and reporting the remaining skill quality gaps.

Guardrails

  • Keep one responsibility per skill and one skill type per skill.
  • Do not encode repository-specific behavior as shared truth unless the skill is explicitly repository-specific.
  • Do not depend on GitHub URLs or other remote documentation for required execution context when local shared guidance is available.
  • Do not hide destructive or high-risk actions inside vague steps.
  • Do not add auxiliary files such as README.md, CHANGELOG.md, or quick-reference notes inside the skill folder unless they are truly required by the runtime.
  • Prefer links to shared docs resolved from the installed local package when available over copied policy text.
  • When editing an existing skill's SKILL.md, review its agents/openai.yaml sibling and update the short_description/default_prompt when the change affects the skill's scope or behavior, so the Codex adapter does not drift. CodeRabbit flags a SKILL.md change whose adapter was not touched as a review reminder.
  • Never run more than 5 skill-authoring review iterations before stopping with the remaining gaps.

Expected Outcome

A reusable shared skill folder with a standards-compliant name, a clear SKILL.md, a required agents/openai.yaml adapter, and only the supporting files that materially improve correctness, reuse, or maintainability.

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.