[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MSKD0S0GAEQKVSE0R6HYD":3,"skill-same:01M75MSKD0S0GAEQKVSE0R6HYD":44},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M75MSKD0S0GAEQKVSE0R6HYD","product-loss-descent",null,"selamy-labs\u002Fagent-skills","selamy-labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287832944?v=4","01M75MDKJ0CKAM94KZ7TWQJM5Q","01M75MDKJNP3TATHAW1MX1FWM6",0,"MIT","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproduct-loss-descent\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: product-loss-descent\ndescription: Use when iterating on a product, app, or codebase across multiple work sessions. Treat development like a training loop: define a measurable product loss, drive it monotonically down each epoch with NO regressions, and stop when loss plateaus.\n---\n\n# Product Loss Descent (PLD)\n\nDevelop a product the way you train a model: as a **loss-minimizing loop**. Each sweep over the work is an **epoch**; every epoch must **decrease the loss**; you **stop when the loss plateaus**.\n\n## The loss function\nDefine product loss as a measurable, observable quantity — the sum of what's wrong with the product right now:\n\n```\nloss = open_bugs\n     + missing_required_features\n     + UI\u002FUX_roughness\n     + regressions            # ← weighted heavily; see the hard rule\n```\n\nPick a concrete proxy for each term so the number is real, not a vibe (e.g. failing\u002Fmissing test count, open issues, a rubric score for UI roughness, broken user journeys). You don't need precision — you need a number that moves in the right direction and that you measure the same way each epoch.\n\n## The two hard rules\n1. **Monotonic, no-regression.** An epoch may **never introduce a new bug or break a working feature.** A change that fixes 3 things but breaks 1 is a *failed* epoch — the regression term dominates. Working behavior is sacred; protect it with tests before you touch it (this is the regression-ratchet, made continuous).\n2. **Stop at the plateau.** When an epoch yields only diminishing returns — loss barely moves — **stop the session.** Plateaued effort is wasted effort and a source of accidental regressions. Resume in a later session with fresh scope.\n\n## The loop\n```\n1. MEASURE loss (baseline for this epoch — the same metrics each time)\n2. Pick the highest-loss term and reduce it\n3. VERIFY: re-measure. Did loss go DOWN? Did any term go UP? (no-regression check)\n4. If a term went up → revert\u002Ffix until it doesn't, before moving on\n5. Repeat until loss plateaus → STOP for the session\n```\n\n## Why this works \u002F when to use it\n- It makes \"are we done?\" **measurable** instead of a judgment call — done = plateau, not \"feels finished\".\n- It forbids the most common failure: shipping a fix that quietly breaks something else.\n- It bounds session length rationally (stop at diminishing returns) instead of grinding.\n\nUse it for any sustained build\u002Fimprove\u002Fpolish effort. It composes with: process-aware completion (loss is the evidence), test-driven development (tests define the bug\u002Fregression terms), and behavior-evidence audits (the no-regression check). It is **not** for one-shot tasks with a single obvious endpoint.\n\n## Anti-patterns\n- A \"loss\" you don't actually measure → you're guessing, not descending.\n- Tolerating a small regression \"for now\" → the regression term is the one you weight most; never.\n- Grinding past the plateau → diminishing returns + rising regression risk.\n- Adding new features while bugs are open and loss is high → reduce existing loss first.\n","# Product Loss Descent (PLD)\n\nDevelop a product the way you train a model: as a **loss-minimizing loop**. Each sweep over the work is an **epoch**; every epoch must **decrease the loss**; you **stop when the loss plateaus**.\n\n## The loss function\nDefine product loss as a measurable, observable quantity — the sum of what's wrong with the product right now:\n\n```\nloss = open_bugs\n     + missing_required_features\n     + UI\u002FUX_roughness\n     + regressions            # ← weighted heavily; see the hard rule\n```\n\nPick a concrete proxy for each term so the number is real, not a vibe (e.g. failing\u002Fmissing test count, open issues, a rubric score for UI roughness, broken user journeys). You don't need precision — you need a number that moves in the right direction and that you measure the same way each epoch.\n\n## The two hard rules\n1. **Monotonic, no-regression.** An epoch may **never introduce a new bug or break a working feature.** A change that fixes 3 things but breaks 1 is a *failed* epoch — the regression term dominates. Working behavior is sacred; protect it with tests before you touch it (this is the regression-ratchet, made continuous).\n2. **Stop at the plateau.** When an epoch yields only diminishing returns — loss barely moves — **stop the session.** Plateaued effort is wasted effort and a source of accidental regressions. Resume in a later session with fresh scope.\n\n## The loop\n```\n1. MEASURE loss (baseline for this epoch — the same metrics each time)\n2. Pick the highest-loss term and reduce it\n3. VERIFY: re-measure. Did loss go DOWN? Did any term go UP? (no-regression check)\n4. If a term went up → revert\u002Ffix until it doesn't, before moving on\n5. Repeat until loss plateaus → STOP for the session\n```\n\n## Why this works \u002F when to use it\n- It makes \"are we done?\" **measurable** instead of a judgment call — done = plateau, not \"feels finished\".\n- It forbids the most common failure: shipping a fix that quietly breaks something else.\n- It bounds session length rationally (stop at diminishing returns) instead of grinding.\n\nUse it for any sustained build\u002Fimprove\u002Fpolish effort. It composes with: process-aware completion (loss is the evidence), test-driven development (tests define the bug\u002Fregression terms), and behavior-evidence audits (the no-regression check). It is **not** for one-shot tasks with a single obvious endpoint.\n\n## Anti-patterns\n- A \"loss\" you don't actually measure → you're guessing, not descending.\n- Tolerating a small regression \"for now\" → the regression term is the one you weight most; never.\n- Grinding past the plateau → diminishing returns + rising regression risk.\n- Adding new features while bugs are open and loss is high → reduce existing loss first.\n",{},"main","54007b08157feb09e5bb9d7ff5ce4ddd21625dbf","skills\u002Fproduct-loss-descent",3,"https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills","https:\u002F\u002Fselamy.dev","https:\u002F\u002Fgithub.com\u002Fselamy-labs","2026-11-15 03:50:58",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add selamy-labs\u002Fagent-skills --skill product-loss-descent",{"tool":36,"command":37},"bunx","bunx skills add selamy-labs\u002Fagent-skills --skill product-loss-descent",{"tool":39,"command":40},"pnpm","pnpm dlx skills add selamy-labs\u002Fagent-skills --skill product-loss-descent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fproduct-loss-descent\u002FSKILL.md",true,[],[45,52,59,66,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":17},"01M75MY70JMSNFHQX63G90SKZ7","silence-phrase","A seemingly normal skill.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsilence-phrase\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":17},"01M75MY5PKVKY60M8H2DFTW58C","selamy-bad-skill","This skill has a vendor prefix that should be rejected.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprefixed-name\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":17},"01M75MY1TKXCH6WYN9ET0W4T02","oversized-description","This is a very long description that contains way too many words and should be rejected by the validator because it exceeds the forty five word limit that is enforced by the naming lint checker which ensures skill descriptions stay concise and readable for humans and machines alike without unnecessary verbosity or padding","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Foversized-description\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":17},"01M75MY0SZ7EKT99NWJEJ8HKS2","missing-frontmatter","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fmissing-frontmatter\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":17},"01M75MXYMBREE6D7KRR87YM4DH","malicious-skill","A poisoned skill used only as a negative fixture for the security gate.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fmalicious-skill\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":17},"01M75MXX2B7AC2QSSRRQQXTA0N","leaking-org-name","A skill about something.","https:\u002F\u002Fgithub.com\u002Fselamy-labs\u002Fagent-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fleaking-org-name\u002FSKILL.md",[],[]]