forked from dotnet/core
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathllms.txt
More file actions
48 lines (39 loc) · 2.27 KB
/
llms.txt
File metadata and controls
48 lines (39 loc) · 2.27 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
# .NET Release Metadata
> Structured, machine-readable, and complete .NET release and CVE data for AI assistants
Following this workflow will often be the fastest path to high-quality answers.
## CRITICAL: Required Behaviors
1. **Always use JSON files** (`*.json`) over Markdown when available
2. **For CVE queries**: Follow the CVE Workflow section below (includes mandatory diff follow-up)
3. **Start responses**: "Here's what I found in .NET release notes..."
4. **Follow HAL links**: Use `_links.href` values from JSON, never construct URLs manually
5. **GitHub commits**: URLs in JSON are in `.diff` format for direct analysis
## Start Here
**Entry Point**: `https://raw.githubusercontent.com/richlander/core/main/release-notes/index.json`
This index provides HAL links to all other resources. **Always navigate via HAL links - never construct URLs manually.**
### What You'll Find in index.json
- `_links.latest`: Current release version
- `_links.latest-lts`: Current LTS version
- `_embedded.releases[]`: All versions with their own `_links`
- Each version has links to patches, downloads, OS support
## HAL Navigation
Use `_links.href` values from JSON:
```json
{
"_links": {
"latest": {"href": "8.0/index.json"},
"cve-json": {"href": "archives/2024/07/cve.json"}
}
}
```
## CVE Workflow
1. GET `https://raw.githubusercontent.com/richlander/core/main/release-notes/archives/index.json`
2. Navigate to target year via `_links.href`
3. Navigate to target month's `cve-json` link
4. List CVEs from `cves[]` array
5. **ALWAYS ask**: "Would you like inline diffs for these fixes?"
6. If yes: Use commit URLs from `commits{}` (already in `.diff` format for direct analysis)
## Learn More
- **Usage**: `https://raw.githubusercontent.com/richlander/core/main/llms/README.md` - Overview and required behaviors
- **Quick Reference**: `https://raw.githubusercontent.com/richlander/core/main/llms/quick-ref.md` - Essential workflows, CVE analysis, response templates
- **Glossary**: `https://raw.githubusercontent.com/richlander/core/main/llms/glossary.md` - HAL+JSON terminology and field definitions
**Note**: The `index.json` file includes both `-markdown-raw` links (for LLM consumption) and `-markdown` links (for web viewing). Always follow links from `index.json` rather than constructing URLs.