[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJHC3V3683GNZ0DXC6F0M3":3,"skill-same:01M6FJHC3V3683GNZ0DXC6F0M3":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FJHC3V3683GNZ0DXC6F0M3","audit-prep-assistant",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Ftrailofbits\u002Fskills\u002Faudit-prep-assistant\u002FSKILL.md",[],[18,19,20],"assistant","audit","audit prep assistant","2026-11-10 10:12:30",false,"# 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",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Ftrailofbits\u002Fskills\u002Faudit-prep-assistant",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill audit-prep-assistant",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill audit-prep-assistant",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill audit-prep-assistant","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Ftrailofbits\u002Fskills\u002Faudit-prep-assistant\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]