feat: add skills ingestion system#31
Merged
Aryan Mahajan (aryanma) merged 8 commits intoApr 24, 2026
Merged
Conversation
self.skills = SkillManager(self) loads SKILL.md files from .agents/skills/ (source of truth) and .wingman/skills/ (fallback). Features: - Frontmatter parsing (name, description, allowed-tools, argument-hint) - Argument substitution ($ARGUMENTS, $0, $1) - Inline shell execution (!`command` blocks) - /skills command lists available skills - Skills auto-register as /slash commands in dispatch - Skills reload on mount and directory change 7 skills loaded: commit, pr, pr-review, issue, promote, greentext, better-interface
Skills now send the expanded prompt to the model as a transient user message. The model follows the skill instructions (runs tools, etc.) and the response persists in conversation history. The skill prompt itself is stripped after the turn — only the invocation command (e.g., /commit) and the model's response remain in history.
- ToolBridgeMixin: deduplicate panel lookup into resolve_panel() - panels.py, context.py: rename single-letter loop variables
Three-phase review: identify changes, run parallel reuse/quality/ efficiency audits, then fix issues. Adapted for general Python codebases.
e4e848e
into
refactor/app-decompose
4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #30 (app decompose). Adds a skills system that loads
SKILL.mdfiles from.agents/skills/and.wingman/skills/, making them available as/slashcommands.Pattern:
self.skills = SkillManager(self)Features:
$ARGUMENTSand positional$0,$1substitution!`git status`expands at invocation time/skillscommand lists all available skills/commit,/pr, etc..agents/skills/first,.wingman/skills/fallbackLoaded skills: commit, pr, pr-review, issue, promote, greentext, better-interface
Type of Change
Checklist
Codesmith can help with this PR — just tag
@codesmithor enable autofix.