agentleFS
albkuealbkue/my-skill/skills/workflow-adapter/SKILL.md

workflow-adapter

Skill0 starsChanged 32 days agoMITView on GitHub

Detect and reconcile drift between docs/workflow-profile.md and the user's actual current work. Use when the request mentions a role, project, stack, team, or priority the profile doesn't reflect, when the user says "my workflow changed", "update my workflow profile", "I'm moving to X", "I finished Y", when two skills disagree about which context applies, or when the user changes job or role and needs the skill set to follow (reuse what fits, draft what is missing). Do NOT use to edit skill workflows or descriptions (that's continuous-improvement), to audit the whole inventory (that's skill-health-check), or to do the actual work task itself.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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
  1. Very specific:

    Read docs/workflow-profile.md before asking anything — many "changes" are already recorded.

    line 27
  2. Very specific:

    Read docs/workflow-profile.md.

    line 30
  3. Distinctive:

    Ask at most 2–3 clarifying questions for genuinely ambiguous parts (effective date, stack specifics, what to deprecate) — never re-ask what …

    line 33
  4. Very specific:

    After approval, apply the edit and update Last updated:.

    line 35
  5. Very specific:

    If the drift implies skill-level consequences (e.g., a context skill now points at a retired role), hand off to continuous-improvement with …

    line 36
  6. Distinctive:

    Run after steps 1-4 when the drift class is a new role/project or a retired one.

    line 40
  7. Distinctive:

    If the user's reason is temporary ("for this month"), record it in *Current priorities* rather than retiring anything.

    line 52
  8. Distinctive:

    No private data: team names, internal URLs, client names stay generic or out.

    line 70
  9. Distinctive:

    Behavior: Update *Main tech stacks* + *Team conventions* for the paid-work context.

    line 95

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

Workflow Adapter

Purpose

Keep the profile — and therefore the whole plugin — truthful about the user's current reality. Work requests routinely mention facts that outdate the profile ("my internship ended", "I'm on a data job now", "we moved to Postgres-only"). This skill converts those facts into confirmed profile changes, so every other skill starts from the right context.

When to use

  • "My workflow changed" / "update my workflow profile".
  • A request names a role, project, stack, team, or priority that the profile contradicts or lacks.
  • Two skills argue over context because each reads the profile differently.
  • A big life event class: new job, internship ended, project shipped/abandoned, new tech to learn, priorities re-ranked.

When not to use

  • Editing skill files / descriptions / workflows → continuous-improvement.
  • Whole-inventory audit → skill-health-check.
  • The work task itself → whatever task skill applies (this skill only updates the profile first, then gets out of the way).

Context intake

  • What changed, when, and is it effective now or dated (e.g., internship ends next month)?
  • Is the change replacing something (move the old entry to Completed/paused) or adding?
  • Read docs/workflow-profile.md before asking anything — many "changes" are already recorded.

Workflow

  1. Read docs/workflow-profile.md. If the request is already consistent with it, say so and stop.
  2. Classify the drift: retired role/project · new role/project · stack change · team-convention change · priority re-rank · environment change.
  3. Show the drift as a side-by-side table: profile says X ↔ request says Y.
  4. Ask at most 2–3 clarifying questions for genuinely ambiguous parts (effective date, stack specifics, what to deprecate) — never re-ask what the request already states.
  5. Propose the exact docs/workflow-profile.md diff (and reset docs/active-context.md to unset if the active context just ended): edits + dated entries moved to Completed / paused workflows.
  6. After approval, apply the edit and update Last updated:.
  7. If the drift implies skill-level consequences (e.g., a context skill now points at a retired role), hand off to continuous-improvement with a one-line rationale — do not edit SKILL.md files here.
  8. Record the change in docs/CHANGELOG.md under the current version.

Transition playbook (new or changed role)

