Aller au contenu
Skillpedia
Programmation générale40k · #7140

create-llms

Ce qu’il fait

Crée un fichier nommé `llms.txt` qui aide les programmes informatiques (les modèles de langage) à comprendre un projet. Il liste les fichiers les plus importants et explique à quoi ils servent.

Quand l’utiliser

  • ✓Lorsque vous voulez qu'un programme d'IA comprenne rapidement ce que fait un projet de code.
  • ✓Lorsque vous démarrez un nouveau projet et souhaitez organiser la documentation pour l'IA.
  • ✓Pour faciliter la navigation dans les grands projets par des outils automatisés.

Lien du skill

https://github.com/github/awesome-copilot/blob/main/skills/create-llms/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/github/awesome-copilot/blob/main/skills/create-llms/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Crée un fichier llms.txt pour ce projet.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA commence par comprendre les règles de structure du fichier llms.txt. Ensuite, elle examine tous les fichiers de votre projet, détermine lesquels sont les plus importants, et crée le fichier llms.txt qui les liste avec leur description.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Create LLMs.txt File from Repository Structure

Create a new llms.txt file from scratch in the root of the repository following the official llms.txt specification at https://llmstxt.org/. This file provides high-level guidance to large language models (LLMs) on where to find relevant content for understanding the repository's purpose and specifications.

Primary Directive

Create a comprehensive llms.txt file that serves as an entry point for LLMs to understand and navigate the repository effectively. The file must comply with the llms.txt specification and be optimized for LLM consumption while remaining human-readable.

Analysis and Planning Phase

Before creating the llms.txt file, you must complete a thorough analysis:

Step 1: Review llms.txt Specification

  • Review the official specification at https://llmstxt.org/ to ensure full compliance
  • Understand the required format structure and guidelines
  • Note the specific markdown structure requirements

Step 2: Repository Structure Analysis

  • Examine the complete repository structure using appropriate tools
  • Identify the primary purpose and scope of the repository
  • Catalog all important directories and their purposes
  • List key files that would be valuable for LLM understanding

Step 3: Content Discovery

  • Identify README files and their locations
  • Find documentation files (.md files in /docs/, /spec/, etc.)
  • Locate specification files and their purposes
  • Discover configuration files and their relevance
  • Find example files and code samples
  • Identify any existing documentation structure

Step 4: Create Implementation Plan

Based on your analysis, create a structured plan that includes:

  • Repository purpose and scope summary
  • Priority-ordered list of essential files for LLM understanding
  • Secondary files that provide additional context
  • Organizational structure for the llms.txt file

Implementation Requirements

Format Compliance

The llms.txt file must follow this exact structure per the specification:

  1. H1 Header: Single line with repository/project name (required)
  2. Blockquote Summary: Brief description in blockquote format (optional but recommended)
  3. Additional Details: Zero or more markdown sections without headings for context
  4. File List Sections: Zero or more H2 sections containing markdown lists of links

Content Requirements

Required Elements

  • Project Name: Clear, descriptive title as H1
  • Summary: Concise blockquote explaining the repository's purpose
  • Key Files: Essential files organized by category (H2 sections)

File Link Format

Each file link must follow: [descriptive-name](relative-url): optional description

Section Organization

Organize files into logical H2 sections such as:

  • Documentation: Core documentation files
  • Specifications: Technical specifications and requirements
  • Examples: Sample code and usage examples
  • Configuration: Setup and configuration files
  • Optional: Secondary files (special meaning - can be skipped for shorter context)

Content Guidelines

Language and Style

  • Use concise, clear, unambiguous language
  • Avoid jargon without explanation
  • Write for both human and LLM readers
  • Be specific and informative in descriptions

File Selection Criteria

Include files that:

  • Explain the repository's purpose and scope
  • Provide essential technical documentation
  • Show usage examples and patterns
  • Define interfaces and specifications
  • Contain configuration and setup instructions

Exclude files that:

  • Are purely implementation details
  • Contain redundant information
  • Are build artifacts or generated content
  • Are not relevant to understanding the project

Execution Steps

Step 1: Repository Analysis

  1. Examine the repository structure completely
  2. Read the main README.md to understand the project
  3. Identify all documentation directories and files
  4. Catalog specification files and their purposes
  5. Find example files and configuration files

Step 2: Content Planning

  1. Determine the primary purpose statement
  2. Write a concise summary for the blockquote
  3. Group identified files into logical categories
  4. Prioritize files by importance for LLM understanding
  5. Create descriptions for each file link

Step 3: File Creation

  1. Create the llms.txt file in the repository root
  2. Follow the exact format specification
  3. Include all required sections

…

Questions fréquentes

Qu'est-ce qu'un fichier llms.txt ?

C'est un fichier texte qui sert de carte pour les programmes d'IA, en indiquant où trouver les informations importantes sur un projet de code.

Pourquoi en ai-je besoin ?

Il aide l'IA à comprendre plus vite le but et la structure de votre projet, ce qui rend les échanges plus efficaces.

Le fichier llms.txt est-il pour moi ou pour l'IA ?

Il est écrit pour être lisible à la fois par les humains et par les programmes d'IA, mais son rôle principal est de guider l'IA.

Détails

Description originale de l’auteur

Create an llms.txt file from scratch based on repository structure following the llms.txt specification at https://llmstxt.org/

repo: github/awesome-copilot

Popularité

Étoiles GitHub
40k
Position au classement
#7140
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires