agentleFS
Abdox-menaraAbdox-menara/guard-skills/skills/workflow/user-story-mapping/SKILL.md

user-story-mapping

Skill0 starsChanged 3 months agoMITView on GitHub

ULTRA-ADVANCED User Story Mapping - User story mapping - backlog organization, release slicing, persona workflow discovery

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use derisk-measurement-advisor, organic-growth-advisor and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • DIAL-StudioSkill

    derisk-measurement-advisor

    Identify what to measure, test, or track to de-risk a product or AI idea. Use when stress-testing an idea across internal (DUFV) and external (PESTEL) dimensions.

    Also in 3 projects that use this

  • DIAL-StudioSkill

    organic-growth-advisor

    Identify which organic growth path to pursue — new segments, geographies, channels, or products. Use when diagnosing where a growth constraint lives and which McKinsey growth level to act\

    Also in 3 projects that use this

  • ian-lawrence423Skill

    skill-authoring-workflow

    Create or update repo skills with compliant metadata, dependency contracts, package sync, marketplace descriptions, and validation workflow.

    Also in 3 projects that use this

  • skytiger6724Skill

    lean-canvas

    Generate a Lean Canvas with problem, solution, metrics, cost structure, UVP, unfair advantage, channels, segments, and revenue. Use when exploring a lean startup canvas, testing a business hypothesis, or modeling a new venture.

    Also in 4 projects that use this

  • AnthropicSkill

    sql-queries

    Write correct, performant SQL across all major data warehouse dialects (Snowflake, BigQuery, Databricks, PostgreSQL, etc.). Use when writing queries, optimizing slow SQL, translating between dialects, or building complex analytical queries with CTEs, window functions, or aggregations.

    Also in 3 projects that use this

  • AnthropicSkill

    customer-research

    Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.

    Also in 3 projects that use this

The file

Files
SKILL.md

User Story Mapping - ULTRA-ADVANCED v1.0

Overview

User story mapping - backlog organization, release slicing, persona workflow discovery. This skill scans codebases for violations, scores compliance, and generates actionable recommendations.

Detection Patterns

PatternDescriptionSeverity
Missing user tasksActivities without breakdown stepsmedium
No release sliceMVP or minimal release not identifiedhigh
Missing personasDifferent user types ignoredhigh
Wrong activity orderWorkflow sequence incorrecthigh
No technical storiesOnly UI-facing user storiesmedium

Scoring

  • A (90-100): Excellent
  • B (75-89): Good
  • C (60-74): Fair
  • D (40-59): Poor
  • F (0-39): Failing

Implementation

import re, os
from typing import Dict, List, Set, Any
from datetime import datetime

class UserStoryMapping:
    def __init__(self):
        self.file_results = {}

    def scan_file(self, file_path: str) -> Dict:
        try:
            with open(file_path, 'r', encoding='utf-8', errors='ignore') as f:
                content = f.read()
            return self._analyze(content, file_path)
        except Exception as e:
            return {'error': str(e), 'file': file_path}

    def _analyze(self, content: str, file_path: str) -> Dict:
        issues = []
        for pid, info in self._patterns().items():
            matches = re.findall(info['regex'], content, re.IGNORECASE | re.MULTILINE)
            if matches:
                issues.append({'id': pid, 'severity': info['severity'],
                               'count': len(matches), 'message': info['message']})
        score = max(0.0, 100.0 - sum(self._weight(i['severity']) * i['count'] for i in issues))
        return {'file': file_path, 'issues': issues, 'score': round(score, 1),
                 'grade': self._grade(score), 'analyzed_at': datetime.now().isoformat()}

    def _patterns(self) -> Dict:
        return {}

    def _weight(self, s: str) -> float:
        return {'critical': 10.0, 'high': 7.0, 'medium': 5.0, 'low': 2.0}.get(s, 5.0)

    def _grade(self, s: float) -> str:
        return 'A' if s >= 90 else 'B' if s >= 75 else 'C' if s >= 60 else 'D' if s >= 40 else 'F'

    def scan_directory(self, d: str, exts: Set[str] = None) -> Dict:
        results = {}
        skip = {'.git', 'node_modules', 'venv', '__pycache__', 'target', 'build', 'dist'}
        for root, dirs, files in os.walk(d):
            dirs[:] = [dd for dd in dirs if not dd.startswith('.') and dd not in skip]
            for f in files:
                if exts and not any(f.endswith(e) for e in exts): continue
                results[os.path.join(root, f)] = self.scan_file(os.path.join(root, f))
        return results

    def generate_report(self, results: Dict) -> Dict:
        if not results: return {'error': 'No results'}
        total_issues = sum(len(r.get('issues', [])) for r in results.values() if 'issues' in r)
        scores = [r.get('score', 0) for r in results.values() if 'score' in r]
        avg = sum(scores) / len(scores) if scores else 0
        return {'files_scanned': len(results), 'total_issues': total_issues,
                 'avg_score': round(avg, 1), 'grade': self._grade(avg),
                 'critical': sum(1 for r in results.values() for i in r.get('issues', []) if i.get('severity') == 'critical'),
                 'recommendations': []}

Version: 1.0.0 Status: PRODUCTION READY Total Patterns: 5

See Also

  • example-mapping
  • impact-mapping
  • story-splitting
  • user-research
  • value-stream-mapping

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.