スキル一覧に戻る
nf-core

add-evidence-page

by nf-core

2🍴 3📅 2026年1月17日
GitHubで見るManusで実行

SKILL.md


name: Add Evidence Page description: Create new Evidence.dev dashboard page with charts and tables

Add Evidence Page

When to Use

  • Adding new visualization/dashboard
  • Creating charts for existing DLT data

File Structure

├── pages/<category>/<page>.md    # Page with charts
└── sources/nfcore_db/<query>.sql # SQL data source

Page Template

---
title: Page Title
sidebar_position: 1
---

Brief description of what this page shows.

```sql summary_query
SELECT COUNT(*) as total FROM nfcore_db.<table_name>

SELECT
  date_trunc('week', created_at) as week,
  COUNT(*) as count
FROM nfcore_db.<table_name>
GROUP BY 1
ORDER BY 1

SQL Source Template

File: sources/nfcore_db/<query>.sql

SELECT
  column1,
  column2,
  COUNT(*) as count
FROM <table_name>
GROUP BY 1, 2
ORDER BY count DESC

Component Reference

ComponentUse CaseKey Props
BigValueKPI cardsdata, value, title, sparkline, fmt
LineChartTime seriesdata, x, y, title, yAxisTitle
AreaChartStacked trendsdata, x, y, series, seriesColors
BarChartComparisonsdata, x, y, type=grouped, yFmt
DataTableTabular datadata, search, totalRow, <Column>
CalendarHeatmapDaily heatmapdata, date, value
Tabs/TabTabbed views<Tab label="Name">
DateRangeDate filtername, data, dates, defaultValue

DataTable with Columns

<DataTable data={query} search=true totalRow=true>
  <Column id="name" title="Name"/>
  <Column id="count" title="Count" align="right"/>
  <Column id="url" contentType=link linkLabel="View"/>
  <Column id="score" contentType=colorscale colorScale=negative/>
</DataTable>

Stacked AreaChart with Colors

<AreaChart
  data={query}
  x=date
  y={["category_a", "category_b", "category_c"]}
  seriesColors={['#2ecc71', '#f39c12', '#e74c3c']}
  title="Distribution Over Time"
/>

Date Filtering Pattern

<DateRange name="date_range" data={base_query} dates=timestamp defaultValue="Last 90 Days"/>

```sql filtered_query
SELECT * FROM nfcore_db.<table>
WHERE timestamp >= '${inputs.date_range.start}'
  AND timestamp <= '${inputs.date_range.end}'

Testing

npm run dev
# Open http://localhost:3000/path/to/page

Checklist

  1. Create SQL source in sources/nfcore_db/
  2. Create page in pages/<category>/
  3. Add frontmatter (title, sidebar_position)
  4. Add summary metrics (BigValue)
  5. Add time series chart (LineChart/AreaChart)
  6. Add detail table (DataTable)
  7. Test with npm run dev

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です