CtrlK
BlogDocsLog inGet started
Tessl Logo

ai-chat

Guidance for improving the Windmill AI chat (copilot), especially global mode — tools, prompts, and context-window discipline. Use when editing chat tools, system prompts, or tool-result shapes under frontend/src/lib/components/copilot/chat, or when changing how the chat manages its context window.

71

Quality

89%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exemplary lean, dense guidance skill: it teaches only project-specific invariants (per-iteration token tax, write-echo discipline, prompt placement) with named files, commands, and markers. The residual gaps are the absence of an explicit ordered workflow and fully executable inline examples for the benchmarking step.

Suggestions

Add a short ordered checklist at the top (benchmark before → make the change → benchmark after, same models/cases → rerun `python system_prompts/generate.py` if prompts changed) so the implicit workflow becomes an explicit sequence.

Include a minimal good-vs-bad example of a write tool's return shape to anchor the `{ success, message }` invariant concretely.

Name the exact command or entry point in the `ai-evals` skill for running the affected mode, so the benchmark step is copy-paste executable without loading the other skill first.

DimensionReasoningScore

Conciseness

Every line carries non-obvious, project-specific knowledge — e.g. 'the system prompt **plus every tool schema** is re-sent on every loop iteration', 'Optimize **`finalContextTokens`** (window occupancy — what drives overflow and compaction)', and the canonical write-echo mistake. There is no padding and nothing Claude already knows is re-explained.

5 / 5

Actionability

Highly concrete guidance throughout: named files and helpers ('`finishAppDraftWrite` in `global/core.ts`', '`system_prompts/base/`', '`system_prompts/README.md`'), an exact command ('rerun `python system_prompts/generate.py`'), exact markers ('`<!-- chat-only -->` / `<!-- cli-only -->`'), and an exact return shape ('return `{ success, message }` instead'). It stops short of a 5 because the benchmark step's execution is fully delegated to the external `ai-evals` skill and no code/schema snippets are shown inline.

4 / 5

Workflow Clarity

A clear validation checkpoint is stated explicitly — 'Run the affected mode **before** your change and **after**, same model(s), same cases' — plus a re-check loop for shared refactors ('re-check this invariant for **all** the write tools routing through it'). However, the body is organized as principles under topical headings rather than one ordered sequence, so sequencing must be assembled by the reader rather than followed as a checklist.

4 / 5

Progressive Disclosure

The body is under 50 lines with no bundle files, and content is well organized under six clear section headers. The only external pointers ('see the `ai-evals` skill', '`system_prompts/README.md` has the mechanics') are one level deep and clearly signaled, so nothing needs splitting out.

5 / 5

Total

18

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it clearly states what the skill covers and gives explicit, concrete 'Use when...' triggers scoped to a specific codebase area. The only softness is that 'improving' is a generic verb where more distinct concrete actions could be named.

DimensionReasoningScore

Specificity

The description names its domain precisely ('the Windmill AI chat (copilot), especially global mode') and enumerates specific areas of action — 'tools, prompts, and context-window discipline' — anchored by concrete artifacts like 'tool-result shapes under frontend/src/lib/components/copilot/chat'. It falls short of a 5 because the only verb is the generic 'improving', without the multiple distinct concrete actions of the top anchor.

4 / 5

Completeness

It explicitly answers both parts: what — 'Guidance for improving the Windmill AI chat (copilot), especially global mode — tools, prompts, and context-window discipline'; when — 'Use when editing chat tools, system prompts, or tool-result shapes under frontend/src/lib/components/copilot/chat, or when changing how the chat manages its context window.' Both are concrete, with the 'when' clause given twice as explicit trigger conditions.

5 / 5

Trigger Term Quality

Natural trigger terms are well covered: 'AI chat', 'copilot', 'chat tools', 'system prompts', 'context window' — phrases a developer on this codebase would actually say. It is not a 5 because there are no synonym variants or extension-style triggers (e.g. 'draft mode', 'compaction', 'core.ts') to round out coverage.

4 / 5

Distinctiveness Conflict Risk

A clear niche anchored to a named product ('Windmill AI chat (copilot)') and a specific source path ('frontend/src/lib/components/copilot/chat'), so it is highly unlikely to trigger for any other skill. Third-person voice is maintained throughout, so no penalty applies.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
windmill-labs/windmill
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.