-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.config.ts
More file actions
65 lines (57 loc) · 2.03 KB
/
Copy pathllms.config.ts
File metadata and controls
65 lines (57 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**
* Configuration for llms.txt generation.
*
* This file contains project-level metadata that can't be specified
* in individual documentation files' frontmatter.
*
* Individual pages control their inclusion via frontmatter:
* llms: true (default) | "optional" | "prompt" | "header" | "footer" | false
* llms_description: "Short description for LLM context"
*
* "prompt" pages are ready-made prompts for AI agents: the page body is the
* prompt text itself, listed in a dedicated "Prompts" section and served
* as-is (frontmatter stripped) at its per-page .md URL. See docs/intro/prompts.md.
*/
export const llmsConfig = {
/**
* Project name — used as H1 heading in llms.txt
*/
title: 'Testo',
/**
* Brief project summary — rendered as blockquote after H1
*/
summary:
'Testo is an extensible PHP testing framework. Includes Unit testing, Inline testing, Benchmarking, and a PhpStorm plugin for test generation and execution.',
/**
* Key facts about the project — rendered as a list before doc sections.
* Keep concise and factual, oriented at what an LLM needs to know.
*/
details: [
'Install: `composer require --dev testo/testo`',
'GitHub: https://github.com/php-testo/testo',
'PhpStorm plugin: https://plugins.jetbrains.com/plugin/28842-testo',
],
/**
* Base URL for documentation links in llms.txt.
* Page paths from frontmatter are appended to this.
*/
baseUrl: '',
/**
* Section name for documentation pages
*/
docsSection: 'Docs',
/**
* Section name for pages with llms: "optional"
*/
optionalSection: 'Optional',
/**
* Section name for pages with llms: "prompt"
*/
promptsSection: 'Prompts',
/**
* Line rendered under the prompts heading. Prompt pages are excluded from
* llms-full.txt, so this is the only place their nature is explained.
*/
promptsSectionNote:
'Each link below is a standalone task prompt, not reference material. Fetch one only when the user asks for that task, and treat its contents as a plan to follow.',
}