[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75XEEDME47X1NEA9TP77ET6":3,"skill-same:01M75XEEDME47X1NEA9TP77ET6":47},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75XEEDME47X1NEA9TP77ET6","project-comments",null,"Use when writing, reviewing or editing code comments and docblocks in this repository, or when about to explain a fix, a design choice or a rejected approach in a comment.","loupe-ac\u002Floupe","loupe-ac","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F345019842?v=4","01M75XDH3V7GZDHB5M0J04BFTP","Loupe","01M75XDH4EWXVAMQEHFV5TWBMF",2,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproject-comments\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: project-comments\ndescription: \"Use when writing, reviewing or editing code comments and docblocks in this repository, or when about to explain a fix, a design choice or a rejected approach in a comment.\"\n---\n\n# Code comments\n\n## Principle\n\nA comment earns its place only if it records something a competent reader cannot\nrecover from the code, its tests, or `git log`. You pay for narration on every\nfuture read.\n\nThe default is no comment. The code says what it does. The test says what it\nguarantees. The commit message says why it changed. A comment covers the fourth\nthing: a constraint that is invisible at the call site and expensive to\nrediscover.\n\n## The budget\n\n| Length | Bar it must clear |\n|---|---|\n| 0 lines | Default. |\n| 1–2 lines | A non-obvious constraint, stated flatly. |\n| 3–5 lines | Two interacting constraints, or a rejected alternative that a reader would otherwise retry. |\n| 6+ lines | Almost always wrong. Move it to the commit message or the PR body. |\n\nAt a sixth line, stop. Ask what the reader must know at this line of code to\navoid breaking something. Write only that.\n\n## Keep\n\nKeep a comment that records an invisible constraint:\n\n- Ordering or coupling that the type system cannot express\n  (*\"must run first; it calls `EntityManager::clear()` as it iterates\"*)\n- Concurrency and transaction boundaries\n- Why you did not use the obvious approach, when a reader would otherwise try\n  it and revert your work\n- External contracts you do not control, such as an API's undocumented behaviour\n\n## Cut\n\nCut what the reader recovers from elsewhere:\n\n- A restatement of what the next line does\n- A tutorial on framework behaviour. Link the concept instead\n- The investigation behind the fix, which belongs in the commit message\n- Benchmark numbers and measurements, which belong in the PR body\n- Design-decision logs and alternatives considered, which belong in the PR body\n- Follow-up work, which belongs on the project board and never in a `TODO`\n  comment\n\n## Example\n\nTen lines shipped on a branch in this repo:\n\n```php\n\u002F\u002F The hourly sweep runs three candidate queries (BillingProfileRepository),\n\u002F\u002F none of which shared indexed columns before this: findExpiredTrials() and\n\u002F\u002F findTrialEndedSubscribers() both filter on (status, trial_ends_at);\n\u002F\u002F findCanceledPastPeriod() filters on (status, current_period_end) instead —\n\u002F\u002F a distinct pair, so it gets its own composite index. Partial indexes\n\u002F\u002F (`WHERE survey_sent_at IS NULL` \u002F `WHERE status = 'canceled'`) would be\n\u002F\u002F tighter, but Postgres rewrites the predicate on storage (adding casts and\n\u002F\u002F parens) and DBAL's schema comparator does not normalize that back to the\n\u002F\u002F declared form, so `migrate-diff` never reaches \"no changes\" — a plain\n\u002F\u002F composite index is the one that round-trips cleanly.\n```\n\nMost of it is a decision log, and it belongs in the PR. One fact survives: what\nstops the next person from \"improving\" this into a partial index.\n\n```php\n\u002F\u002F Partial indexes don't round-trip through DBAL's comparator (Postgres\n\u002F\u002F rewrites the predicate), so migrate-diff never settles. Keep these plain.\n```\n\nThe new comment has two lines. The reader learns the trap, and the reasoning\nlives in the PR.\n\n## Also enforced mechanically\n\nThese checks are hard failures. This skill is the judgment layer above them.\nA 17-line comment that passes every check can still be worth cutting.\n\n- `NoTodosCheck` (`just gamache`) fails on `TODO`, `FIXME` and `XXX`.\n  Follow-ups go on the project board.\n- `SelfContainedCommentsCheck` fails on references to tasks, phases, spec\n  sections, handoff docs or dated decisions. State the underlying fact instead.\n- `CommentBudgetCheck` fails on any run of 6 or more consecutive comment\n  lines, in PHP, Twig, JS, CSS, YAML and the justfile alike.\n\nThe budget check fails instead of warning, because a check that cannot fail is a\ncheck whose green result carries no information.\n\n`@comment-budget-ignore` supplies the judgment the line count lacks. Mark one\nline of a block that earns its length, such as a file header for a distributed\nartefact, and the run stays green. The mark is a decision on the record. An\nunmarked block says it was not worth one.\n\n## Red flags\n\nYou are writing narration if the comment:\n\n- Could start with \"This is because I...\" or \"Note that we tried...\"\n- Explains the diff rather than the code\n- Would be stale the moment someone refactors the lines below it\n- Repeats a name that is already in the signature\n- Is longer than the function it describes\n\nCut every one of these, or move it to the commit message.\n","# Code comments\n\n## Principle\n\nA comment earns its place only if it records something a competent reader cannot\nrecover from the code, its tests, or `git log`. You pay for narration on every\nfuture read.\n\nThe default is no comment. The code says what it does. The test says what it\nguarantees. The commit message says why it changed. A comment covers the fourth\nthing: a constraint that is invisible at the call site and expensive to\nrediscover.\n\n## The budget\n\n| Length | Bar it must clear |\n|---|---|\n| 0 lines | Default. |\n| 1–2 lines | A non-obvious constraint, stated flatly. |\n| 3–5 lines | Two interacting constraints, or a rejected alternative that a reader would otherwise retry. |\n| 6+ lines | Almost always wrong. Move it to the commit message or the PR body. |\n\nAt a sixth line, stop. Ask what the reader must know at this line of code to\navoid breaking something. Write only that.\n\n## Keep\n\nKeep a comment that records an invisible constraint:\n\n- Ordering or coupling that the type system cannot express\n  (*\"must run first; it calls `EntityManager::clear()` as it iterates\"*)\n- Concurrency and transaction boundaries\n- Why you did not use the obvious approach, when a reader would otherwise try\n  it and revert your work\n- External contracts you do not control, such as an API's undocumented behaviour\n\n## Cut\n\nCut what the reader recovers from elsewhere:\n\n- A restatement of what the next line does\n- A tutorial on framework behaviour. Link the concept instead\n- The investigation behind the fix, which belongs in the commit message\n- Benchmark numbers and measurements, which belong in the PR body\n- Design-decision logs and alternatives considered, which belong in the PR body\n- Follow-up work, which belongs on the project board and never in a `TODO`\n  comment\n\n## Example\n\nTen lines shipped on a branch in this repo:\n\n```php\n\u002F\u002F The hourly sweep runs three candidate queries (BillingProfileRepository),\n\u002F\u002F none of which shared indexed columns before this: findExpiredTrials() and\n\u002F\u002F findTrialEndedSubscribers() both filter on (status, trial_ends_at);\n\u002F\u002F findCanceledPastPeriod() filters on (status, current_period_end) instead —\n\u002F\u002F a distinct pair, so it gets its own composite index. Partial indexes\n\u002F\u002F (`WHERE survey_sent_at IS NULL` \u002F `WHERE status = 'canceled'`) would be\n\u002F\u002F tighter, but Postgres rewrites the predicate on storage (adding casts and\n\u002F\u002F parens) and DBAL's schema comparator does not normalize that back to the\n\u002F\u002F declared form, so `migrate-diff` never reaches \"no changes\" — a plain\n\u002F\u002F composite index is the one that round-trips cleanly.\n```\n\nMost of it is a decision log, and it belongs in the PR. One fact survives: what\nstops the next person from \"improving\" this into a partial index.\n\n```php\n\u002F\u002F Partial indexes don't round-trip through DBAL's comparator (Postgres\n\u002F\u002F rewrites the predicate), so migrate-diff never settles. Keep these plain.\n```\n\nThe new comment has two lines. The reader learns the trap, and the reasoning\nlives in the PR.\n\n## Also enforced mechanically\n\nThese checks are hard failures. This skill is the judgment layer above them.\nA 17-line comment that passes every check can still be worth cutting.\n\n- `NoTodosCheck` (`just gamache`) fails on `TODO`, `FIXME` and `XXX`.\n  Follow-ups go on the project board.\n- `SelfContainedCommentsCheck` fails on references to tasks, phases, spec\n  sections, handoff docs or dated decisions. State the underlying fact instead.\n- `CommentBudgetCheck` fails on any run of 6 or more consecutive comment\n  lines, in PHP, Twig, JS, CSS, YAML and the justfile alike.\n\nThe budget check fails instead of warning, because a check that cannot fail is a\ncheck whose green result carries no information.\n\n`@comment-budget-ignore` supplies the judgment the line count lacks. Mark one\nline of a block that earns its length, such as a file header for a distributed\nartefact, and the run stays green. The mark is a decision on the record. An\nunmarked block says it was not worth one.\n\n## Red flags\n\nYou are writing narration if the comment:\n\n- Could start with \"This is because I...\" or \"Note that we tried...\"\n- Explains the diff rather than the code\n- Would be stale the moment someone refactors the lines below it\n- Repeats a name that is already in the signature\n- Is longer than the function it describes\n\nCut every one of these, or move it to the commit message.\n",{"name":5,"description":7},"main","b0ae29efd5410c4e5bf9a6ed6aed4b6c1d82e55a",".agents\u002Fskills\u002Fproject-comments",0,"https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe","https:\u002F\u002Floupe.ac\u002F","https:\u002F\u002Fgithub.com\u002Floupe-ac","The control plane for your agent loops.","2026-11-15 04:50:14",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add loupe-ac\u002Floupe --skill project-comments",{"tool":39,"command":40},"bunx","bunx skills add loupe-ac\u002Floupe --skill project-comments",{"tool":42,"command":43},"pnpm","pnpm dlx skills add loupe-ac\u002Floupe --skill project-comments","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproject-comments\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M75XHSK6MYZ0BH7PJHP378QV","loupe-workers","Use when reading worker runs or bridges through the loupe MCP, stopping, resuming or holding workers, cancelling a bridge command, or recovering workers after a usage limit or network outage.","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002Fplugins\u002Floupe\u002Fskills\u002Floupe-workers\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M75XHPW77P75PPWY8Z7Q9XMZ","loupe-site-review","Use when acting on live-review feedback through the loupe MCP: reading the feedback of a card or project, fixing it, or marking it addressed.","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002Fplugins\u002Floupe\u002Fskills\u002Floupe-site-review\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M75XHK6EZP2FZRQ1B4PS4CGH","loupe-inbox","Use when an agent needs a decision, answer or review from the project owner through the loupe MCP, hands a question or to-do to a person, resumes after an ask closed, or needs its session id.","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002Fplugins\u002Floupe\u002Fskills\u002Floupe-inbox\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M75XHDN9XG71R4T248BZ540A","loupe-documents","Use when writing or revising a document for the Loupe app through the loupe MCP, such as a plan, spec, RFC, audit report or retrospective.","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002Fplugins\u002Floupe\u002Fskills\u002Floupe-documents\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M75XHBERM2SWJ7SJ1EB5M4SB","loupe-discovery","Use when a bridge runs a discovery run of a Loupe project, when a prompt names loupe-discovery, or when writing a readiness report.","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002Fplugins\u002Floupe\u002Fskills\u002Floupe-discovery\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M75XH7X2KCFWPVMQJJAMPYJN","loupe-board","Use when working a Loupe project board through the loupe MCP: reading or writing a card, moving a card, changing the columns, or linking a document or a pull request to a card.","https:\u002F\u002Fgithub.com\u002Floupe-ac\u002Floupe\u002Fblob\u002Fmain\u002Fplugins\u002Floupe\u002Fskills\u002Floupe-board\u002FSKILL.md",[],[]]