PixelPilot: Instructions file for GitHub Copilot

vscode/.github/instructions/uiux-flutter.instructions.md

PixelPilot uiux-flutter.instructions.md is an instructions file for GitHub Copilot from dev-lou/PixelPilot. It costs 3,595 tokens per session, scanned A, original, MIT.

Instructions for applying the OpenCode UI/UX 2026 design system in Flutter, Google’s framework for building app interfaces. They explain how to turn design tokens such as colors and spacing into Flutter themes and use them across an app.

In plain words
What is it for?
Use it to set up Flutter colors, typography, spacing, navigation, alerts, gestures, and platform-adaptive behavior.
Why use it?
It helps keep the interface consistent and makes light and dark themes easier to manage.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions OpenCode.

This is dev-lou/PixelPilot's own configuration. It tells GitHub Copilot how to work on PixelPilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything PixelPilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dev-lou/PixelPilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dev-lou/PixelPilot/main/vscode/.github/instructions/uiux-flutter.instructions.md
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for PixelPilot uiux-flutter.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/uiux-flutter/github.svg)](https://agentmods.dev/instructions/dev-lou/pixelpilot/uiux-flutter)
Your own site
<a href="https://agentmods.dev/instructions/dev-lou/pixelpilot/uiux-flutter"><img src="https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/uiux-flutter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for PixelPilot uiux-flutter.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/dev-lou/pixelpilot/uiux-flutter"><img src="https://agentmods.dev/badge/instructions/dev-lou/pixelpilot/uiux-flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,595 This file is loaded in full into every session.
When invoked 3,595 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03595 $0.03595
Opus 5.5 $0.01438 $0.01438
Sonnet 5.5 $0.00719 $0.00719
Haiku 4.5 $0.00360 $0.00360

Measured 2mo ago against content hash c36290e70800, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

PixelPilot uiux-flutter.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vscode/.github/instructions/uiux-flutter.instructions.md · 490 lines

How it starts

The opening of the file, as written. The whole thing — 490 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenCode UI/UX 2026 — Flutter Integration Skill

This skill provides guidelines and best practices for integrating the OpenCode UI/UX 2026 design system within Flutter applications. It covers mapping design tokens to Flutter's ThemeData, implementing dark/light modes, handling navigation, displaying alerts, managing gestures, and adapting to platform-specific behaviors.

1. Design Tokens → ThemeData Mapping

Flutter's ThemeData is the central place to define the visual properties of your application. Mapping OpenCode design tokens (like var(--accent), var(--space-4)) to ThemeData ensures consistency and allows for easy theming.

Manual Mapping

For smaller projects or specific needs, you can manually map design tokens to ThemeData properties.

Step-by-step Instructions
  1. Define a ThemeData object: Create a ThemeData instance and populate its properties (colors, text styles, spacing) using values derived from your design tokens.
  2. Use Theme.of(context): Access these properties throughout your widget tree using Theme.of(context).colorScheme.primary or Theme.of(context).textTheme.bodyMedium.
Code Example
// lib/theme/app_theme.dart
import 'package:flutter/material.dart';

class AppTheme {
  static final Color _primaryColor = Color(0xFF0066FF); // Corresponds to var(--accent)
  static final Color _backgroundColor = Color(0xFFFFFFFF); // Corresponds to var(--bg) light
  static final Color _textColor = Color(0xFF0F1117); // Corresponds to var(--text) light

  static ThemeData lightTheme = ThemeData(
    brightness: Brightness.light,
    primaryColor: _primaryColor,
    colorScheme: ColorScheme.light(
      primary: _primaryColor,
      background: _backgroundColor,
      onBackground: _textColor,
      surface: Color(0xFFF7F8FA), // Corresponds to var(--surface) light
    ),
    textTheme: TextTheme(
      bodyMedium: TextStyle(color: _textColor, fontSize: 16.0), // Corresponds to var(--text-base)
      // Map other text styles
    ),
    // Define spacing using constants or extensions
    // For example, using a custom extension for spacing:
    // extension BuildContextExtension on BuildContext {
    //   double get space1 => 4.0;
    //   double get space2 => 8.0;
    // }
  );

  static ThemeData darkTheme = ThemeData(
    brightness: Brightness.dark,
    primaryColor: Color(0xFF4D8EFF), // Corresponds to var(--accent) dark
    colorScheme: ColorScheme.dark(
      primary: Color(0xFF4D8EFF),
      background: Color(0xFF0A0B0E), // Corresponds to var(--bg) dark
      onBackground: Color(0xFFEDF0F5), // Corresponds to var(--text) dark
      surface: Color(0xFF13151A), // Corresponds to var(--surface) dark
    ),
    textTheme: TextTheme(
      bodyMedium: TextStyle(color: Color(0xFFEDF0F5), fontSize: 16.0),
    ),
  );
}

// Usage in a widget:
// Text(
//   'Hello OpenCode',
//   style: Theme.of(context).textTheme.bodyMedium,
// )
// Container(
//   color: Theme.of(context).colorScheme.primary,
//   padding: EdgeInsets.all(context.space4), // If using custom spacing extension
// )

Read the full file on GitHub · 490 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 490 lines · 3,595 tokens per session scan A c36290e70800

Subscribe to this mod's changes

PixelPilot uiux-flutter.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 7mo ago), licensed MIT. It adds 3,595 tokens to every session, about $0.0144 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

PixelPilot uiux-flutter.instructions.md compared with instructions from other repositories

PixelPilot uiux-flutter.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
PixelPilot uiux-flutter.instructions.mddev-lou/PixelPilotInstructions file27mo agoMITA3,595GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot