feat: implement P1 Skills System with map-workflows-guide skill#25
Merged
feat: implement P1 Skills System with map-workflows-guide skill#25
Conversation
Implements P1 Skills System (docs/P1_SKILLS_SYSTEM_IMPLEMENTATION.md) to reduce workflow confusion by ~50%. ## What's New ### Skills System Architecture - **Skills**: Passive documentation modules (NOT agents) - **Progressive disclosure**: Main SKILL.md <600 lines, details in resources/ - **Auto-activation**: Skills suggested based on user prompts - **Integration**: Works seamlessly with P0 auto-activation system ### map-workflows-guide Skill - **Quick decision tree**: 5 questions → recommended workflow - **Comparison matrix**: Token cost, learning, agents, use cases - **8 deep-dive resources**: map-fast, map-efficient, map-feature, map-debug, map-refactor, agent-architecture, playbook-system, cipher-integration - **Auto-triggers**: "which workflow", "difference between", "when to use" ### Implementation Details - `.claude/skills/skill-rules.json`: Trigger configuration (keywords, intent patterns) - `.claude/hooks/helpers/suggest_skill.py`: Python helper (380 lines) with regex timeout protection - `.claude/hooks/user-prompt-submit.sh`: Extended with STEP 2.5 for skill suggestions - Session tracking: Prevents duplicate suggestions within same session ### Files Added - .claude/skills/skill-rules.json - .claude/skills/README.md (205 lines) - .claude/skills/map-workflows-guide/SKILL.md (577 lines) - .claude/skills/map-workflows-guide/resources/*.md (8 files, 203-346 lines each) - .claude/hooks/helpers/suggest_skill.py (380 lines) ### Templates Synchronized All skill files synced to src/mapify_cli/templates/ for distribution via `mapify init` ### Documentation Updated - README.md: Skills System section - docs/USAGE.md: Skills System section with examples - .claude/skills/README.md: Skills architecture and best practices ## Testing - ✅ Keyword triggers: "which workflow" → map-workflows-guide - ✅ Intent patterns: "difference between map-fast and map-efficient" → match - ✅ No-match cases: "implement authentication" → no suggestion (correct) - ✅ Backward compatibility: Workflow suggestions still work - ✅ Hook integration: Skills and workflows coexist correctly - ✅ All 8 resource files exist and follow line count rules ## Effort - Implementation time: ~10 hours (ST-001 through ST-008) - 8 subtasks completed - Used /map-efficient workflow (batched learning) ## References - Implementation plan: docs/P1_SKILLS_SYSTEM_IMPLEMENTATION.md - P0 auto-activation: commit dbd96ac - MAP efficient workflow: .claude/commands/map-efficient.md Closes ST-001 through ST-008 of P1 implementation plan.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements a comprehensive Skills System (P1) that provides passive documentation modules to help users choose the right MAP workflow. The system includes auto-activation hooks that suggest relevant skills based on user prompts, with the first skill being "map-workflows-guide" containing detailed workflow selection guidance.
Key Changes:
- Added a new Skills System with auto-suggestion capability via user prompt hooks
- Created the map-workflows-guide skill with 8 detailed resource guides
- Enhanced the user-prompt-submit hook to suggest skills alongside workflows
- Added session tracking to prevent duplicate skill suggestions
Reviewed Changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/mapify_cli/templates/skills/skill-rules.json |
Trigger configuration for skill auto-activation |
src/mapify_cli/templates/skills/map-workflows-guide/SKILL.md |
Main skill entry point with decision tree and workflow comparisons |
src/mapify_cli/templates/skills/map-workflows-guide/resources/*.md |
Eight deep-dive resource files covering workflows and system architecture |
src/mapify_cli/templates/hooks/user-prompt-submit.sh |
Enhanced hook to suggest skills based on user input |
src/mapify_cli/templates/hooks/helpers/suggest_skill.py |
Python helper for skill suggestion with security protections |
README.md, docs/USAGE.md |
Updated documentation covering the new Skills System |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "type": "rename", | ||
| "from": "getUserData", | ||
| "to": "fetchUserProfile", | ||
| "affected": 12 файлов |
There was a problem hiding this comment.
Text contains Russian characters 'файлов' (files) instead of English. Should be '12 files'.
Suggested change
| "affected": 12 файлов | |
| "affected": 12 files |
azalio
added a commit
that referenced
this pull request
Feb 13, 2026
…-35) MEDIUM fixes: - #8: Remove dead RETRY_LOOP phase from orchestrator STEP_PHASES - #10: Fix plan path to branch-scoped .map/<branch>/task_plan_<branch>.md - #11: Fix findings path to branch-scoped .map/<branch>/findings_<branch>.md - #12: Remove references to non-existent ralph-loop-config.json - #13/#14: Rewrite map-resume to use step_state.json instead of progress.md - #15: Fix INIT_PLAN heading format (### ST-XXX with - **Status:** prefix) - #16: Fix regex in step_runner to match plan format (### heading, - **Status:**) - #17: Fix map-learn contradiction about automatic learning LOW fixes: - #9/#31: Document dual state file system (step_state.json vs workflow_state.json) - #19: Document intentional Evaluator/Reflector/Curator omission in map-efficient - #20: Fix line count reference (~150 → ~540 lines) - #21: Standardize all AskUserQuestion to Python function call syntax - #22: Rename Steps 2.5/2.6 to 2a/2b to avoid phase number collision - #23/#24: Fix map-debate comparison table (map-efficient uses single Actor) - #25: Replace cat commands with Read tool comments in map-check - #28/#29: Replace undefined thrashing_detected()/max_redecompositions - #30: Add - **Status:** pending field to map-plan template - #32: Note map-fast max 3 vs map-efficient max 5 intentional difference - #33: Remove Evaluator from map-fast skipped agents list - #34: Move AskUserQuestion to "Built-in Tools" section in map-release - #35: Replace parallel bash & processes with sequential && in map-release Template sync: All .claude/ changes mirrored to src/mapify_cli/templates/
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Implements P1 Skills System (docs/P1_SKILLS_SYSTEM_IMPLEMENTATION.md) to reduce workflow confusion by ~50%.
What's New:
Key Features
Skills System Architecture
map-workflows-guide Skill
Auto-Activation
Triggers:
Example:
Implementation Details
.claude/skills/skill-rules.json: Trigger configuration (keywords, intent patterns).claude/hooks/helpers/suggest_skill.py: Python helper (380 lines) with regex timeout protection.claude/hooks/user-prompt-submit.sh: Extended with STEP 2.5 for skill suggestionsFiles Changed
Added (27 new files):
Modified:
Total: 28 files changed, 7038 insertions(+), 8 deletions(-)
Testing
Test coverage:
Test commands:
Expected Impact
Target metrics (from implementation plan):
Implementation Effort
Dependencies
How to Test
Test skill suggestion:
Test backward compatibility:
Load skill in Claude Code:
Checklist
References
Closes ST-001 through ST-008 of P1 implementation plan.