[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74GF86JV1GGQY18B4FVC93N":3,"skill-same:01M74GF86JV1GGQY18B4FVC93N":50},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M74GF86JV1GGQY18B4FVC93N","estimate",null,"Estimate a work breakdown with a lightweight three-point method (optimistic, expected, pessimistic); surfaces uncertainty rather than a single date.","MohammadBafkar\u002Fpolymath","MohammadBafkar","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F34940462?v=4","01M74G540TQFZWK6KVAPKFVGNR","Mohammad Bafkar","01M74G541HG19QP9V5DQCJVKYE",0,"MIT","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-planning\u002Fskills\u002Festimate\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: estimate\ndescription: Estimate a work breakdown with a lightweight three-point method (optimistic, expected, pessimistic); surfaces uncertainty rather than a single date.\n---\n\n# estimate\n\n> Three-point (PERT-style) estimates per step. The point isn't a date; it's calibrating uncertainty.\n\n**Mode:** deterministic — same inputs, same output. Follow the steps and the output shape exactly; compute with the named script or tool, never by estimate; add nothing the shape does not ask for.\n\n## When to use\n\n- A work breakdown exists and stakeholders need a sense of when.\n- The user says \"how long will this take?\".\n\n## Inputs\n\n- A work breakdown (required) — output of `polymath-planning:work-breakdown` or any list of steps. None given: stop and ask for one (or run `work-breakdown` first); never estimate an undecomposed goal.\n- O \u002F E \u002F P hours per step (required) — from the people doing the work. Unattended run (workflow step, subagent): draft them yourself, append `?` to every drafted number, and title the output **DRAFT — numbers not confirmed by the team**.\n- Which steps are on the critical path (optional, default: all — sequential).\n- Team focus hours per working day (optional, default 5; never assume 8).\n\n## Procedure\n\n1. For each step, collect three numbers in hours:\n   - **Optimistic** (~10th percentile): everything goes right.\n   - **Expected** (~50th): typical run.\n   - **Pessimistic** (~90th): known knowns go wrong.\n2. **Compute with the bundled script — never by hand.** It applies per step `μ = (O + 4E + P) \u002F 6` and `σ = (P − O) \u002F 2.56` (O and P are 10th\u002F90th percentiles, so classic PERT's `\u002F6` would understate σ), sums the critical-path means, root-sum-squares the critical-path σ, and reports the 80% interval `μ ± 1.28 σ_total`:\n\n   ```bash\n   python3 \"${POLYMATH_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}\u002Fskills\u002Festimate\u002Fscripts\u002Fpert.py\" \\\n     --goal \"\u003Cgoal>\" --focus-hours 5 \u003C\u003C'CSV'\n   step,o,e,p,critical\n   Write the migration,2,4,8,y\n   Add the limiter middleware,1,2,8,y\n   Update the runbook,1,1,2,n\n   CSV\n   ```\n\n   Exit 2 means bad input (e.g. O > E): fix the row, never the arithmetic.\n3. Paste the script output verbatim. Do not re-round, re-order, or \"correct\" it.\n4. Act on its flags: any step with `P \u002F O > 3` is poorly scoped — decompose it and re-run before anyone commits to the total. Steps that share a cause of delay (same unknown, same team) are correlated: say so, because the interval assumes independence and is too narrow for them. **Summing all the O's and all the P's is not a confidence interval.**\n5. Write the result to `docs\u002Fplans\u002F\u003Cslug>-estimate.md` when a plan exists for it (same slug as the plan); otherwise return it inline.\n\n## Output\n\nThe script's block, verbatim, then one line of correlation notes:\n\n```text\nEstimate: Rate-limit \u002Flogin\n\nPer-step (hours):\n  Step                               O     E     P    Mean      σ\n  1. Write the migration             2     4     8     4.3    2.3   ← P\u002FO > 3, decompose\n  2. Add the limiter middleware      1     2     8     2.8    2.7   ← P\u002FO > 3, decompose\n  3. Update the runbook              1     1     2     1.2    0.4   ← off critical path\n\nCritical path mean: 7.2 h ≈ 1.4 working days at 5 focus h\u002Fday\n80% interval: 2.6 .. 11.8 h  (0.5 .. 2.4 days; σ_total = 3.6 h, independent steps — correlated risks widen it)\nDecompose before committing: Write the migration, Add the limiter middleware\n\nCorrelated risks: steps 1–2 share the unknown \"does the gateway expose client IP?\" — treat 11.8 h as optimistic.\n```\n\n## Quality bar\n\n- Every number in the output came from the script; none was computed or adjusted in prose.\n- Estimates in hours, not story points. Story points hide uncertainty rather than surface it.\n- Any step with `P \u002F O > 3` is flagged for decomposition; don't silently commit to it.\n- Calendar conversion uses the team's actual focus hours per day (not 8).\n- Drafted (unconfirmed) numbers carry `?` and the DRAFT title — never presented as the team's estimate.\n","# estimate\n\n> Three-point (PERT-style) estimates per step. The point isn't a date; it's calibrating uncertainty.\n\n**Mode:** deterministic — same inputs, same output. Follow the steps and the output shape exactly; compute with the named script or tool, never by estimate; add nothing the shape does not ask for.\n\n## When to use\n\n- A work breakdown exists and stakeholders need a sense of when.\n- The user says \"how long will this take?\".\n\n## Inputs\n\n- A work breakdown (required) — output of `polymath-planning:work-breakdown` or any list of steps. None given: stop and ask for one (or run `work-breakdown` first); never estimate an undecomposed goal.\n- O \u002F E \u002F P hours per step (required) — from the people doing the work. Unattended run (workflow step, subagent): draft them yourself, append `?` to every drafted number, and title the output **DRAFT — numbers not confirmed by the team**.\n- Which steps are on the critical path (optional, default: all — sequential).\n- Team focus hours per working day (optional, default 5; never assume 8).\n\n## Procedure\n\n1. For each step, collect three numbers in hours:\n   - **Optimistic** (~10th percentile): everything goes right.\n   - **Expected** (~50th): typical run.\n   - **Pessimistic** (~90th): known knowns go wrong.\n2. **Compute with the bundled script — never by hand.** It applies per step `μ = (O + 4E + P) \u002F 6` and `σ = (P − O) \u002F 2.56` (O and P are 10th\u002F90th percentiles, so classic PERT's `\u002F6` would understate σ), sums the critical-path means, root-sum-squares the critical-path σ, and reports the 80% interval `μ ± 1.28 σ_total`:\n\n   ```bash\n   python3 \"${POLYMATH_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}\u002Fskills\u002Festimate\u002Fscripts\u002Fpert.py\" \\\n     --goal \"\u003Cgoal>\" --focus-hours 5 \u003C\u003C'CSV'\n   step,o,e,p,critical\n   Write the migration,2,4,8,y\n   Add the limiter middleware,1,2,8,y\n   Update the runbook,1,1,2,n\n   CSV\n   ```\n\n   Exit 2 means bad input (e.g. O > E): fix the row, never the arithmetic.\n3. Paste the script output verbatim. Do not re-round, re-order, or \"correct\" it.\n4. Act on its flags: any step with `P \u002F O > 3` is poorly scoped — decompose it and re-run before anyone commits to the total. Steps that share a cause of delay (same unknown, same team) are correlated: say so, because the interval assumes independence and is too narrow for them. **Summing all the O's and all the P's is not a confidence interval.**\n5. Write the result to `docs\u002Fplans\u002F\u003Cslug>-estimate.md` when a plan exists for it (same slug as the plan); otherwise return it inline.\n\n## Output\n\nThe script's block, verbatim, then one line of correlation notes:\n\n```text\nEstimate: Rate-limit \u002Flogin\n\nPer-step (hours):\n  Step                               O     E     P    Mean      σ\n  1. Write the migration             2     4     8     4.3    2.3   ← P\u002FO > 3, decompose\n  2. Add the limiter middleware      1     2     8     2.8    2.7   ← P\u002FO > 3, decompose\n  3. Update the runbook              1     1     2     1.2    0.4   ← off critical path\n\nCritical path mean: 7.2 h ≈ 1.4 working days at 5 focus h\u002Fday\n80% interval: 2.6 .. 11.8 h  (0.5 .. 2.4 days; σ_total = 3.6 h, independent steps — correlated risks widen it)\nDecompose before committing: Write the migration, Add the limiter middleware\n\nCorrelated risks: steps 1–2 share the unknown \"does the gateway expose client IP?\" — treat 11.8 h as optimistic.\n```\n\n## Quality bar\n\n- Every number in the output came from the script; none was computed or adjusted in prose.\n- Estimates in hours, not story points. Story points hide uncertainty rather than surface it.\n- Any step with `P \u002F O > 3` is flagged for decomposition; don't silently commit to it.\n- Calendar conversion uses the team's actual focus hours per day (not 8).\n- Drafted (unconfirmed) numbers carry `?` and the DRAFT title — never presented as the team's estimate.\n",{"name":5,"description":7},"main","23f6e21841a39580c9da2b5ec941f39dda17cd86","plugins\u002Fpolymath-planning\u002Fskills\u002Festimate","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath","https:\u002F\u002Fgithub.com\u002FMohammadBafkar","2026-10-29 18:34:59",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add MohammadBafkar\u002Fpolymath --skill estimate",{"tool":36,"command":37},"bunx","bunx skills add MohammadBafkar\u002Fpolymath --skill estimate",{"tool":39,"command":40},"pnpm","pnpm dlx skills add MohammadBafkar\u002Fpolymath --skill estimate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-planning\u002Fskills\u002Festimate\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"scripts\u002Fpert.py","SCRIPT","脚本",5402,"https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-planning\u002Fskills\u002Festimate\u002Fscripts\u002Fpert.py",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M74GN87EBRHM9N87M7AP1HDD","runbook","Write or refresh an operational runbook for an alert\u002Fsymptom; structured as TL;DR + Pre-checks + Steps + Verification + Rollback + Escalation.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Frunbook\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M74GN5GPKEC1JEKP2DFQNEQJ","rfc","Draft a lightweight design RFC to docs\u002Frfcs\u002F\u003Cslug>.md; Summary, Motivation, Detailed design, Drawbacks, Alternatives, Unresolved questions. A proposal to debate, not a recorded decision (adr).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Frfc\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M74GN2F4CWPMV4X09TG4E304","editorial-pass","Review and tighten prose in a Markdown artifact for a target tone (terse, formal, friendly) without dropping information; preserve quotations and load-bearing constraints.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Feditorial-pass\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M74GMZWGYMZ37C4DYGT6P23G","architecture-review-facilitation","Run an architecture review as a process — entry criteria, reviewer checklist, decision log, and follow-up actions — pairing the design artifact with a red-team pass.","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Farchitecture-review-facilitation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M74GMXVX0YX3ETDXS527XDGM","architecture-doc","Write a C4-style architecture document; System Context + Containers (+ Components when interesting) with mermaid diagrams. Describes structure, not a decision (adr) or proposal (rfc).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Farchitecture-doc\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M74GMVG1WSMCK066S3KE6V5K","adr","Write an Architecture Decision Record (Michael Nygard format) to docs\u002Fadrs\u002FNNNN-\u003Cslug>.md; frontmatter validated by the ADR artifact schema. Records a made decision, not a proposal to debate (rfc).","https:\u002F\u002Fgithub.com\u002FMohammadBafkar\u002Fpolymath\u002Fblob\u002Fmain\u002Fplugins\u002Fpolymath-writing\u002Fskills\u002Fadr\u002FSKILL.md",[],[]]