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.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- applied-ai-deliverySkill
- backend-code-reviewSkill
- backend-debuggingSkill
- backend-deploymentSkill
- backend-jobSkill
- backend-testingSkill
- car-part-retrievalSkill
- continuous-improvementSkill
- data-engineeringSkill
- documentationSkill
- internship-communicationSkill
- interview-prepSkill
- learning-roadmapSkill
- observabilitySkill
- production-deliverySkill
- skill-health-checkSkill
- software-internshipSkill
- thesis-helperSkill
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
- Very specific: line 27
Read docs/workflow-profile.md before asking anything — many "changes" are already recorded.
- Very specific: line 30
Read docs/workflow-profile.md.
- Distinctive: line 33
Ask at most 2–3 clarifying questions for genuinely ambiguous parts (effective date, stack specifics, what to deprecate) — never re-ask what …
- Very specific: line 35
After approval, apply the edit and update Last updated:.
- Very specific: line 36
If the drift implies skill-level consequences (e.g., a context skill now points at a retired role), hand off to continuous-improvement with …
- Distinctive: line 40
Run after steps 1-4 when the drift class is a new role/project or a retired one.
- Distinctive: line 52
If the user's reason is temporary ("for this month"), record it in *Current priorities* rather than retiring anything.
- Distinctive: line 70
No private data: team names, internal URLs, client names stay generic or out.
- Distinctive: line 95
Behavior: Update *Main tech stacks* + *Team conventions* for the paid-work context.
≈ “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.
Files
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.mdbefore asking anything — many "changes" are already recorded.
Workflow
- Read
docs/workflow-profile.md. If the request is already consistent with it, say so and stop. - Classify the drift: retired role/project · new role/project · stack change · team-convention change · priority re-rank · environment change.
- Show the drift as a side-by-side table: profile says X ↔ request says Y.
- 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.
- Propose the exact
docs/workflow-profile.mddiff (and resetdocs/active-context.mdtounsetif the active context just ended): edits + dated entries moved to Completed / paused workflows. - After approval, apply the edit and update
Last updated:. - If the drift implies skill-level consequences (e.g., a context skill now points at a retired role), hand off to
continuous-improvementwith a one-line rationale — do not edit SKILL.md files here. - Record the change in
docs/CHANGELOG.mdunder 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.
- 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.
- 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.
- 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. - 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. - Demote/retire candidates. Existing skills tied to the retired role, with fire counts from
docs/usage-log.mdwhen it exists. Propose only; edits to existing skills go tocontinuous-improvement. - Apply after approval: profile diff, new context,
Last updated,docs/active-context.mdreset tounset; create approved new skill folders; add their 3 should / 2 should_not prompts toevals/triggers.json; add them toAGENTS.mdrouting; changelog; runpython scripts/validate.pyand 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
- Drift table — profile vs reality, classified.
- Clarifying questions asked (if any) + answers.
- Proposed profile diff — exact before/after.
- Applied change — confirmation +
Last updatedbump. - Knock-on effects — skills affected, handed to
continuous-improvementif warranted (never edited here). - 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 updateddate 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
- 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-communicationredirect work tocontinuous-improvement; changelog. - 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.
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
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.

