[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75BPY1E37V8E6YN8Y66QBX7":3,"skill-same:01M75BPY1E37V8E6YN8Y66QBX7":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75BPY1E37V8E6YN8Y66QBX7","architecture-decision-records",null,"Capture architectural decisions made during Claude Code sessions as structured ADRs. Auto-detects decision moments, records context, alternatives considered, and rationale. Maintains an ADR log so future developers understand why the codebase is shaped the way it is.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture-decision-records\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: architecture-decision-records\ndescription: Capture architectural decisions made during Claude Code sessions as structured ADRs. Auto-detects decision moments, records context, alternatives considered, and rationale. Maintains an ADR log so future developers understand why the codebase is shaped the way it is.\norigin: ECC\n---\n\n# Architecture Decision Records\n\nCapture architectural decisions as they happen during coding sessions. Instead of decisions living only in Slack threads, PR comments, or someone's memory, this skill produces structured ADR documents that live alongside the code.\n\n## When to Activate\n\n- User explicitly says \"let's record this decision\" or \"ADR this\"\n- User chooses between significant alternatives (framework, library, pattern, database, API design)\n- User says \"we decided to...\" or \"the reason we're doing X instead of Y is...\"\n- User asks \"why did we choose X?\" (read existing ADRs)\n- During planning phases when architectural trade-offs are discussed\n\n## ADR Format\n\nUse the lightweight ADR format proposed by Michael Nygard, adapted for AI-assisted development:\n\n```markdown\n# ADR-NNNN: [Decision Title]\n\n**Date**: YYYY-MM-DD\n**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN\n**Deciders**: [who was involved]\n\n## Context\n\nWhat is the issue that we're seeing that is motivating this decision or change?\n\n[2-5 sentences describing the situation, constraints, and forces at play]\n\n## Decision\n\nWhat is the change that we're proposing and\u002For doing?\n\n[1-3 sentences stating the decision clearly]\n\n## Alternatives Considered\n\n### Alternative 1: [Name]\n- **Pros**: [benefits]\n- **Cons**: [drawbacks]\n- **Why not**: [specific reason this was rejected]\n\n### Alternative 2: [Name]\n- **Pros**: [benefits]\n- **Cons**: [drawbacks]\n- **Why not**: [specific reason this was rejected]\n\n## Consequences\n\nWhat becomes easier or more difficult to do because of this change?\n\n### Positive\n- [benefit 1]\n- [benefit 2]\n\n### Negative\n- [trade-off 1]\n- [trade-off 2]\n\n### Risks\n- [risk and mitigation]\n```\n\n## Workflow\n\n### Capturing a New ADR\n\nWhen a decision moment is detected:\n\n1. **Initialize (first time only)** — if `docs\u002Fadr\u002F` does not exist, ask the user for confirmation before creating the directory, a `README.md` seeded with the index table header (see ADR Index Format below), and a blank `template.md` for manual use. Do not create files without explicit consent.\n2. **Identify the decision** — extract the core architectural choice being made\n3. **Gather context** — what problem prompted this? What constraints exist?\n4. **Document alternatives** — what other options were considered? Why were they rejected?\n5. **State consequences** — what are the trade-offs? What becomes easier\u002Fharder?\n6. **Assign a number** — scan existing ADRs in `docs\u002Fadr\u002F` and increment\n7. **Confirm and write** — present the draft ADR to the user for review. Only write to `docs\u002Fadr\u002FNNNN-decision-title.md` after explicit approval. If the user declines, discard the draft without writing any files.\n8. **Update the index** — append to `docs\u002Fadr\u002FREADME.md`\n\n### Reading Existing ADRs\n\nWhen a user asks \"why did we choose X?\":\n\n1. Check if `docs\u002Fadr\u002F` exists — if not, respond: \"No ADRs found in this project. Would you like to start recording architectural decisions?\"\n2. If it exists, scan `docs\u002Fadr\u002FREADME.md` index for relevant entries\n3. Read matching ADR files and present the Context and Decision sections\n4. If no match is found, respond: \"No ADR found for that decision. Would you like to record one now?\"\n\n### ADR Directory Structure\n\n```\ndocs\u002F\n└── adr\u002F\n    ├── README.md              ← index of all ADRs\n    ├── 0001-use-nextjs.md\n    ├── 0002-postgres-over-mongo.md\n    ├── 0003-rest-over-graphql.md\n    └── template.md            ← blank template for manual use\n```\n\n### ADR Index Format\n\n```markdown\n# Architecture Decision Records\n\n| ADR | Title | Status | Date |\n|-----|-------|--------|------|\n| [0001](0001-use-nextjs.md) | Use Next.js as frontend framework | accepted | 2026-01-15 |\n| [0002](0002-postgres-over-mongo.md) | PostgreSQL over MongoDB for primary datastore | accepted | 2026-01-20 |\n| [0003](0003-rest-over-graphql.md) | REST API over GraphQL | accepted | 2026-02-01 |\n```\n\n## Decision Detection Signals\n\nWatch for these patterns in conversation that indicate an architectural decision:\n\n**Explicit signals**\n- \"Let's go with X\"\n- \"We should use X instead of Y\"\n- \"The trade-off is worth it because...\"\n- \"Record this as an ADR\"\n\n**Implicit signals** (suggest recording an ADR — do not auto-create without user confirmation)\n- Comparing two frameworks or libraries and reaching a conclusion\n- Making a database schema design choice with stated rationale\n- Choosing between architectural patterns (monolith vs microservices, REST vs GraphQL)\n- Deciding on authentication\u002Fauthorization strategy\n- Selecting deployment infrastructure after evaluating alternatives\n\n## What Makes a Good ADR\n\n### Do\n- **Be specific** — \"Use Prisma ORM\" not \"use an ORM\"\n- **Record the why** — the rationale matters more than the what\n- **Include rejected alternatives** — future developers need to know what was considered\n- **State consequences honestly** — every decision has trade-offs\n- **Keep it short** — an ADR should be readable in 2 minutes\n- **Use present tense** — \"We use X\" not \"We will use X\"\n\n### Don't\n- Record trivial decisions — variable naming or formatting choices don't need ADRs\n- Write essays — if the context section exceeds 10 lines, it's too long\n- Omit alternatives — \"we just picked it\" is not a valid rationale\n- Backfill without marking it — if recording a past decision, note the original date\n- Let ADRs go stale — superseded decisions should reference their replacement\n\n## ADR Lifecycle\n\n```\nproposed → accepted → [deprecated | superseded by ADR-NNNN]\n```\n\n- **proposed**: decision is under discussion, not yet committed\n- **accepted**: decision is in effect and being followed\n- **deprecated**: decision is no longer relevant (e.g., feature removed)\n- **superseded**: a newer ADR replaces this one (always link the replacement)\n\n## Categories of Decisions Worth Recording\n\n| Category | Examples |\n|----------|---------|\n| **Technology choices** | Framework, language, database, cloud provider |\n| **Architecture patterns** | Monolith vs microservices, event-driven, CQRS |\n| **API design** | REST vs GraphQL, versioning strategy, auth mechanism |\n| **Data modeling** | Schema design, normalization decisions, caching strategy |\n| **Infrastructure** | Deployment model, CI\u002FCD pipeline, monitoring stack |\n| **Security** | Auth strategy, encryption approach, secret management |\n| **Testing** | Test framework, coverage targets, E2E vs integration balance |\n| **Process** | Branching strategy, review process, release cadence |\n\n## Integration with Other Skills\n\n- **Planner agent**: when the planner proposes architecture changes, suggest creating an ADR\n- **Code reviewer agent**: flag PRs that introduce architectural changes without a corresponding ADR\n","# Architecture Decision Records\n\nCapture architectural decisions as they happen during coding sessions. Instead of decisions living only in Slack threads, PR comments, or someone's memory, this skill produces structured ADR documents that live alongside the code.\n\n## When to Activate\n\n- User explicitly says \"let's record this decision\" or \"ADR this\"\n- User chooses between significant alternatives (framework, library, pattern, database, API design)\n- User says \"we decided to...\" or \"the reason we're doing X instead of Y is...\"\n- User asks \"why did we choose X?\" (read existing ADRs)\n- During planning phases when architectural trade-offs are discussed\n\n## ADR Format\n\nUse the lightweight ADR format proposed by Michael Nygard, adapted for AI-assisted development:\n\n```markdown\n# ADR-NNNN: [Decision Title]\n\n**Date**: YYYY-MM-DD\n**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN\n**Deciders**: [who was involved]\n\n## Context\n\nWhat is the issue that we're seeing that is motivating this decision or change?\n\n[2-5 sentences describing the situation, constraints, and forces at play]\n\n## Decision\n\nWhat is the change that we're proposing and\u002For doing?\n\n[1-3 sentences stating the decision clearly]\n\n## Alternatives Considered\n\n### Alternative 1: [Name]\n- **Pros**: [benefits]\n- **Cons**: [drawbacks]\n- **Why not**: [specific reason this was rejected]\n\n### Alternative 2: [Name]\n- **Pros**: [benefits]\n- **Cons**: [drawbacks]\n- **Why not**: [specific reason this was rejected]\n\n## Consequences\n\nWhat becomes easier or more difficult to do because of this change?\n\n### Positive\n- [benefit 1]\n- [benefit 2]\n\n### Negative\n- [trade-off 1]\n- [trade-off 2]\n\n### Risks\n- [risk and mitigation]\n```\n\n## Workflow\n\n### Capturing a New ADR\n\nWhen a decision moment is detected:\n\n1. **Initialize (first time only)** — if `docs\u002Fadr\u002F` does not exist, ask the user for confirmation before creating the directory, a `README.md` seeded with the index table header (see ADR Index Format below), and a blank `template.md` for manual use. Do not create files without explicit consent.\n2. **Identify the decision** — extract the core architectural choice being made\n3. **Gather context** — what problem prompted this? What constraints exist?\n4. **Document alternatives** — what other options were considered? Why were they rejected?\n5. **State consequences** — what are the trade-offs? What becomes easier\u002Fharder?\n6. **Assign a number** — scan existing ADRs in `docs\u002Fadr\u002F` and increment\n7. **Confirm and write** — present the draft ADR to the user for review. Only write to `docs\u002Fadr\u002FNNNN-decision-title.md` after explicit approval. If the user declines, discard the draft without writing any files.\n8. **Update the index** — append to `docs\u002Fadr\u002FREADME.md`\n\n### Reading Existing ADRs\n\nWhen a user asks \"why did we choose X?\":\n\n1. Check if `docs\u002Fadr\u002F` exists — if not, respond: \"No ADRs found in this project. Would you like to start recording architectural decisions?\"\n2. If it exists, scan `docs\u002Fadr\u002FREADME.md` index for relevant entries\n3. Read matching ADR files and present the Context and Decision sections\n4. If no match is found, respond: \"No ADR found for that decision. Would you like to record one now?\"\n\n### ADR Directory Structure\n\n```\ndocs\u002F\n└── adr\u002F\n    ├── README.md              ← index of all ADRs\n    ├── 0001-use-nextjs.md\n    ├── 0002-postgres-over-mongo.md\n    ├── 0003-rest-over-graphql.md\n    └── template.md            ← blank template for manual use\n```\n\n### ADR Index Format\n\n```markdown\n# Architecture Decision Records\n\n| ADR | Title | Status | Date |\n|-----|-------|--------|------|\n| [0001](0001-use-nextjs.md) | Use Next.js as frontend framework | accepted | 2026-01-15 |\n| [0002](0002-postgres-over-mongo.md) | PostgreSQL over MongoDB for primary datastore | accepted | 2026-01-20 |\n| [0003](0003-rest-over-graphql.md) | REST API over GraphQL | accepted | 2026-02-01 |\n```\n\n## Decision Detection Signals\n\nWatch for these patterns in conversation that indicate an architectural decision:\n\n**Explicit signals**\n- \"Let's go with X\"\n- \"We should use X instead of Y\"\n- \"The trade-off is worth it because...\"\n- \"Record this as an ADR\"\n\n**Implicit signals** (suggest recording an ADR — do not auto-create without user confirmation)\n- Comparing two frameworks or libraries and reaching a conclusion\n- Making a database schema design choice with stated rationale\n- Choosing between architectural patterns (monolith vs microservices, REST vs GraphQL)\n- Deciding on authentication\u002Fauthorization strategy\n- Selecting deployment infrastructure after evaluating alternatives\n\n## What Makes a Good ADR\n\n### Do\n- **Be specific** — \"Use Prisma ORM\" not \"use an ORM\"\n- **Record the why** — the rationale matters more than the what\n- **Include rejected alternatives** — future developers need to know what was considered\n- **State consequences honestly** — every decision has trade-offs\n- **Keep it short** — an ADR should be readable in 2 minutes\n- **Use present tense** — \"We use X\" not \"We will use X\"\n\n### Don't\n- Record trivial decisions — variable naming or formatting choices don't need ADRs\n- Write essays — if the context section exceeds 10 lines, it's too long\n- Omit alternatives — \"we just picked it\" is not a valid rationale\n- Backfill without marking it — if recording a past decision, note the original date\n- Let ADRs go stale — superseded decisions should reference their replacement\n\n## ADR Lifecycle\n\n```\nproposed → accepted → [deprecated | superseded by ADR-NNNN]\n```\n\n- **proposed**: decision is under discussion, not yet committed\n- **accepted**: decision is in effect and being followed\n- **deprecated**: decision is no longer relevant (e.g., feature removed)\n- **superseded**: a newer ADR replaces this one (always link the replacement)\n\n## Categories of Decisions Worth Recording\n\n| Category | Examples |\n|----------|---------|\n| **Technology choices** | Framework, language, database, cloud provider |\n| **Architecture patterns** | Monolith vs microservices, event-driven, CQRS |\n| **API design** | REST vs GraphQL, versioning strategy, auth mechanism |\n| **Data modeling** | Schema design, normalization decisions, caching strategy |\n| **Infrastructure** | Deployment model, CI\u002FCD pipeline, monitoring stack |\n| **Security** | Auth strategy, encryption approach, secret management |\n| **Testing** | Test framework, coverage targets, E2E vs integration balance |\n| **Process** | Branching strategy, review process, release cadence |\n\n## Integration with Other Skills\n\n- **Planner agent**: when the planner proposes architecture changes, suggest creating an ADR\n- **Code reviewer agent**: flag PRs that introduce architectural changes without a corresponding ADR\n",{"name":5,"origin":23,"description":7},"ECC","main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Farchitecture-decision-records",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add agisota\u002Fold-one --skill architecture-decision-records",{"tool":39,"command":40},"bunx","bunx skills add agisota\u002Fold-one --skill architecture-decision-records",{"tool":42,"command":43},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill architecture-decision-records","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture-decision-records\u002FSKILL.md",true,[],[48,55,62,71,78,85],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]