[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EEYEHVFS8XCJ7FKRFPYCAF":3,"skill-same:01M6EEYEHVFS8XCJ7FKRFPYCAF":45},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EEYEHVFS8XCJ7FKRFPYCAF","evidence",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\u002FTerminalSkills\u002Fskills\u002Fevidence\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# Evidence — Code-Driven BI Dashboards\n\n\n## Overview\n\n\nEvidence, the open-source BI framework that generates beautiful, interactive dashboards from SQL queries and Markdown. Helps developers build data reports as code, deploy them as static sites, and create self-service analytics without heavy BI tools.\n\n\n## Instructions\n\n### Project Setup\n\n```bash\n# Create a new Evidence project\nnpx degit evidence-dev\u002Ftemplate my-dashboard\ncd my-dashboard\nnpm install\nnpm run dev    # Dashboard at localhost:3000\n```\n\n### Writing Reports\n\nEvidence reports are Markdown files with embedded SQL:\n\n```markdown\n\u003C!-- pages\u002Fsales-overview.md — Sales dashboard page -->\n# Sales Overview\n\n```sql monthly_revenue\nSELECT\n  date_trunc('month', created_at) AS month,\n  SUM(amount) AS revenue,\n  COUNT(*) AS orders,\n  SUM(amount) \u002F COUNT(*) AS avg_order_value\nFROM orders\nWHERE created_at >= '2025-01-01'\nGROUP BY 1\nORDER BY 1\n```\n\nRevenue has grown **{fmt(monthly_revenue[monthly_revenue.length - 1].revenue, 'usd')}** this month,\na {pct_change} change from last month.\n\n\u003CLineChart\n  data={monthly_revenue}\n  x=month\n  y=revenue\n  yFmt=usd\n  title=\"Monthly Revenue\"\n\u002F>\n\n\u003CBarChart\n  data={monthly_revenue}\n  x=month\n  y=orders\n  title=\"Orders per Month\"\n\u002F>\n\n## Revenue by Product\n\n```sql product_breakdown\nSELECT\n  p.name AS product,\n  SUM(oi.quantity * oi.unit_price) AS revenue,\n  SUM(oi.quantity) AS units_sold\nFROM order_items oi\nJOIN products p ON p.id = oi.product_id\nJOIN orders o ON o.id = oi.order_id\nWHERE o.created_at >= current_date - interval '30 days'\nGROUP BY 1\nORDER BY 2 DESC\nLIMIT 10\n```\n\n\u003CDataTable data={product_breakdown} rows=10>\n  \u003CColumn id=product title=\"Product\" \u002F>\n  \u003CColumn id=revenue title=\"Revenue\" fmt=usd \u002F>\n  \u003CColumn id=units_sold title=\"Units Sold\" fmt=num0 \u002F>\n\u003C\u002FDataTable>\n\n\u003CBarChart\n  data={product_breakdown}\n  x=product\n  y=revenue\n  yFmt=usd\n  swapXY=true\n  title=\"Top 10 Products by Revenue\"\n\u002F>\n```\n\n### Data Source Configuration\n\nConnect to your databases:\n\n```yaml\n# sources\u002Fmydb\u002Fconnection.yaml — PostgreSQL connection\nname: mydb\ntype: postgres\nhost: localhost\nport: 5432\ndatabase: analytics\nuser: evidence_reader\npassword: ${POSTGRES_PASSWORD}    # From environment variable\nssl: true\n\n# sources\u002Fduckdb\u002Fconnection.yaml — DuckDB for file-based analytics\nname: local\ntype: duckdb\nfilename: data\u002Fanalytics.duckdb\n\n# sources\u002Fbigquery\u002Fconnection.yaml — Google BigQuery\nname: warehouse\ntype: bigquery\nproject_id: my-gcp-project\ndataset: analytics\ncredentials_path: .\u002Fgcp-key.json\n\n# sources\u002Fcsv\u002Fconnection.yaml — CSV files\nname: csvdata\ntype: csv\npath: data\u002F        # All CSV files in this directory become tables\n```\n\n### Interactive Components\n\n```markdown\n\u003C!-- pages\u002Fcohort-analysis.md — Interactive filters -->\n# Cohort Analysis\n\n\u003C!-- Dropdown filter -->\n\u003CDropdown name=time_period title=\"Time Period\">\n  \u003CDropdownOption value=\"7 days\" valueLabel=\"Last 7 Days\" \u002F>\n  \u003CDropdownOption value=\"30 days\" valueLabel=\"Last 30 Days\" \u002F>\n  \u003CDropdownOption value=\"90 days\" valueLabel=\"Last 90 Days\" \u002F>\n\u003C\u002FDropdown>\n\n\u003CDropdown name=segment title=\"Customer Segment\" data={segments} value=id label=name \u002F>\n\n```sql cohort_data\nSELECT\n  date_trunc('week', first_purchase) AS cohort_week,\n  weeks_since_first AS week_number,\n  COUNT(DISTINCT customer_id) AS customers,\n  SUM(revenue) AS revenue\nFROM customer_cohorts\nWHERE first_purchase >= current_date - interval '${inputs.time_period}'\n  AND segment = '${inputs.segment.value}'\nGROUP BY 1, 2\nORDER BY 1, 2\n```\n\n\u003CHeatmap\n  data={cohort_data}\n  x=week_number\n  y=cohort_week\n  value=customers\n  title=\"Customer Retention by Cohort\"\n\u002F>\n\n\u003C!-- Big number KPIs -->\n\u003CBigValue\n  data={cohort_data}\n  value=customers\n  title=\"Total Customers\"\n  fmt=num0\n  comparison=revenue\n  comparisonTitle=\"Total Revenue\"\n  comparisonFmt=usd\n\u002F>\n```\n\n### Templated Pages\n\nGenerate pages dynamically from data:\n\n```markdown\n\u003C!-- pages\u002Fproducts\u002F[product_name].md — One page per product -->\n# {params.product_name}\n\n```sql product_detail\nSELECT * FROM products WHERE slug = '${params.product_name}'\n```\n\n```sql product_sales\nSELECT\n  date_trunc('day', o.created_at) AS date,\n  SUM(oi.quantity) AS units,\n  SUM(oi.quantity * oi.unit_price) AS revenue\nFROM order_items oi\nJOIN orders o ON o.id = oi.order_id\nJOIN products p ON p.id = oi.product_id\nWHERE p.slug = '${params.product_name}'\n  AND o.created_at >= current_date - interval '90 days'\nGROUP BY 1\nORDER BY 1\n```\n\n\u003CLineChart data={product_sales} x=date y=revenue yFmt=usd \u002F>\n\u003CLineChart data={product_sales} x=date y=units \u002F>\n```\n\n### Deployment\n\n```bash\n# Build static site\nnpm run build\n\n# Deploy to any static hosting\n# Vercel\nnpx vercel\n\n# Netlify\nnpx netlify deploy --prod --dir=build\n\n# Evidence Cloud (managed hosting)\nnpx evidence deploy\n\n# Schedule refreshes with cron\n# Evidence rebuilds queries at build time\n# Set up a cron job to rebuild periodically:\n# 0 *\u002F4 * * * cd \u002Fapp\u002Fdashboard && npm run build && cp -r build \u002Fvar\u002Fwww\u002Fdashboard\n```\n\n\n## Examples\n\n\n### Example 1: Creating a weekly SaaS metrics report\n\n**User request:**\n\n```\nBuild an Evidence dashboard that shows our weekly SaaS metrics — MRR, churn rate, new trials, and conversion rate — from our PostgreSQL database.\n```\n\nThe agent scaffolds an Evidence project, configures the PostgreSQL connection in `evidence.plugins.yaml`, creates SQL queries for each metric (`select date_trunc('week', created_at) as week, sum(amount) as mrr from subscriptions...`), builds a Markdown page with `\u003CLineChart>`, `\u003CBigValue>`, and `\u003CDataTable>` components, and adds date range inputs with `\u003CDateRange>` for filtering.\n\n### Example 2: Building a templated customer health page\n\n**User request:**\n\n```\nI need a per-customer detail page in Evidence that shows usage trends, support tickets, and renewal date for each customer.\n```\n\nThe agent creates a templated page at `pages\u002Fcustomers\u002F[customer_id].md`, writes SQL queries that filter by `${params.customer_id}`, adds a customer index page with `\u003CDataTable>` linking to each detail page, and includes `\u003CBarChart>` for usage and `\u003CAlert>` components for upcoming renewals.\n\n\n## Guidelines\n\n1. **SQL is the source of truth** — Write queries directly in Markdown; no abstraction layer between you and the data\n2. **Use parameterized queries carefully** — Evidence supports `${inputs.x}` but sanitize inputs; prefer dropdown constraints over free text\n3. **One page per topic** — Keep reports focused; use navigation for different areas (sales, product, customer)\n4. **Templated pages for catalogs** — Use `[param].md` for product pages, customer profiles, or any entity-level reports\n5. **Read-only database users** — Connect Evidence with a read-only database user; it should never write data\n6. **Version control reports** — Evidence projects are code; store in Git, review in PRs, deploy via CI\n7. **Build-time queries** — Queries run at build time, not on page load; schedule rebuilds based on data freshness needs\n8. **DuckDB for local analysis** — Use DuckDB as a data source for CSV\u002FParquet files; no database server needed\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fevidence",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":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill evidence",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill evidence",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill evidence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fevidence\u002FSKILL.md",true,[],[46,60,70,79,85,92],{"skillNo":47,"name":48,"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":49,"categories":50,"keywords":56,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[51],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[57,58,59],"model","model hierarchy","model hierarchy skill",{"skillNo":61,"name":62,"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":63,"categories":64,"keywords":66,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[65],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[67,68,69],"MCP","zoom","zoom mcp",{"skillNo":71,"name":72,"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":73,"categories":74,"keywords":75,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[76,77,78,68],"sdk","zoom apps sdk","apps",{"skillNo":80,"name":81,"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":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"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":88,"categories":89,"keywords":91,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[90],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[87],{"skillNo":93,"name":94,"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":95,"categories":96,"keywords":97,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[94]]