livewire-powergrid: Instructions file for Gemini CLI

GEMINI.md

livewire-powergrid GEMINI.md is an instructions file for Gemini CLI from Power-Components/livewire-powergrid. It costs 1,329 tokens per session, scanned A, a copy of livewire-powergrid CLAUDE.md, MIT.

Coding instructions for PowerGrid 7.x, a Laravel Livewire component for displaying interactive data tables. They describe its PHP, Livewire, Tailwind CSS, and theming structure.

In plain words
What is it for?
Use them when changing PowerGrid themes, table views, Blade templates, styling, or server-side table actions.
Why use it?
They clarify the newer architecture and prevent agents from relying on removed dependencies or mixing visual logic into table markup.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is Power-Components/livewire-powergrid's own configuration. It tells Gemini CLI how to work on livewire-powergrid 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 livewire-powergrid configures →

About the project

Livewire PowerGrid is a Laravel package for creating configurable data tables in web applications. Laravel developers use it for tables with searching, filtering, sorting, editing, bulk actions, pagination, and data export. The catalogue add-ons support work with this package.

Power-Components/livewire-powergrid · 1,696 stars · on GitHub · livewire-powergrid.com

Reuse

Borrowing it

Nothing to install: this file belongs to Power-Components/livewire-powergrid. 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/Power-Components/livewire-powergrid/7.x/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/Power-Components/livewire-powergrid

Made for: Gemini CLI.

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 livewire-powergrid GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/power-components/livewire-powergrid/gemini-md/github.svg)](https://agentmods.dev/instructions/power-components/livewire-powergrid/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/power-components/livewire-powergrid/gemini-md"><img src="https://agentmods.dev/badge/instructions/power-components/livewire-powergrid/gemini-md/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 livewire-powergrid GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/power-components/livewire-powergrid/gemini-md"><img src="https://agentmods.dev/badge/instructions/power-components/livewire-powergrid/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,329 This file is loaded in full into every session.
When invoked 1,329 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 100% copy Near-identical to another mod 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.01329 $0.01329
Opus 5.5 $0.00532 $0.00532
Sonnet 5.5 $0.00266 $0.00266
Haiku 4.5 $0.00133 $0.00133

Measured 9d ago against content hash 95771b90831a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

livewire-powergrid GEMINI.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 9d 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.

Origin

This is a copy

100% identical to livewire-powergrid CLAUDE.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

GEMINI.md · 101 lines

How it starts

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

PowerGrid 7.x AI Guidelines

This document outlines the architectural guidelines for AI agents working with PowerGrid 7.x.

1. Core Principles

The 7.x version prioritizes simplicity, an adaptable native skeleton, and independent test components, discarding legacy dependencies.

  • PHP: 8.3+
  • Livewire: 4.0+
  • Tailwind CSS: 4.x+
  • Removed Legacy Dependencies: Bootstrap, third-party select integrations, Lazy components, and Pulse files.
  • New Required Package: power-components/partials (imported locally).

2. Architecture & Theming

  • Theme classes (src/Themes): Tailwind (root), DaisyUI and Flux extend it via parentTheme.
  • Section-based authoring: A theme exposes per-section methods (layout(), header(), table(), footer(), cols(), tabs(), plus filter()/editable()/toggleable()), each returning a token slice; they are auto-merged by themeTokenMethods(). struct() only sets baseView(). Write a slice as a plain nested array (6.x style) or with the fluent builder via the section() helper. ArrayTheme builds a whole theme from an array.
  • Selection & registry: config('livewire-powergrid.theme') accepts a registered name ('tailwind'|'daisyui'|'flux') or an FQCN, resolved through PowerGridManager::$themes / registerTheme().
  • No-code overrides: config('livewire-powergrid.theme_overrides') merges token overrides at the highest precedence — restyle any token without a Theme class.
  • Absolute Separation: HTML structure is separated from visual styles; classes live in tokens read by the theme() helper.

3. Views

  • No Theme Conditionals: Do not use logic like @if($theme == 'bootstrap') in Blade files.
  • Micro-files Strategy: Table views are single-purpose micro-files under resources/views/components/structure/ (e.g. table.blade.php, partials/tbody.blade.php, table/row.blade.php).
  • Token-driven, minimal overrides: A theme ships a blade only when the HTML structure genuinely differs; class-only differences live in tokens. DaisyUI ships zero blades (fully token-driven, inheriting Tailwind's views); Flux keeps blades that use <flux:*> components.
  • Helpers: Read tokens with theme('key') (or @theme('key')) and resolve views with theme_view('alias').

Read the full file on GitHub · 101 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. 9d ago Changed · +2 lines · +38 tokens per session 95771b90831a
  2. 2mo ago Changed · +3 lines · +293 tokens per session 453316a88adb
  3. 2mo ago First seen · 96 lines · 998 tokens per session scan A e6cd4f7ca2b6

Subscribe to this mod's changes

livewire-powergrid GEMINI.md is an instructions file published in the GitHub repository Power-Components/livewire-powergrid (1,696 stars, last pushed 6d ago), licensed MIT. It adds 1,329 tokens to every session, about $0.0053 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to livewire-powergrid CLAUDE.md, differing in 0 lines, and is treated as a copy.

Related

livewire-powergrid GEMINI.md compared with instructions from other repositories

livewire-powergrid GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
livewire-powergrid GEMINI.mdPower-Components/livewire-powergridInstructions file1.7k6d agoMITA1,329Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,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 file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode