agentleFS
MicrosoftKnown publishermicrosoft/fabric-jumpstart/.github/copilot-instructions.md

fabric-jumpstart

Copilot instructions59 starsChanged 10 months agoMITView on GitHub

Fabric Jumpstart is a monorepo providing ready-to-run accelerators, demos, and tutorials for Microsoft Fabric. Users discover and install self-contained Fabric solutions via a Python CLI library or browse them on a companion website. The repo is managed with Nx and contains two projects: Each sub-project also has its own CONTRIBUTING.md with project-specific setup, quality checks, and workflows: - src/fabric_jumpstart/CONTRIBUTING.md — Python library only (adding jumpstarts, dev setup) - src/fabric_jumpstart_web/CONTRIBUTING.md — Website & Python via WSL (dev setup, conventions) The majority…

  • Installs packages

The file

We split this copilot-instructions.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the PR template in .github/pull_request_template.md

    line 170
  2. Distinctive:

    Keep commits focused; avoid formatting-only churn

    line 171

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Copilot Instructions — Fabric Jumpstart

Project Overview

Fabric Jumpstart is a monorepo providing ready-to-run accelerators, demos, and tutorials for Microsoft Fabric. Users discover and install self-contained Fabric solutions via a Python CLI library or browse them on a companion website.

The repo is managed with Nx and contains two projects:

ProjectPathTech Stack
fabric-jumpstart (Python library)src/fabric_jumpstart/Python 3.10–3.13, Hatchling, uv, Ruff, pytest
fabric-jumpstart-web (Website)src/fabric_jumpstart_web/Next.js 15, TypeScript, Fluent UI React v9, Jest

Repository Layout

├── .github/                    # CI workflows, issue/PR templates
├── contrib/                    # Bootstrap scripts for dev environment setup
├── dev/                        # Development and testing notebooks (.ipynb)
├── src/
│   ├── fabric_jumpstart/       # Python library (published to PyPI)
│   │   ├── fabric_jumpstart/   # Importable Python package
│   │   │   ├── core.py         # Main jumpstart logic
│   │   │   ├── installer.py    # Deployment orchestration
│   │   │   ├── registry.py     # Jumpstart catalog management
│   │   │   ├── workspace_manager.py
│   │   │   ├── ui/             # In-notebook HTML rendering
│   │   │   └── jumpstarts/
│   │   │       ├── core/       # Microsoft-sponsored jumpstarts (YAML)
│   │   │       └── community/  # Community-contributed jumpstarts (YAML)
│   │   └── tests/              # pytest test suite
│   └── fabric_jumpstart_web/   # Next.js website
│       ├── src/                # App source (pages, components, hooks, etc.)
│       ├── scripts/            # Content generation scripts
│       ├── locales/            # i18n translation files
│       └── __tests__/          # Jest test suite
├── tools/                      # Build utility scripts
├── CONTRIBUTING.md             # Shared contribution guidelines (issues, commits, PRs)
└── nx.json                     # Nx monorepo configuration

Each sub-project also has its own CONTRIBUTING.md with project-specific setup, quality checks, and workflows:

  • src/fabric_jumpstart/CONTRIBUTING.md — Python library only (adding jumpstarts, dev setup)
  • src/fabric_jumpstart_web/CONTRIBUTING.md — Website & Python via WSL (dev setup, conventions)

Most Common Contribution: Adding a New Jumpstart

The majority of contributions add a new jumpstart. This only touches the Python library project — specifically a single YAML file in src/fabric_jumpstart/fabric_jumpstart/jumpstarts/.

Jumpstart YAML Location

  • Core (Microsoft-sponsored): src/fabric_jumpstart/fabric_jumpstart/jumpstarts/core/<logical-id>.yml
  • Community: src/fabric_jumpstart/fabric_jumpstart/jumpstarts/community/<logical-id>.yml

Required YAML Fields

See any existing file in fabric_jumpstart/jumpstarts/core/ for a complete example. Key fields:

id: <unique integer>
logical_id: <kebab-case-identifier>
name: <Display Name>
description: >-
  Max 250 chars. Cannot start with the jumpstart name.
date_added: MM/DD/YYYY
workload_tags: [Data Engineering, Power BI, ...]
scenario_tags: [Streaming, Monitoring, ...]
type: Tutorial | Demo | Accelerator
source:
  repo_url: <public GitHub repo URL>
  repo_ref: <tag or commit SHA — not a branch>
  workspace_path: <path in repo>
items_in_scope: [Lakehouse, Notebook, ...]
entry_point: <Name>.<ItemType> or URL
owner_email: <contact email>

Validating a New Jumpstart

cd src/fabric_jumpstart
uv run pytest tests/test_registry.py

Python Library — fabric-jumpstart

Key Commands

cd src/fabric_jumpstart
uv sync                     # Create/sync virtual environment
uv run ruff check .         # Lint
uv run ty check .           # Type check
uv run pytest               # Run all tests

Conventions

  • Package manager: uv (not pip)
  • Linter: Ruff (with config in pyproject.toml; jumpstarts dir is excluded)
  • Type checker: ty
  • Build system: Hatchling
  • Python version: 3.10–3.13
  • Dependencies are listed in pyproject.toml under [project.dependencies]
  • Dev dependencies are in [dependency-groups]
  • Jumpstart YAML files are excluded from linting but validated by tests/test_registry.py

Module Responsibilities

ModulePurpose
core.pyPublic API — list(), install(), uninstall()
installer.pyDeployment orchestration and conflict handling
registry.pyLoads and validates jumpstart YAML catalog
workspace_manager.pyFabric workspace API interactions
ui/In-notebook HTML catalog rendering
constants.pyShared constants
logger.pyLogging setup
utils.pyShared helper functions

Website — fabric-jumpstart-web

Key Commands

cd src/fabric_jumpstart_web
npm install                  # Install dependencies
npm run dev                  # Dev server on port 8080
npm run build                # Production build (runs generate-content first)
npm run test                 # Jest with coverage
npm run lint                 # ESLint
npm run lint:fix             # ESLint auto-fix

Conventions

  • Framework: Next.js 15 with static export
  • UI library: Fluent UI React Components v9 (Microsoft design system)
  • i18n: next-intl
  • Styling: CSS modules + Fluent UI tokens
  • Testing: Jest + React Testing Library
  • Content generation: scripts/generate-content.ts runs as a prebuild step

Nx Monorepo Commands

# Build all projects
npx nx run-many -t build --parallel=3

# Test all projects
npx nx run-many -t test

# Full CI check (same as GitHub Actions)
npx nx run-many -t clean --output-style=stream
npx nx run-many -t build test --output-style=stream
npm run fail-on-untracked-files

CI / GitHub Actions

WorkflowFileTriggerPurpose
Python Matrixgci-python-matrix.ymlPRsLint, type check, pytest across Python 3.10–3.13
Full GCIgci-full.yamlPRsClean → build → test all projects; verify no untracked files
Deploydeploy.yamlPush to mainDeploy website + publish to PyPI

PR and Commit Conventions

  • PRs follow Conventional Commits for the headline
  • Use the PR template in .github/pull_request_template.md
  • Keep commits focused; avoid formatting-only churn

Important Standards (from STANDARDS.md)

  • Jumpstarts must be complete solutions deployable via jumpstart.install(<id>)
  • Data must be self-contained (bundled or generated)
  • Jumpstarts do not auto-trigger Fabric items — include a Notebook with instructions
  • Source repos should be lightweight; repo_ref must be a tag or commit SHA (not a branch)
  • Item names: no spaces, use lower_case_snake_case or ProperCamelCase
  • Each jumpstart is owned by a mail-enabled security group with at least two owners

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.