Token导航 LogoToken导航TokenDH.com
运维和基础设施只读github未标认证来源可访问clear审计通过

code-data-analysis-scaffolds代码数据分析支架

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

1,123

周安装

45

GitHub Stars

85

下载量

364
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:code-data-analysis-scaffolds(代码数据分析支架)
来源仓库:https://github.com/lyndonkl/claude
仓库路径:skills/code-data-analysis-scaffolds
安装命令:
npx skills add https://github.com/lyndonkl/claude --skill code-data-analysis-scaffolds
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/lyndonkl/claude --skill code-data-analysis-scaffolds

简介

提供 TDD、EDA、统计分析等结构化脚手架模板。

  • 指导从需求到验证的完整数据分析流程设计。
  • 适用于探索性分析、模型验证与统计检验场景。
  • 跳过此技能当用户希望立即执行而非规划阶段。
  • code-data-analysis-scaffolds 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Code Data Analysis Scaffolds

Table of Contents

Overview

This skill provides structured scaffolds for common technical patterns:

  1. TDD Scaffold: Given requirements, generate test structure before implementing code
  2. EDA Scaffold: Given dataset, create systematic exploration plan
  3. Statistical Analysis Scaffold: Given question, design appropriate statistical test/model
  4. Validation Scaffold: Given code/model/data, create comprehensive validation checklist

Skip this skill when the user wants immediate execution without scaffolding, already has a clear plan, or the task is trivial.

Quick example:

Task: "Write authentication function" TDD Scaffold: ``python # Test structure (write these FIRST) def test_valid_credentials(): assert authenticate("user@example.com", "correct_pass") == True def test_invalid_password(): assert authenticate("user@example.com", "wrong_pass") == False def test_nonexistent_user(): assert authenticate("nobody@example.com", "any_pass") == False def test_empty_credentials(): with pytest.raises(ValueError): authenticate("", "") # Now implement authenticate() to make tests pass ``

Workflow

Copy this checklist and track your progress:

Code Data Analysis Scaffolds Progress:
- [ ] Step 1: Clarify task and objectives
- [ ] Step 2: Choose appropriate scaffold type
- [ ] Step 3: Generate scaffold structure
- [ ] Step 4: Validate scaffold completeness
- [ ] Step 5: Deliver scaffold and guide execution

Step 1: Clarify task and objectives

Ask user for the task, dataset/codebase context, constraints, and expected outcome. Determine if this is TDD (write tests first), EDA (explore data), statistical analysis (test hypothesis), or validation (check quality). See resources/template.md for context questions.

Step 2: Choose appropriate scaffold type

Based on task, select scaffold: TDD (testing code), EDA (exploring data), Statistical Analysis (hypothesis testing, A/B tests), Causal Inference (estimating treatment effects), Predictive Modeling (building ML models), or Validation (checking quality). See Scaffold Types for guidance on choosing.

Step 3: Generate scaffold structure

Create systematic framework with clear steps, validation checkpoints, and expected outputs at each stage. For standard cases use resources/template.md; for advanced techniques see resources/methodology.md.

Step 4: Validate scaffold completeness

Check scaffold covers all requirements, includes validation steps, makes assumptions explicit, and provides clear success criteria. Self-assess using resources/evaluators/rubric_code_data_analysis_scaffolds.json - minimum score ≥3.5.

Step 5: Deliver scaffold and guide execution

Present scaffold with clear next steps. If user wants execution help, follow the scaffold systematically. If scaffold reveals gaps (missing data, unclear requirements), surface these before proceeding.

Scaffold Types

TDD (Test-Driven Development)

When: Writing new code, refactoring existing code, fixing bugs Output: Test structure (test cases → implementation → refactor) Key Elements: Test cases covering happy path, edge cases, error conditions, test data setup

EDA (Exploratory Data Analysis)

When: New dataset, data quality questions, feature engineering Output: Exploration plan (data overview → quality checks → univariate → bivariate → insights) Key Elements: Data shape/types, missing values, distributions, outliers, correlations

Statistical Analysis

When: Hypothesis testing, A/B testing, comparing groups Output: Analysis design (question → hypothesis → test selection → assumptions → interpretation) Key Elements: Null/alternative hypotheses, significance level, power analysis, assumption checks

Causal Inference

When: Estimating treatment effects, understanding causation not just correlation Output: Causal design (DAG → identification strategy → estimation → sensitivity analysis) Key Elements: Confounders, treatment/control groups, identification assumptions, effect estimation

Predictive Modeling

When: Building ML models, forecasting, classification/regression tasks Output: Modeling pipeline (data prep → feature engineering → model selection → validation → evaluation) Key Elements: Train/val/test split, baseline model, metrics selection, cross-validation, error analysis

Validation

When: Checking data quality, code quality, model quality before deployment Output: Validation checklist (assertions → edge cases → integration tests → monitoring) Key Elements: Acceptance criteria, test coverage, error handling, boundary conditions

Guardrails

  • Clarify before scaffolding - Don't guess what user needs; ask clarifying questions first
  • Distinguish causal vs predictive - Causal inference needs different methods than prediction (RCT/IV vs ML)
  • Make assumptions explicit - Every scaffold has assumptions (data distribution, user behavior, system constraints)
  • Include validation steps - Scaffold should include checkpoints to validate work at each stage
  • Provide examples - Show what good looks like (sample test, sample EDA visualization, sample model evaluation)
  • Surface gaps early - If scaffold reveals missing data/requirements, flag immediately
  • Avoid premature optimization - Start with simple scaffold, add complexity only if needed
  • Follow best practices - TDD: test first, EDA: start with data quality, Modeling: baseline before complex models

Quick Reference

Task TypeWhen to UseScaffold Resource
TDDWriting/refactoring coderesources/template.md #tdd-scaffold
EDAExploring new datasetresources/template.md #eda-scaffold
Statistical AnalysisHypothesis testing, A/B testsresources/template.md #statistical-analysis-scaffold
Causal InferenceTreatment effect estimationresources/methodology.md #causal-inference-methods
Predictive ModelingML model buildingresources/methodology.md #predictive-modeling-pipeline
ValidationQuality checks before shippingresources/template.md #validation-scaffold
ExamplesSee what good looks likeresources/examples/
RubricValidate scaffold qualityresources/evaluators/rubric_code_data_analysis_scaffolds.json

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.95%
按下载量换算102

Gemini CLI

22.49%
按下载量换算82

Antigravity

17.12%
按下载量换算62

windsurf

12.61%
按下载量换算46

OpenCode

7.8%
按下载量换算28

github-copilot

3.75%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills