muscle-memory-recognition

star 0

Identify opportunities to build automation scripts (muscles) from repetitive or heavy-lifting tasks

fabioc-aloha By fabioc-aloha schedule Updated 2/21/2026

name: "Muscle Memory Recognition" description: "Identify opportunities to build automation scripts (muscles) from repetitive or heavy-lifting tasks"

Muscle Memory Recognition

Expert in identifying when manual work should become automated scripts.

Capabilities

  • Recognize repetitive task patterns
  • Identify heavy-lifting operations suitable for scripting
  • Evaluate automation ROI (time saved vs creation effort)
  • Recommend muscle creation with language/framework
  • Connect new muscles to trifecta files

When to Use This Skill

  • Same task performed manually 3+ times
  • Multi-step operations with consistent patterns
  • Error-prone manual processes
  • Time-consuming operations during conversation
  • Complex file manipulation or validation

Muscle Identification Signals

Signal Strength Example
Repetition (3+ occurrences) ๐Ÿ”ด Strong "Run these 5 commands again"
Multi-step sequence (4+ steps) ๐Ÿ”ด Strong "Create folder, copy files, update config, validate"
Error-prone operations ๐ŸŸก Medium "Format all files, check for inconsistencies"
Time sink in conversation ๐ŸŸก Medium Operations taking >30 seconds
Cross-session recurrence ๐Ÿ”ด Strong "We did this last session too"
Validation patterns ๐ŸŸก Medium "Check all X for Y property"
Batch operations ๐ŸŸก Medium "Do X to all files matching pattern"

Anti-Signals (Don't Automate)

Signal Reason
One-time operation ROI too low
Requires human judgment each time Can't be scripted reliably
Simple single command Already optimal
Rapidly changing requirements Script would be constantly outdated
Security-sensitive operations Manual review required

Muscle Creation Decision Matrix

IF (repetition >= 3) AND (steps >= 2):
    โ†’ CREATE MUSCLE (high value)

IF (repetition >= 2) AND (error_prone = true):
    โ†’ CREATE MUSCLE (reliability value)

IF (time_per_execution > 1min) AND (expected_uses >= 5):
    โ†’ CREATE MUSCLE (time value)

IF (steps >= 5) AND (pattern_consistent = true):
    โ†’ CREATE MUSCLE (complexity value)

ELSE:
    โ†’ DEFER (observe for more signals)

Language Selection Guide

Comparison Matrix

Factor PowerShell Node.js (JS/TS) Python
Windows native โœ… No runtime needed โŒ Requires Node โŒ Requires Python
Cross-platform โš ๏ธ Works but quirks โœ… Excellent โœ… Excellent
File operations โœ… Native cmdlets โœ… Good with fs โœ… Good with pathlib
JSON handling โš ๏ธ ConvertFrom-Json โœ… Native โœ… Native
Pipeline syntax โœ… Excellent โŒ Requires chaining โŒ Requires chaining
Async operations โš ๏ธ Jobs (awkward) โœ… Native async/await โœ… asyncio
npm ecosystem โŒ No โœ… Full access โŒ No (pip instead)
Type safety โŒ No โœ… TypeScript โš ๏ธ Type hints
Startup speed โœ… Fast โš ๏ธ ~200ms Node init โš ๏ธ Similar
VS Code integration โš ๏ธ Limited โœ… Extension API โŒ No

Task-to-Language Mapping

Task Pattern Recommended Reason
File validation / scanning PowerShell Get-ChildItem, pipeline, regex built-in
JSON config manipulation Node.js Native JSON, better object handling
CLI tools with nice UX TypeScript chalk, inquirer, spinners
npm library usage Node.js Direct access to ecosystem
Quick one-off scripts PowerShell No build step, immediate
Cross-platform / heir-critical Node.js Portable across systems
API calls with types TypeScript fetch, async/await, type safety
Text/Markdown transforms Node.js String methods, regex literals
Audits with reporting PowerShell Format-Table, pipeline filtering

Decision Algorithm

IF (validation OR audit OR file-scanning):
    โ†’ PowerShell (pipeline + cmdlets shine here)

IF (JSON manipulation OR npm libraries needed):
    โ†’ Node.js (native JSON + ecosystem access)

IF (CLI tool with user interaction):
    โ†’ TypeScript (type safety + UX libraries like chalk)

IF (quick prototype OR Windows-only):
    โ†’ PowerShell (no setup required)

IF (cross-platform required OR heir-critical):
    โ†’ Node.js (portable, same behavior everywhere)

Muscle Naming Convention

{action}-{target}.{ext}

Examples:
- validate-skills.ps1
- sync-architecture.js
- normalize-paths.ps1
- gamma-generator.js
- brain-qa.ps1

Integration Checklist

When creating a new muscle:

  • Create script in .github/muscles/
  • Add to inheritance.json (master-only or inheritable)
  • Update referencing trifecta files (skills/instructions/prompts)
  • Add to TRIFECTA-CATALOG.md if part of trifecta
  • Document invocation in referencing files
  • Test from heir context if inheritable

Example Prompts

  • "We've done this 3 times now, should we script it?"
  • "This validation takes forever, can we automate it?"
  • "I keep making mistakes with these steps"
  • "What muscles exist for this type of task?"
  • "Should this be a muscle or stay manual?"

Output Format

When identifying a muscle opportunity:

## ๐Ÿ’ช Muscle Opportunity Detected

**Task**: [Description of repetitive/heavy task]
**Signal**: [Which signal triggered this]
**Estimated Value**: [Time saved ร— Expected uses]

### Recommendation
- **Action**: Create muscle / Defer / Keep manual
- **Language**: [Recommended language]
- **Name**: [Suggested muscle name]
- **Location**: `.github/muscles/{name}`
- **Inheritance**: master-only / inheritable

### Implementation Notes
[Any specific considerations for this muscle]

Related Skills

Synapses

  • Bootstrap Learning โ†’ This skill (enables): Learning identifies automation opportunities
  • This skill โ†’ Trifecta System (produces): Muscles become part of trifectas
  • Deep Thinking โ†’ This skill (informs): Complex analysis reveals automation patterns
Install via CLI
npx skills add https://github.com/fabioc-aloha/ai-wallpaper-generator --skill muscle-memory-recognition
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
fabioc-aloha
fabioc-aloha Explore all skills →