[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79XJKA2DGFPEA6TCW0K2ZEQ":3,"skill-same:01M79XJKA2DGFPEA6TCW0K2ZEQ":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M79XJKA2DGFPEA6TCW0K2ZEQ","audit-prep-assistant",null,"Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments). Use when preparing your own codebase to be audited by someone else, getting a repository review-ready before an external security review, deciding what to fix before auditors start, or asking what assessors need from a project. For understanding unfamiliar code you are about to audit, use audit-context-building instead.","Heesho\u002Fraffle-fun","Heesho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F100749457?v=4","01M79XHBVXHD5BHPJTHXK51VSC","01M79XHBWZQNAH0BTYT9A1RFCW",0,"MIT","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fbuilding-secure-contracts\u002F1.2.2\u002Fskills\u002Faudit-prep-assistant\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: audit-prep-assistant\ndescription: Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments). Use when preparing your own codebase to be audited by someone else, getting a repository review-ready before an external security review, deciding what to fix before auditors start, or asking what assessors need from a project. For understanding unfamiliar code you are about to audit, use audit-context-building instead.\n---\n\n# Audit Prep Assistant\n\n## Purpose\n\nHelps prepare for a security review using Trail of Bits' checklist. A well-prepared codebase makes the review process smoother and more effective.\n\n**Use this**: 1-2 weeks before your security audit\n\n---\n\n## The Preparation Process\n\n### Step 1: Set Review Goals\n\nHelps define what you want from the review:\n\n**Key Questions**:\n- What's the overall security level you're aiming for?\n- What areas concern you most?\n  - Previous audit issues?\n  - Complex components?\n  - Fragile parts?\n- What's the worst-case scenario for your project?\n\nDocuments goals to share with the assessment team.\n\n---\n\n### Step 2: Resolve Easy Issues\n\nRuns static analysis and helps fix low-hanging fruit:\n\n**Run Static Analysis**:\n\nFor Solidity:\n```bash\nslither . --exclude-dependencies\n```\n\nFor Rust:\n```bash\ndylint --all\n```\n\nFor Go:\n```bash\ngolangci-lint run\n```\n\nFor Go\u002FRust\u002FC++:\n```bash\n# CodeQL and Semgrep checks\n```\n\nThen I'll:\n- Triage all findings\n- Help fix easy issues\n- Document accepted risks\n\n**Increase Test Coverage**:\n- Analyze current coverage\n- Identify untested code\n- Suggest new tests\n- Run full test suite\n\n**Remove Dead Code**:\n- Find unused functions\u002Fvariables\n- Identify unused libraries\n- Locate stale features\n- Suggest cleanup\n\n**Goal**: Clean static analysis report, high test coverage, minimal dead code\n\n---\n\n### Step 3: Ensure Code Accessibility\n\nHelps make code clear and accessible:\n\n**Provide Detailed File List**:\n- List all files in scope\n- Mark out-of-scope files\n- Explain folder structure\n- Document dependencies\n\n**Create Build Instructions**:\n- Write step-by-step setup guide\n- Test on fresh environment\n- Document dependencies and versions\n- Verify build succeeds\n\n**Freeze Stable Version**:\n- Identify commit hash for review\n- Create dedicated branch\n- Tag release version\n- Lock dependencies\n\n**Identify Boilerplate**:\n- Mark copied\u002Fforked code\n- Highlight your modifications\n- Document third-party code\n- Focus review on your code\n\n---\n\n### Step 4: Generate Documentation\n\nHelps create documentation:\n\n**Flowcharts and Sequence Diagrams**:\n- Map primary workflows\n- Show component relationships\n- Visualize data flow\n- Identify critical paths\n\n**User Stories**:\n- Define user roles\n- Document use cases\n- Explain interactions\n- Clarify expectations\n\n**On-chain\u002FOff-chain Assumptions**:\n- Data validation procedures\n- Oracle information\n- Bridge assumptions\n- Trust boundaries\n\n**Actors and Privileges**:\n- List all actors\n- Document roles\n- Define privileges\n- Map access controls\n\n**External Developer Docs**:\n- Link docs to code\n- Keep synchronized\n- Explain architecture\n- Document APIs\n\n**Function Documentation**:\n- System and function invariants\n- Parameter ranges (min\u002Fmax values)\n- Arithmetic formulas and precision loss\n- Complex logic explanations\n- NatSpec for Solidity\n\n**Glossary**:\n- Define domain terms\n- Explain acronyms\n- Consistent terminology\n- Business logic concepts\n\n**Video Walkthroughs** (optional):\n- Complex workflows\n- Areas of concern\n- Architecture overview\n\n---\n\n## How I Work\n\nWhen invoked, I will:\n\n1. **Help set review goals** - Ask about concerns and document them\n2. **Run static analysis** - Execute appropriate tools for your platform\n3. **Analyze test coverage** - Identify gaps and suggest improvements\n4. **Find dead code** - Search for unused code and libraries\n5. **Review accessibility** - Check build instructions and scope clarity\n6. **Generate documentation** - Create flowcharts, user stories, glossaries\n7. **Create prep checklist** - Track what's done and what's remaining\n\nAdapts based on:\n- Your platform (Solidity, Rust, Go, etc.)\n- Available tools\n- Existing documentation\n- Review timeline\n\n---\n\n## Rationalizations (Do Not Skip)\n\n| Rationalization | Why It's Wrong | Required Action |\n|-----------------|----------------|-----------------|\n| \"README covers setup, no need for detailed build instructions\" | READMEs assume context auditors don't have | Test build on fresh environment, document every dependency version |\n| \"Static analysis already ran, no need to run again\" | Codebase changed since last run | Execute static analysis tools, generate fresh report |\n| \"Test coverage looks decent\" | \"Looks decent\" isn't measured coverage | Run coverage tools, identify specific untested code paths |\n| \"Not much dead code to worry about\" | Dead code hides during manual review | Use automated detection tools to find unused functions\u002Fvariables |\n| \"Architecture is straightforward, no diagrams needed\" | Text descriptions miss visual patterns | Generate actual flowcharts and sequence diagrams |\n| \"Can freeze version right before audit\" | Last-minute freezing creates rushed handoff | Identify and document commit hash now, create dedicated branch |\n| \"Terms are self-explanatory\" | Domain knowledge isn't universal | Create comprehensive glossary with all domain-specific terms |\n| \"I'll do this step later\" | Steps build on each other - skipping creates gaps | Complete all 4 steps sequentially, track progress with checklist |\n\n---\n\n## Example Output\n\nWhen I finish helping you prepare, you'll have concrete deliverables like:\n\n```\n=== AUDIT PREP PACKAGE ===\n\nProject: DeFi DEX Protocol\nAudit Date: March 15, 2024\nPreparation Status: Complete\n\n---\n\n## REVIEW GOALS DOCUMENT\n\nSecurity Objectives:\n- Verify economic security of liquidity pool swaps\n- Validate oracle manipulation resistance\n- Assess flash loan attack vectors\n\nAreas of Concern:\n1. Complex AMM pricing calculation (src\u002FSwapRouter.sol:89-156)\n2. Multi-hop swap routing logic (src\u002FRouter.sol)\n3. Oracle price aggregation (src\u002FPriceOracle.sol:45-78)\n\nWorst-Case Scenario:\n- Flash loan attack drains liquidity pools via oracle manipulation\n\nQuestions for Auditors:\n- Can the AMM pricing model produce negative slippage under edge cases?\n- Is the slippage protection sufficient to prevent sandwich attacks?\n- How resilient is the system to temporary oracle failures?\n\n---\n\n## STATIC ANALYSIS REPORT\n\nSlither Scan Results:\n✓ High: 0 issues\n✓ Medium: 0 issues\n⚠ Low: 2 issues (triaged - documented in TRIAGE.md)\nℹ Info: 5 issues (code style, acceptable)\n\nTool: slither . --exclude-dependencies\nDate: March 1, 2024\nStatus: CLEAN (all critical issues resolved)\n\n---\n\n## TEST COVERAGE REPORT\n\nOverall Coverage: 94%\n- Statements: 1,245 \u002F 1,321 (94%)\n- Branches: 456 \u002F 498 (92%)\n- Functions: 89 \u002F 92 (97%)\n\nUncovered Areas:\n- Emergency pause admin functions (tested manually)\n- Governance migration path (one-time use)\n\nCommand: forge coverage\nStatus: EXCELLENT\n\n---\n\n## CODE SCOPE\n\nIn-Scope Files (8):\n✓ src\u002FSwapRouter.sol (456 lines)\n✓ src\u002FLiquidityPool.sol (234 lines)\n✓ src\u002FPairFactory.sol (389 lines)\n✓ src\u002FPriceOracle.sol (167 lines)\n✓ src\u002FLiquidityManager.sol (298 lines)\n✓ src\u002FGovernance.sol (201 lines)\n✓ src\u002FFlashLoan.sol (145 lines)\n✓ src\u002FRewardsDistributor.sol (178 lines)\n\nOut-of-Scope:\n- lib\u002F (OpenZeppelin, external dependencies)\n- test\u002F (test contracts)\n- scripts\u002F (deployment scripts)\n\nTotal In-Scope: 2,068 lines of Solidity\n\n---\n\n## BUILD INSTRUCTIONS\n\nPrerequisites:\n- Foundry 0.2.0+\n- Node.js 18+\n- Git\n\nSetup:\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fproject\u002Frepo.git\ncd repo\ngit checkout audit-march-2024  # Frozen branch\nforge install\nforge build\nforge test\n```\n\nVerification:\n✓ Build succeeds without errors\n✓ All 127 tests pass\n✓ No warnings from compiler\n\n---\n\n## DOCUMENTATION\n\nGenerated Artifacts:\n✓ ARCHITECTURE.md - System overview with diagrams\n✓ USER_STORIES.md - 12 user interaction flows\n✓ GLOSSARY.md - 34 domain terms defined\n✓ docs\u002Fdiagrams\u002Fcontract-interactions.png\n✓ docs\u002Fdiagrams\u002Fswap-flow.png\n✓ docs\u002Fdiagrams\u002Fstate-machine.png\n\nNatSpec Coverage: 100% of public functions\n\n---\n\n## DEPLOYMENT INFO\n\nNetwork: Ethereum Mainnet\nCommit: abc123def456 (audit-march-2024 branch)\nDeployed Contracts:\n- SwapRouter: 0x1234...\n- PriceOracle: 0x5678...\n[... etc]\n\n---\n\nPACKAGE READY FOR AUDIT ✓\nNext Step: Share with Trail of Bits assessment team\n```\n\n---\n\n## What You'll Get\n\n**Review Goals Document**:\n- Security objectives\n- Areas of concern\n- Worst-case scenarios\n- Questions for auditors\n\n**Clean Codebase**:\n- Triaged static analysis (or clean report)\n- High test coverage\n- No dead code\n- Clear scope\n\n**Accessibility Package**:\n- File list with scope\n- Build instructions\n- Frozen commit\u002Fbranch\n- Boilerplate identified\n\n**Documentation Suite**:\n- Flowcharts and diagrams\n- User stories\n- Architecture docs\n- Actor\u002Fprivilege map\n- Inline code comments\n- Glossary\n- Video walkthroughs (if created)\n\n**Audit Prep Checklist**:\n- [ ] Review goals documented\n- [ ] Static analysis clean\u002Ftriaged\n- [ ] Test coverage >80%\n- [ ] Dead code removed\n- [ ] Build instructions verified\n- [ ] Stable version frozen\n- [ ] Flowcharts created\n- [ ] User stories documented\n- [ ] Assumptions documented\n- [ ] Actors\u002Fprivileges listed\n- [ ] Function docs complete\n- [ ] Glossary created\n\n---\n\n## Timeline\n\n**2 weeks before audit**:\n- Set review goals\n- Run static analysis\n- Start fixing issues\n\n**1 week before audit**:\n- Increase test coverage\n- Remove dead code\n- Freeze stable version\n- Start documentation\n\n**Few days before audit**:\n- Complete documentation\n- Verify build instructions\n- Create final checklist\n- Send package to auditors\n\n---\n\n## Ready to Prep\n\nLet me know when you're ready and I'll help you prepare for your security review!\n","# Audit Prep Assistant\n\n## Purpose\n\nHelps prepare for a security review using Trail of Bits' checklist. A well-prepared codebase makes the review process smoother and more effective.\n\n**Use this**: 1-2 weeks before your security audit\n\n---\n\n## The Preparation Process\n\n### Step 1: Set Review Goals\n\nHelps define what you want from the review:\n\n**Key Questions**:\n- What's the overall security level you're aiming for?\n- What areas concern you most?\n  - Previous audit issues?\n  - Complex components?\n  - Fragile parts?\n- What's the worst-case scenario for your project?\n\nDocuments goals to share with the assessment team.\n\n---\n\n### Step 2: Resolve Easy Issues\n\nRuns static analysis and helps fix low-hanging fruit:\n\n**Run Static Analysis**:\n\nFor Solidity:\n```bash\nslither . --exclude-dependencies\n```\n\nFor Rust:\n```bash\ndylint --all\n```\n\nFor Go:\n```bash\ngolangci-lint run\n```\n\nFor Go\u002FRust\u002FC++:\n```bash\n# CodeQL and Semgrep checks\n```\n\nThen I'll:\n- Triage all findings\n- Help fix easy issues\n- Document accepted risks\n\n**Increase Test Coverage**:\n- Analyze current coverage\n- Identify untested code\n- Suggest new tests\n- Run full test suite\n\n**Remove Dead Code**:\n- Find unused functions\u002Fvariables\n- Identify unused libraries\n- Locate stale features\n- Suggest cleanup\n\n**Goal**: Clean static analysis report, high test coverage, minimal dead code\n\n---\n\n### Step 3: Ensure Code Accessibility\n\nHelps make code clear and accessible:\n\n**Provide Detailed File List**:\n- List all files in scope\n- Mark out-of-scope files\n- Explain folder structure\n- Document dependencies\n\n**Create Build Instructions**:\n- Write step-by-step setup guide\n- Test on fresh environment\n- Document dependencies and versions\n- Verify build succeeds\n\n**Freeze Stable Version**:\n- Identify commit hash for review\n- Create dedicated branch\n- Tag release version\n- Lock dependencies\n\n**Identify Boilerplate**:\n- Mark copied\u002Fforked code\n- Highlight your modifications\n- Document third-party code\n- Focus review on your code\n\n---\n\n### Step 4: Generate Documentation\n\nHelps create documentation:\n\n**Flowcharts and Sequence Diagrams**:\n- Map primary workflows\n- Show component relationships\n- Visualize data flow\n- Identify critical paths\n\n**User Stories**:\n- Define user roles\n- Document use cases\n- Explain interactions\n- Clarify expectations\n\n**On-chain\u002FOff-chain Assumptions**:\n- Data validation procedures\n- Oracle information\n- Bridge assumptions\n- Trust boundaries\n\n**Actors and Privileges**:\n- List all actors\n- Document roles\n- Define privileges\n- Map access controls\n\n**External Developer Docs**:\n- Link docs to code\n- Keep synchronized\n- Explain architecture\n- Document APIs\n\n**Function Documentation**:\n- System and function invariants\n- Parameter ranges (min\u002Fmax values)\n- Arithmetic formulas and precision loss\n- Complex logic explanations\n- NatSpec for Solidity\n\n**Glossary**:\n- Define domain terms\n- Explain acronyms\n- Consistent terminology\n- Business logic concepts\n\n**Video Walkthroughs** (optional):\n- Complex workflows\n- Areas of concern\n- Architecture overview\n\n---\n\n## How I Work\n\nWhen invoked, I will:\n\n1. **Help set review goals** - Ask about concerns and document them\n2. **Run static analysis** - Execute appropriate tools for your platform\n3. **Analyze test coverage** - Identify gaps and suggest improvements\n4. **Find dead code** - Search for unused code and libraries\n5. **Review accessibility** - Check build instructions and scope clarity\n6. **Generate documentation** - Create flowcharts, user stories, glossaries\n7. **Create prep checklist** - Track what's done and what's remaining\n\nAdapts based on:\n- Your platform (Solidity, Rust, Go, etc.)\n- Available tools\n- Existing documentation\n- Review timeline\n\n---\n\n## Rationalizations (Do Not Skip)\n\n| Rationalization | Why It's Wrong | Required Action |\n|-----------------|----------------|-----------------|\n| \"README covers setup, no need for detailed build instructions\" | READMEs assume context auditors don't have | Test build on fresh environment, document every dependency version |\n| \"Static analysis already ran, no need to run again\" | Codebase changed since last run | Execute static analysis tools, generate fresh report |\n| \"Test coverage looks decent\" | \"Looks decent\" isn't measured coverage | Run coverage tools, identify specific untested code paths |\n| \"Not much dead code to worry about\" | Dead code hides during manual review | Use automated detection tools to find unused functions\u002Fvariables |\n| \"Architecture is straightforward, no diagrams needed\" | Text descriptions miss visual patterns | Generate actual flowcharts and sequence diagrams |\n| \"Can freeze version right before audit\" | Last-minute freezing creates rushed handoff | Identify and document commit hash now, create dedicated branch |\n| \"Terms are self-explanatory\" | Domain knowledge isn't universal | Create comprehensive glossary with all domain-specific terms |\n| \"I'll do this step later\" | Steps build on each other - skipping creates gaps | Complete all 4 steps sequentially, track progress with checklist |\n\n---\n\n## Example Output\n\nWhen I finish helping you prepare, you'll have concrete deliverables like:\n\n```\n=== AUDIT PREP PACKAGE ===\n\nProject: DeFi DEX Protocol\nAudit Date: March 15, 2024\nPreparation Status: Complete\n\n---\n\n## REVIEW GOALS DOCUMENT\n\nSecurity Objectives:\n- Verify economic security of liquidity pool swaps\n- Validate oracle manipulation resistance\n- Assess flash loan attack vectors\n\nAreas of Concern:\n1. Complex AMM pricing calculation (src\u002FSwapRouter.sol:89-156)\n2. Multi-hop swap routing logic (src\u002FRouter.sol)\n3. Oracle price aggregation (src\u002FPriceOracle.sol:45-78)\n\nWorst-Case Scenario:\n- Flash loan attack drains liquidity pools via oracle manipulation\n\nQuestions for Auditors:\n- Can the AMM pricing model produce negative slippage under edge cases?\n- Is the slippage protection sufficient to prevent sandwich attacks?\n- How resilient is the system to temporary oracle failures?\n\n---\n\n## STATIC ANALYSIS REPORT\n\nSlither Scan Results:\n✓ High: 0 issues\n✓ Medium: 0 issues\n⚠ Low: 2 issues (triaged - documented in TRIAGE.md)\nℹ Info: 5 issues (code style, acceptable)\n\nTool: slither . --exclude-dependencies\nDate: March 1, 2024\nStatus: CLEAN (all critical issues resolved)\n\n---\n\n## TEST COVERAGE REPORT\n\nOverall Coverage: 94%\n- Statements: 1,245 \u002F 1,321 (94%)\n- Branches: 456 \u002F 498 (92%)\n- Functions: 89 \u002F 92 (97%)\n\nUncovered Areas:\n- Emergency pause admin functions (tested manually)\n- Governance migration path (one-time use)\n\nCommand: forge coverage\nStatus: EXCELLENT\n\n---\n\n## CODE SCOPE\n\nIn-Scope Files (8):\n✓ src\u002FSwapRouter.sol (456 lines)\n✓ src\u002FLiquidityPool.sol (234 lines)\n✓ src\u002FPairFactory.sol (389 lines)\n✓ src\u002FPriceOracle.sol (167 lines)\n✓ src\u002FLiquidityManager.sol (298 lines)\n✓ src\u002FGovernance.sol (201 lines)\n✓ src\u002FFlashLoan.sol (145 lines)\n✓ src\u002FRewardsDistributor.sol (178 lines)\n\nOut-of-Scope:\n- lib\u002F (OpenZeppelin, external dependencies)\n- test\u002F (test contracts)\n- scripts\u002F (deployment scripts)\n\nTotal In-Scope: 2,068 lines of Solidity\n\n---\n\n## BUILD INSTRUCTIONS\n\nPrerequisites:\n- Foundry 0.2.0+\n- Node.js 18+\n- Git\n\nSetup:\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fproject\u002Frepo.git\ncd repo\ngit checkout audit-march-2024  # Frozen branch\nforge install\nforge build\nforge test\n```\n\nVerification:\n✓ Build succeeds without errors\n✓ All 127 tests pass\n✓ No warnings from compiler\n\n---\n\n## DOCUMENTATION\n\nGenerated Artifacts:\n✓ ARCHITECTURE.md - System overview with diagrams\n✓ USER_STORIES.md - 12 user interaction flows\n✓ GLOSSARY.md - 34 domain terms defined\n✓ docs\u002Fdiagrams\u002Fcontract-interactions.png\n✓ docs\u002Fdiagrams\u002Fswap-flow.png\n✓ docs\u002Fdiagrams\u002Fstate-machine.png\n\nNatSpec Coverage: 100% of public functions\n\n---\n\n## DEPLOYMENT INFO\n\nNetwork: Ethereum Mainnet\nCommit: abc123def456 (audit-march-2024 branch)\nDeployed Contracts:\n- SwapRouter: 0x1234...\n- PriceOracle: 0x5678...\n[... etc]\n\n---\n\nPACKAGE READY FOR AUDIT ✓\nNext Step: Share with Trail of Bits assessment team\n```\n\n---\n\n## What You'll Get\n\n**Review Goals Document**:\n- Security objectives\n- Areas of concern\n- Worst-case scenarios\n- Questions for auditors\n\n**Clean Codebase**:\n- Triaged static analysis (or clean report)\n- High test coverage\n- No dead code\n- Clear scope\n\n**Accessibility Package**:\n- File list with scope\n- Build instructions\n- Frozen commit\u002Fbranch\n- Boilerplate identified\n\n**Documentation Suite**:\n- Flowcharts and diagrams\n- User stories\n- Architecture docs\n- Actor\u002Fprivilege map\n- Inline code comments\n- Glossary\n- Video walkthroughs (if created)\n\n**Audit Prep Checklist**:\n- [ ] Review goals documented\n- [ ] Static analysis clean\u002Ftriaged\n- [ ] Test coverage >80%\n- [ ] Dead code removed\n- [ ] Build instructions verified\n- [ ] Stable version frozen\n- [ ] Flowcharts created\n- [ ] User stories documented\n- [ ] Assumptions documented\n- [ ] Actors\u002Fprivileges listed\n- [ ] Function docs complete\n- [ ] Glossary created\n\n---\n\n## Timeline\n\n**2 weeks before audit**:\n- Set review goals\n- Run static analysis\n- Start fixing issues\n\n**1 week before audit**:\n- Increase test coverage\n- Remove dead code\n- Freeze stable version\n- Start documentation\n\n**Few days before audit**:\n- Complete documentation\n- Verify build instructions\n- Create final checklist\n- Send package to auditors\n\n---\n\n## Ready to Prep\n\nLet me know when you're ready and I'll help you prepare for your security review!\n",{"name":5,"description":7},"main","aa4fc8e4a5441efccc61aca4e77753a2e9f88c8b","audits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fbuilding-secure-contracts\u002F1.2.2\u002Fskills\u002Faudit-prep-assistant","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun","https:\u002F\u002Fraffle-fun-lake.vercel.app","https:\u002F\u002Fgithub.com\u002FHeesho","2026-10-22 13:02:00",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Heesho\u002Fraffle-fun --skill audit-prep-assistant",{"tool":36,"command":37},"bunx","bunx skills add Heesho\u002Fraffle-fun --skill audit-prep-assistant",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Heesho\u002Fraffle-fun --skill audit-prep-assistant","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fbuilding-secure-contracts\u002F1.2.2\u002Fskills\u002Faudit-prep-assistant\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",240,"https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fbuilding-secure-contracts\u002F1.2.2\u002Fskills\u002Faudit-prep-assistant\u002Fagents\u002Fopenai.yaml",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"assets\u002Ftrail-of-bits-mark.svg","ASSET","资产文件",3084,"https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fbuilding-secure-contracts\u002F1.2.2\u002Fskills\u002Faudit-prep-assistant\u002Fassets\u002Ftrail-of-bits-mark.svg",[57,64,71,78,83,90],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M79XNCGXQ9R07VAPFB1H1WNF","spec-to-code-compliance","Check code against the documentation that specifies it - which requirements hold, which the code contradicts, which are absent, and what the code does that no document mentions. Use when comparing an implementation against a whitepaper, protocol spec, or design document.","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FOPENAI-TOB\u002Fattempt-02\u002FS5\u002Fresources\u002Fskills\u002Fspec-to-code-compliance\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M79XN7ADEZVW17912WC2CM7R","0xsimao-ai","Accounting-first smart contract security audit in the style of 0xSimao — maps the protocol's money model, then attacks it with 12 parallel lenses derived from his 869 published findings. Trigger on \"0xsimao ai\", \"0xsimao audit\", \"audit\", \"simao audit\", \"check this contract\", \"review for security\". Modes - default (full repo) or a specific filename.","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FOPENAI-SIMAO\u002Fattempt-01\u002Fresources\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M79XN26B8ZCW79FATC4TSXA5","solidity-auditor","Security audit of Solidity code while you develop. Trigger on \"audit\", \"check this contract\", \"review for security\", \"loop mode\", \"run the auditor in loop mode\", \"run 3 passes\". Modes - default (full repo) or a specific filename. Loop mode runs several passes in one scan, each pass told what the earlier ones found, and ends in one combined report; it remembers findings between scans in a ledger.","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FOPENAI-PASHOV\u002Fattempt-01\u002Fharness-reference\u002FSKILL.md",[],[],{"skillNo":79,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M79XMX0BKWJN0T8HZEBWTB6P","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fspec-to-code-compliance\u002F2.0.2\u002Fskills\u002Fspec-to-code-compliance\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M79XMM06CBG09CMZ5N8PGAZ1","entry-point-analyzer","Analyzes smart contract codebases to identify state-changing entry points for security auditing. Detects externally callable functions that modify state, categorizes them by access level (public, admin, role-restricted, contract-only), and generates structured audit reports. Excludes view\u002Fpure\u002Fread-only functions. Use when auditing smart contracts (Solidity, Vyper, Solana\u002FRust, Move, TON, CosmWasm) or when asked to find entry points, audit flows, external functions, access control patterns, or privileged operations.","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fentry-point-analyzer\u002F1.0.4\u002Fskills\u002Fentry-point-analyzer\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M79XMCTG9288DZNAM1R3K2K2","ton-vulnerability-scanner","Scans TON (The Open Network) smart contracts for 3 critical vulnerabilities including integer-as-boolean misuse, fake Jetton contracts, and forward TON without gas checks. Use when auditing FunC contracts.","https:\u002F\u002Fgithub.com\u002FHeesho\u002Fraffle-fun\u002Fblob\u002Fmain\u002Faudits\u002F2026-10-21-r001\u002Fruns\u002FDAYBREAK-TOB\u002Fattempt-02\u002Fruntime\u002Fcodex-home\u002Fplugins\u002Fcache\u002Ftrailofbits\u002Fbuilding-secure-contracts\u002F1.2.2\u002Fskills\u002Fton-vulnerability-scanner\u002FSKILL.md",[],[]]