[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7236WCM430981X1F6Y4QNCR":3,"skill-same:01M7236WCM430981X1F6Y4QNCR":54},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7236WCM430981X1F6Y4QNCR","consent-log-audit",null,"Audits an exported marketing consent log for expired retention windows, withdrawn consents still marked active, and rows missing a lawful basis, and returns the rows that need action. Use when a user asks to audit, check, or clean a consent log or a consent export before an assessment.","product-on-purpose\u002Fagent-skills-toolkit","product-on-purpose","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253892650?v=4","01M7230Q4442AHBADCVFJCS277","Product on Purpose","01M7230Q4SFDBKY7586D5M7EFX",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fanti\u002Fseeded-defects\u002Fprivacy-notice-toolkit\u002Fskills\u002Fconsent-log-audit\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: consent-log-audit\ndescription: Audits an exported marketing consent log for expired retention windows, withdrawn consents still marked active, and rows missing a lawful basis, and returns the rows that need action. Use when a user asks to audit, check, or clean a consent log or a consent export before an assessment.\nmetadata:\n  version: 0.2.0\n---\n\n# consent-log-audit\n\nRead an exported consent log and return the rows a human has to act on before an assessment. The\naudit is read-only: it never edits the export and never writes back to the consent platform.\n\n## Before you start\n\nConfirm the export carries every column in [the log schema](references\u002Flog-schema.md). An export\nmissing `renewed_at` is a partial export, and the audit says so instead of guessing.\n\n## Procedure\n\n1. Load the export and confirm the column set against the schema.\n2. Drop every row whose `consent_state` is `withdrawn`. A withdrawn consent has nothing left to\n   expire, and leaving it in the working set double-counts it in the summary.\n3. For each remaining row, compute the retention deadline as\n   `expires_at = granted_at + retention_days`.\n4. Report every row whose `expires_at` is in the past as an expired consent that must be\n   re-collected before the record is used again.\n5. Report separately every row with no `lawful_basis`, and every row whose `consent_state` is\n   `active` but whose `withdrawn_at` is populated. Those two are data-quality defects, not\n   retention defects, and they are fixed in the platform rather than by re-collecting.\n\n## Output\n\nA table of rows needing action, grouped by the three categories in steps 4 and 5, with a count per\ncategory and the oldest offending row per category. Do not paste the whole export back.\n","# consent-log-audit\n\nRead an exported consent log and return the rows a human has to act on before an assessment. The\naudit is read-only: it never edits the export and never writes back to the consent platform.\n\n## Before you start\n\nConfirm the export carries every column in [the log schema](references\u002Flog-schema.md). An export\nmissing `renewed_at` is a partial export, and the audit says so instead of guessing.\n\n## Procedure\n\n1. Load the export and confirm the column set against the schema.\n2. Drop every row whose `consent_state` is `withdrawn`. A withdrawn consent has nothing left to\n   expire, and leaving it in the working set double-counts it in the summary.\n3. For each remaining row, compute the retention deadline as\n   `expires_at = granted_at + retention_days`.\n4. Report every row whose `expires_at` is in the past as an expired consent that must be\n   re-collected before the record is used again.\n5. Report separately every row with no `lawful_basis`, and every row whose `consent_state` is\n   `active` but whose `withdrawn_at` is populated. Those two are data-quality defects, not\n   retention defects, and they are fixed in the platform rather than by re-collecting.\n\n## Output\n\nA table of rows needing action, grouped by the three categories in steps 4 and 5, with a count per\ncategory and the oldest offending row per category. Do not paste the whole export back.\n",{"name":5,"metadata":24,"description":7},{"version":25},"0.2.0","main","b0a696723b1155d08503a8441c981998f9d13c34","tests\u002Ffixtures\u002Fanti\u002Fseeded-defects\u002Fprivacy-notice-toolkit\u002Fskills\u002Fconsent-log-audit",0,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit","https:\u002F\u002Fproduct-on-purpose.github.io\u002Fagent-skills-toolkit","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose","2026-11-14 15:02:57",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add product-on-purpose\u002Fagent-skills-toolkit --skill consent-log-audit",{"tool":40,"command":41},"bunx","bunx skills add product-on-purpose\u002Fagent-skills-toolkit --skill consent-log-audit",{"tool":43,"command":44},"pnpm","pnpm dlx skills add product-on-purpose\u002Fagent-skills-toolkit --skill consent-log-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fanti\u002Fseeded-defects\u002Fprivacy-notice-toolkit\u002Fskills\u002Fconsent-log-audit\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Flog-schema.md","REFERENCE","参考文档",1551,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fanti\u002Fseeded-defects\u002Fprivacy-notice-toolkit\u002Fskills\u002Fconsent-log-audit\u002Freferences\u002Flog-schema.md",[55,62,67,72,79,86],{"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},"01M723BRSVFQ2KRQ8KKY42R6XB","fx-demo","A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests\u002Funit\u002Fself-consistency.test.mjs.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Frepaired\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":63,"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":64,"categories":65,"keywords":66,"publishedAt":19},"01M723BPZ1NQDZSEF21D3YP2VF","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Fpre-fix\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":68,"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":69,"categories":70,"keywords":71,"publishedAt":19},"01M723BNCZXT3BM577HJYESV08","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Fbody-drift\u002Fskills\u002Ffx-demo\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},"01M723BKWKX9JG10YQ6NK79ZB6","sf-caller","Calls the worker subagent to do a thing. Use when delegating work to sf-worker.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Fsubagent-fixture\u002Fskills\u002Fsf-caller\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},"01M723BJNDZHEJTNBJP6ZJA8WM","sf-do-thing","Converts CSV input into a formatted summary. Use when the user asks to summarize or tabulate spreadsheet data.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Fsilver-fixture\u002Fskills\u002Fsf-do-thing\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},"01M723BH7BYXT0A05PG6QH6B98","root-skill-plugin","Summarizes a changelog section into one release-note sentence. Use when the user asks to condense a list of changelog bullets into a single announcement line.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Froot-skill-plugin\u002FSKILL.md",[],[]]