Skip to content

feat(skills): add skillify bundled skill#163

Merged
emal-avala merged 2 commits intomainfrom
feat/skill-skillify
Apr 22, 2026
Merged

feat(skills): add skillify bundled skill#163
emal-avala merged 2 commits intomainfrom
feat/skill-skillify

Conversation

@emal-avala
Copy link
Copy Markdown
Member

Summary

Adds `/skillify` — extracts the productive workflow from the current session into a reusable skill file under `.agent/skills/`.

The prompt enforces:

  • pull out the REPEATABLE pattern, not a narrative transcript
  • kebab-case name with collision check
  • YAML frontmatter (`description`, `whenToUse`, `userInvocable`)
  • body is imperative + numbered steps, not diary entry
  • preserve any hard constraints the user enforced ("don't touch file X")
  • show the draft before writing so the user can edit

Why

When a session produces a workflow that obviously repeats (fix a flaky test, rebase a stack, run a regression sweep), the insight otherwise evaporates when the session ends. `/skillify` captures it as executable prompt — invocable via `/` in future sessions.

Pairs well with the new `batch` skill (PR #162) — write a skill once, batch-apply it across targets.

Test plan

  • `cargo fmt --all` clean
  • `cargo check` passes
  • `cargo test -p agent-code-lib --lib skills` (all pass)
  • Manual: after a successful debug session, `/skillify` writes `.agent/skills/.md` and the skill is loadable on next session

Turns a productive conversation into a reusable skill file under
.agent/skills/. Rules enforced by the prompt:

- extract the REPEATABLE workflow, strip session-specific details
- kebab-case name, check for collisions
- YAML frontmatter with description / whenToUse / userInvocable
- body is imperative with numbered steps, not narrative
- preserve any hard constraints the user enforced in-session
- show the draft to the user before writing so they can edit
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

# Conflicts:
#	crates/lib/src/skills/mod.rs
@emal-avala emal-avala merged commit 1309c10 into main Apr 22, 2026
13 of 14 checks passed
@emal-avala emal-avala deleted the feat/skill-skillify branch April 22, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant