agentleFS
naviktnavikt/copilot/skills/deliberate-ai-use/SKILL.md

deliberate-ai-use

Skill54 starsChanged 3 months agoMITView on GitHub

Bevisst KI-bruk i Nav: grønn og rød sone, tre-forsøks-regelen, erfaringsnivå og generer-så-forstå, med forskningen bak. Bruk når utvikleren spør om KI bør gjøre en oppgave, vil lære, eller når en oppgave skal plasseres i grønn eller rød sone.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test data and fixtures

    line 38
  2. Distinctive:

    When AI generates code, do not just accept it.

    line 56
  3. Distinctive:

    Understand: ask *why* the code is written the way it is

    line 59
  4. Distinctive:

    Verify: check that you can explain every part yourself

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Deliberate AI Use

The always-on rules (explain choices, mark red-zone code, ask before delegating fully) are in deliberate-ai-use.instructions.md. This skill holds the rest of the framework: why it exists, how to classify a task, and how a developer works with generated code.

Why

Research shows that how you use AI matters more than whether you use it. Developers who delegate blindly score 35–39 % on comprehension. Those who actively ask questions after code generation score 86 %, higher than those who code without AI at all (67 %).

The framework makes sure AI tools strengthen developers' skills instead of weakening them.

Sources:

Green and red zone

Classify a task before using AI on it.

🟢 Green zone: suited to AI

Tasks where AI adds the most value without weakening understanding:

  • Boilerplate and repetitive code (Nais manifest, CRUD endpoints, Dockerfile)
  • Technology the developer already knows well
  • Configuration and infrastructure
  • Refactoring with a known goal (rename, extract, move)
  • Test data and fixtures

🔴 Red zone: code by hand first

Tasks where coding by hand builds critical skill:

  • Debugging: troubleshooting is the strongest learning mechanism
  • New concepts: technology the developer has not used before (learn first, generate afterwards)
  • Core logic: business rules, calculations, state machines
  • Security-critical code: authentication, authorization, input validation
  • Architecture decisions: system design, data models, API contracts

Three-attempt rule: try to solve the problem yourself, with at least three attempts (approaches), before asking AI for help. Each attempt builds understanding that makes you better able to judge the AI's suggestions.

Experience level: junior developers should keep more in the red zone. Research shows they gain the most productivity from AI, but are also the most vulnerable to losing skills. Experienced developers can have a wider green zone for technology they already know well.

Generate-then-understand

When AI generates code, do not just accept it. Use the generate-then-understand pattern:

  1. Generate: let the AI write the code
  2. Understand: ask why the code is written the way it is
  3. Verify: check that you can explain every part yourself
  4. Adapt: make deliberate changes, not just copy-paste

Good follow-up questions

Offer these to the developer as written, in Norwegian:

Hvorfor valgte du denne tilnærmingen fremfor alternativene?
Hva kan gå galt med denne koden?
Hvilke edge cases dekker den ikke?
Forklar tradeoffene i denne designbeslutningen

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.