Run after steps 1-4 when the drift class is a new role/project or a retired one. Output is ONE proposal; nothing is written before approval.

  1. Capability map. List 5-8 capabilities the new role needs day to day (e.g. data analyst: SQL analysis, metric definitions, data validation, statistics, dashboards, stakeholder narrative). Ask the user to correct the list.
  2. Match each capability, in this order: (a) an existing my-skill skill; (b) an installed non-my-skill skill (read the available skill list in context; never invent names); (c) a gap.
  3. New context. Propose a context id and 3-5 safety rules for the profile's "Contexts" section, plus a - Defer to: <skill>, <skill> line naming the external skills from 2(b), so the dispatcher routes those requests there while still applying the context's rules.
  4. New skills for gaps only. Draft at most 2-3 from templates/SKILL-template.md (frontmatter, 'Do NOT use' boundary, workflow that reads the profile and active context). Show drafts in full. Prefer reuse: a gap becomes a skill only if no installed skill covers it.
  5. Demote/retire candidates. Existing skills tied to the retired role, with fire counts from docs/usage-log.md when it exists. Propose only; edits to existing skills go to continuous-improvement.
  6. Apply after approval: profile diff, new context, Last updated, docs/active-context.md reset to unset; create approved new skill folders; add their 3 should / 2 should_not prompts to evals/triggers.json; add them to AGENTS.md routing; changelog; run python scripts/validate.py and report the result.

Adaptation rules

  • Role changes (job/internship ended): mark Completed / paused with date; if an equivalent new role exists, map personal context skills to it only via continuous-improvement.
  • Stack changes: update only the stacks the user actually confirmed; skills' Adaptation rules absorb the rest.
  • Minor drift (one tool, one convention): a one-line profile edit is fine; don't over-ceremonize.
  • If the user's reason is temporary ("for this month"), record it in Current priorities rather than retiring anything.

Inputs needed

  • The statement of change (one sentence is enough).
  • Optionally: effective date, replacing/retiring details, new team conventions.
  • The current docs/workflow-profile.md.

Output contract

  1. Drift table — profile vs reality, classified.
  2. Clarifying questions asked (if any) + answers.
  3. Proposed profile diff — exact before/after.
  4. Applied change — confirmation + Last updated bump.
  5. Knock-on effects — skills affected, handed to continuous-improvement if warranted (never edited here).
  6. Changelog note — entry added.

Rules and constraints

  • The profile is the output. Existing SKILL.md files are never edited by this skill (hand off to continuous-improvement); the one exception is creating NEW skill folders during an approved transition.
  • Nothing about the user's identity is invented — placeholders like <my-github-username> only where applicable.
  • No private data: team names, internal URLs, client names stay generic or out.
  • Deletion from the profile always means move to Completed/paused with a date, never silent removal.

Quality checklist

  • Transition: capability map user-confirmed; every capability marked reuse (my-skill), reuse (installed), or gap.
  • Transition: no new skill drafted for a capability an installed skill already covers.
  • Drift classified and shown side-by-side before any edit.
  • Proposed diff shown and approved before applying.
  • Profile Last updated date refreshed.
  • Retired items moved to Completed / paused, with dates.
  • Knock-on skill effects identified and correctly routed.
  • CHANGELOG entry recorded.

Lessons learned

Record improvements after real usage (maintained via continuous-improvement). Format:

  • <date> — <what happened> → <change made to this SKILL.md>

(empty — entries appear after real usage)

Examples

  1. Request: "My internship ended; I'm applying for data jobs." Behavior: Drift table (profile lists intern role ↔ request says ended); propose moving Software Developer intern to Completed with date + updating Current priorities to rank job search first; after approval, hand software-internship/internship-communication redirect work to continuous-improvement; changelog.
  2. Request: "We switched from Kafka to RabbitMQ at work, adapt." Behavior: Update Main tech stacks + Team conventions for the paid-work context; note which skills read stacks from the profile (backend-*) adapt automatically via Adaptation rules; ask whether any checklists should mention RabbitMQ; changelog.

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.