[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MZE67XWCRCFBKBZWB6AQ1":3,"skill-same:01M77MZE67XWCRCFBKBZWB6AQ1":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M77MZE67XWCRCFBKBZWB6AQ1","mergeiq",null,"Score the complexity of any GitLab MR or GitHub PR using a 4-dimension framework: Size (20%), Cognitive Load (30%), Review Effort (30%), and Risk\u002FImpact (20%). Works with GitLab or GitHub. Zero external dependencies. Use when asked to review, triage, score, or prioritise pull requests and merge requests by complexity.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmergeiq\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mergeiq\ndescription: >\n  Score the complexity of any GitLab MR or GitHub PR using a 4-dimension framework:\n  Size (20%), Cognitive Load (30%), Review Effort (30%), and Risk\u002FImpact (20%).\n  Works with GitLab or GitHub. Zero external dependencies.\n  Use when asked to review, triage, score, or prioritise pull requests and merge requests by complexity.\nlicense: MIT\nmetadata:\n  author: larry.l.fang@gmail.com\n  version: \"1.0.0\"\n  tags: gitlab, github, pull-request, merge-request, code-review, engineering, dora, complexity\n---\n\n# MR \u002F PR Complexity Scorer\n\nA provider-agnostic complexity scoring engine for Merge Requests (GitLab) and Pull Requests\n(GitHub). Built on a 4-dimension framework that captures what \"complex\" actually means in\ncode review — not just lines changed.\n\n## Complexity Dimensions\n\n| Dimension       | Weight | What it measures                                              |\n|-----------------|--------|---------------------------------------------------------------|\n| Size            | 20%    | Volume of code changed (logarithmic — big PRs saturate fast) |\n| Cognitive Load  | 30%    | Directory breadth, cross-module changes, file diversity       |\n| Review Effort   | 30%    | Discussion depth, reviewer count, approval iterations         |\n| Risk \u002F Impact   | 20%    | Breaking changes, migrations, security labels, dependencies   |\n\n**Output tiers:** trivial \u002F simple \u002F moderate \u002F complex \u002F highly_complex\n\n## When to Use\n\n- Triaging a backlog of open PRs by complexity before a review session\n- Flagging high-complexity MRs for mandatory second review\n- Generating weekly complexity trend reports for a team\n- Understanding *why* a PR is taking a long time (dimension breakdown)\n- Building engineering director dashboards (see score_mr.py)\n\n## Quick Start\n\n```bash\n# Score a GitHub PR (basic — just the PR object)\ncurl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002FOWNER\u002FREPO\u002Fpulls\u002FNUMBER\" \\\n     -H \"Authorization: Bearer $GITHUB_TOKEN\" \\\n     | python score_mr.py --provider github\n\n# Score a GitLab MR (with diff stats)\ncurl -s \"https:\u002F\u002Fgitlab.com\u002Fapi\u002Fv4\u002Fprojects\u002FPROJECT_ID\u002Fmerge_requests\u002FIID?include_diff_stats=true\" \\\n     -H \"PRIVATE-TOKEN: $GITLAB_TOKEN\" \\\n     | python score_mr.py --provider gitlab\n\n# Richer scoring — fetch files + reviews too\ncurl -s \"...\u002Fpulls\u002FNUMBER\" > pr.json\ncurl -s \"...\u002Fpulls\u002FNUMBER\u002Ffiles\" > files.json\ncurl -s \"...\u002Fpulls\u002FNUMBER\u002Freviews\" > reviews.json\npython score_mr.py --provider github --pr pr.json --files files.json --reviews reviews.json\n```\n\n## Example Output\n\n```json\n{\n  \"provider\": \"github\",\n  \"id\": 412,\n  \"title\": \"Migrate auth service to OAuth2\",\n  \"score\": {\n    \"total\": 74.2,\n    \"tier\": \"complex\",\n    \"size\": 68.0,\n    \"cognitive\": 81.5,\n    \"review_effort\": 72.0,\n    \"risk_impact\": 60.0\n  },\n  \"summary\": \"High mental load: 14 files across 6 directories, 3 reviewers involved\",\n  \"tier_insight\": \"Needs careful review — high cognitive load and cross-module impact.\",\n  \"stats\": {\n    \"additions\": 412,\n    \"deletions\": 87,\n    \"files_changed\": 14,\n    \"reviewers\": 3,\n    \"discussions\": 9,\n    \"net_lines\": 325\n  }\n}\n```\n\n## Files\n\n```\nmr-complexity-scorer\u002F\n  SKILL.md                      # This file\n  mr_complexity_service.py      # Core 4-dimension scoring engine (pure Python)\n  score_mr.py                   # CLI: pipe in API JSON, get complexity JSON out\n  requirements.txt              # No external deps — stdlib only, Python 3.9+\n  adapters\u002F\n    gitlab_adapter.py           # GitLab MR API dict → MRData\n    github_adapter.py           # GitHub PR API dict → MRData\n```\n\n## Using in Your Code\n\n```python\nfrom mr_complexity_service import MRComplexityCalculator, MRData\nfrom adapters.github_adapter import github_pr_to_mrdata\n\n# Build MRData from a GitHub PR dict (from API or webhook payload)\nmr_data = github_pr_to_mrdata(\n    pr=pr_dict,\n    files=files_list,       # optional: \u002Fpulls\u002F:number\u002Ffiles\n    commits=commits_list,   # optional: \u002Fpulls\u002F:number\u002Fcommits\n    reviews=reviews_list,   # optional: \u002Fpulls\u002F:number\u002Freviews\n)\n\ncalculator = MRComplexityCalculator()\nresult = calculator.calculate(mr_data)\n\nprint(result.complexity_tier)   # \"complex\"\nprint(result.total_score)       # 74.2\nprint(result.human_summary)     # \"High mental load: ...\"\n```\n\n## Enrichment — What's Worth Fetching\n\n| Extra API call                   | Unlocks                         | Worth it?          |\n|----------------------------------|---------------------------------|--------------------|\n| `\u002Fpulls\u002F:n\u002Ffiles`                | File path cognitive analysis    | Yes, always        |\n| `\u002Fpulls\u002F:n\u002Freviews`              | Accurate reviewer count + iters | Yes for review dim |\n| `\u002Fpulls\u002F:n\u002Fcommits`              | Breaking-change detection       | Nice to have       |\n| `\u002Fpulls\u002F:n\u002Fcomments`             | Inline discussion count         | Optional           |\n\nWithout enrichment, the scorer still works — it uses `changed_files`, `review_comments`,\nand `requested_reviewers` from the base PR object. Enriched data improves accuracy.\n\n## Extending to Other Providers\n\nImplement a thin adapter that maps your provider's MR\u002FPR dict to `MRData`:\n\n```python\nfrom mr_complexity_service import MRData\n\ndef linear_issue_to_mrdata(issue: dict) -> MRData:\n    return MRData(\n        iid=issue[\"number\"],\n        title=issue[\"title\"],\n        # ... map your fields\n    )\n```\n\nWorks with: GitLab, GitHub, Gitea, Bitbucket, Azure DevOps — anything with MR\u002FPR metadata.\n\n## Adjusting Weights\n\n```python\nfrom mr_complexity_service import MRComplexityCalculator, ComplexityConfig\n\nconfig = ComplexityConfig(\n    weight_size=0.15,\n    weight_cognitive=0.35,\n    weight_review=0.30,\n    weight_risk=0.20,\n)\ncalculator = MRComplexityCalculator(config=config)\n```\n","# MR \u002F PR Complexity Scorer\n\nA provider-agnostic complexity scoring engine for Merge Requests (GitLab) and Pull Requests\n(GitHub). Built on a 4-dimension framework that captures what \"complex\" actually means in\ncode review — not just lines changed.\n\n## Complexity Dimensions\n\n| Dimension       | Weight | What it measures                                              |\n|-----------------|--------|---------------------------------------------------------------|\n| Size            | 20%    | Volume of code changed (logarithmic — big PRs saturate fast) |\n| Cognitive Load  | 30%    | Directory breadth, cross-module changes, file diversity       |\n| Review Effort   | 30%    | Discussion depth, reviewer count, approval iterations         |\n| Risk \u002F Impact   | 20%    | Breaking changes, migrations, security labels, dependencies   |\n\n**Output tiers:** trivial \u002F simple \u002F moderate \u002F complex \u002F highly_complex\n\n## When to Use\n\n- Triaging a backlog of open PRs by complexity before a review session\n- Flagging high-complexity MRs for mandatory second review\n- Generating weekly complexity trend reports for a team\n- Understanding *why* a PR is taking a long time (dimension breakdown)\n- Building engineering director dashboards (see score_mr.py)\n\n## Quick Start\n\n```bash\n# Score a GitHub PR (basic — just the PR object)\ncurl -s \"https:\u002F\u002Fapi.github.com\u002Frepos\u002FOWNER\u002FREPO\u002Fpulls\u002FNUMBER\" \\\n     -H \"Authorization: Bearer $GITHUB_TOKEN\" \\\n     | python score_mr.py --provider github\n\n# Score a GitLab MR (with diff stats)\ncurl -s \"https:\u002F\u002Fgitlab.com\u002Fapi\u002Fv4\u002Fprojects\u002FPROJECT_ID\u002Fmerge_requests\u002FIID?include_diff_stats=true\" \\\n     -H \"PRIVATE-TOKEN: $GITLAB_TOKEN\" \\\n     | python score_mr.py --provider gitlab\n\n# Richer scoring — fetch files + reviews too\ncurl -s \"...\u002Fpulls\u002FNUMBER\" > pr.json\ncurl -s \"...\u002Fpulls\u002FNUMBER\u002Ffiles\" > files.json\ncurl -s \"...\u002Fpulls\u002FNUMBER\u002Freviews\" > reviews.json\npython score_mr.py --provider github --pr pr.json --files files.json --reviews reviews.json\n```\n\n## Example Output\n\n```json\n{\n  \"provider\": \"github\",\n  \"id\": 412,\n  \"title\": \"Migrate auth service to OAuth2\",\n  \"score\": {\n    \"total\": 74.2,\n    \"tier\": \"complex\",\n    \"size\": 68.0,\n    \"cognitive\": 81.5,\n    \"review_effort\": 72.0,\n    \"risk_impact\": 60.0\n  },\n  \"summary\": \"High mental load: 14 files across 6 directories, 3 reviewers involved\",\n  \"tier_insight\": \"Needs careful review — high cognitive load and cross-module impact.\",\n  \"stats\": {\n    \"additions\": 412,\n    \"deletions\": 87,\n    \"files_changed\": 14,\n    \"reviewers\": 3,\n    \"discussions\": 9,\n    \"net_lines\": 325\n  }\n}\n```\n\n## Files\n\n```\nmr-complexity-scorer\u002F\n  SKILL.md                      # This file\n  mr_complexity_service.py      # Core 4-dimension scoring engine (pure Python)\n  score_mr.py                   # CLI: pipe in API JSON, get complexity JSON out\n  requirements.txt              # No external deps — stdlib only, Python 3.9+\n  adapters\u002F\n    gitlab_adapter.py           # GitLab MR API dict → MRData\n    github_adapter.py           # GitHub PR API dict → MRData\n```\n\n## Using in Your Code\n\n```python\nfrom mr_complexity_service import MRComplexityCalculator, MRData\nfrom adapters.github_adapter import github_pr_to_mrdata\n\n# Build MRData from a GitHub PR dict (from API or webhook payload)\nmr_data = github_pr_to_mrdata(\n    pr=pr_dict,\n    files=files_list,       # optional: \u002Fpulls\u002F:number\u002Ffiles\n    commits=commits_list,   # optional: \u002Fpulls\u002F:number\u002Fcommits\n    reviews=reviews_list,   # optional: \u002Fpulls\u002F:number\u002Freviews\n)\n\ncalculator = MRComplexityCalculator()\nresult = calculator.calculate(mr_data)\n\nprint(result.complexity_tier)   # \"complex\"\nprint(result.total_score)       # 74.2\nprint(result.human_summary)     # \"High mental load: ...\"\n```\n\n## Enrichment — What's Worth Fetching\n\n| Extra API call                   | Unlocks                         | Worth it?          |\n|----------------------------------|---------------------------------|--------------------|\n| `\u002Fpulls\u002F:n\u002Ffiles`                | File path cognitive analysis    | Yes, always        |\n| `\u002Fpulls\u002F:n\u002Freviews`              | Accurate reviewer count + iters | Yes for review dim |\n| `\u002Fpulls\u002F:n\u002Fcommits`              | Breaking-change detection       | Nice to have       |\n| `\u002Fpulls\u002F:n\u002Fcomments`             | Inline discussion count         | Optional           |\n\nWithout enrichment, the scorer still works — it uses `changed_files`, `review_comments`,\nand `requested_reviewers` from the base PR object. Enriched data improves accuracy.\n\n## Extending to Other Providers\n\nImplement a thin adapter that maps your provider's MR\u002FPR dict to `MRData`:\n\n```python\nfrom mr_complexity_service import MRData\n\ndef linear_issue_to_mrdata(issue: dict) -> MRData:\n    return MRData(\n        iid=issue[\"number\"],\n        title=issue[\"title\"],\n        # ... map your fields\n    )\n```\n\nWorks with: GitLab, GitHub, Gitea, Bitbucket, Azure DevOps — anything with MR\u002FPR metadata.\n\n## Adjusting Weights\n\n```python\nfrom mr_complexity_service import MRComplexityCalculator, ComplexityConfig\n\nconfig = ComplexityConfig(\n    weight_size=0.15,\n    weight_cognitive=0.35,\n    weight_review=0.30,\n    weight_risk=0.20,\n)\ncalculator = MRComplexityCalculator(config=config)\n```\n",{"name":5,"license":15,"metadata":24,"description":28},{"tags":25,"author":26,"version":27},"gitlab, github, pull-request, merge-request, code-review, engineering, dora, complexity","larry.l.fang@gmail.com","1.0.0","Score the complexity of any GitLab MR or GitHub PR using a 4-dimension framework: Size (20%), Cognitive Load (30%), Review Effort (30%), and Risk\u002FImpact (20%). Works with GitLab or GitHub. Zero external dependencies. Use when asked to review, triage, score, or prioritise pull requests and merge requests by complexity.\n","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fm\u002Fmergeiq",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill mergeiq",{"tool":44,"command":45},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill mergeiq",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill mergeiq","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmergeiq\u002FSKILL.md",true,[],[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]