Logo di Precedent

Precedent

Community
Integralist
precedent

Conform work to the precedent a project already sets: naming, API shape, error handling, test style, document structure, and terminology. Use when the user asks whether a change fits the codebase, or another skill needs to judge project conformance.

Panoramica

AutoreIntegralist
Repositoryagent-skills
Nome della skillprecedent
Stelle
26
Fork
1
File inclusi
Solo istruzioni
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Integralist su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Precedent in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Integralist/agent-skills/tree/main/.agents/skills/precedent
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Integralist/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/.agents/skills/precedent .claude/skills/precedent
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Precedent in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Precedent non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Precedent non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Match the work to patterns established by the surrounding project. Precedent comes from peer files, not personal preference or a style guide; without a cited sibling, a finding is an invention. Explicit conventions outrank emergent precedent, so defer where a guide answers the question: conventions-go, conventions-markdown, conventions-mermaid, conventions-python, conventions-sql, and the project's GLOSSARY.md for domain terms. If there is only a legacy CONTEXT.md, use it and warn with ⚠️ that it should be renamed to GLOSSARY.md. This skill owns the patterns a codebase grew that no guide records.

Scope. A path or glob audits those files. --uncommitted, or "what I'm working on", means files listed by git status --porcelain. With no argument, ask which path to check.

  1. Find peers for every file. Look for files doing the same job: package siblings, other implementations of an interface, tests of the same shape, or documents at the same level. Two peers can establish a pattern; one may be coincidence, so widen the search after finding one. If a file has no peers, record that it has nothing to conform to and move on.
  2. Compare applicable patterns. Compare every file with its peers. Consider:
    • Code: identifier, file, test, and package naming; API shape (signatures, return types, receivers, constructors, options); error wrapping, sentinels, and where errors surface; logger, levels, keys, and spans; file placement and package layout; test style, helpers, fixtures, assertions, case names; and existing libraries for the job.
    • Documents: section names, order, and heading depth; expected sections; frontmatter fields and value style; table, list, or prose for similar content; and the words, person, and mood used by the glossary and neighbouring documents.
  3. Report before changing anything. Rank findings by blast radius: patterns other code will copy first, one-off cosmetics last. Each finding must state the divergence, the precedent, and cite at least two peers. If the target is better, say so and offer the inverse—changing the project to match—plus the cost in call sites moved. Conformance is the default; the goal is one pattern.
  4. Apply with the user, one finding at a time. The user accepts, skips, or inverts each finding. Apply an accepted fix before moving to the next, so each edit stays steerable.

Large paths. Read-only peer-finding on a large path may be delegated to subagents on the cheapest adequate tier. Follow SUBAGENT-STEERABILITY.md, including its completion and retry protocol. Report and apply in the main thread.

Domande frequenti

Cosa fa la skill IA Precedent?

Conform work to the precedent a project already sets: naming, API shape, error handling, test style, document structure, and terminology. Use when the user asks whether a change fits the codebase, or another skill needs to judge project conformance.

Perché usare Precedent su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Precedent è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Precedent in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Integralist/agent-skills/tree/main/.agents/skills/precedent. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Precedent?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Precedent?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Precedent: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Precedent è gratuita?

È pubblicata su GitHub da Integralist. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