cc-codeconductor 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/index.js +1588 -55
- package/package.json +1 -1
- package/presets/seo-hotel/commands/cc-seo-llms.md +64 -0
- package/presets/seo-hotel/seo-hotel.yml +55 -0
package/package.json
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# SEO llms.txt Generator
|
|
2
|
+
|
|
3
|
+
Generate a `llms.txt` file for AI-search readiness from a website's sitemap.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/cc-seo-llms --sitemap <sitemap-url> [--output <path>]
|
|
9
|
+
/cc-seo-llms --url <url> [--output <path>]
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Parameters
|
|
13
|
+
|
|
14
|
+
| Parameter | Required | Description |
|
|
15
|
+
|-----------|----------|-------------|
|
|
16
|
+
| `--sitemap` | One of `--url` or `--sitemap` | Remote sitemap XML URL. All URLs will be processed. |
|
|
17
|
+
| `--url` | One of `--url` or `--sitemap` | Single URL to generate llms.txt entry for. |
|
|
18
|
+
| `--output` | No | Output file path (default: `./llms.txt`) |
|
|
19
|
+
| `--delay` | No | Delay between requests in ms (default: 500) |
|
|
20
|
+
|
|
21
|
+
## Workflow
|
|
22
|
+
|
|
23
|
+
1. **Fetch** the sitemap XML and extract all `<loc>` entries
|
|
24
|
+
2. **Process** each URL: fetch page, extract title, description, and first paragraph
|
|
25
|
+
3. **Group** entries by path segment (e.g., `/rooms/`, `/about/`, `/blog/`)
|
|
26
|
+
4. **Generate** llms.txt following the specification format:
|
|
27
|
+
```
|
|
28
|
+
# Site Name
|
|
29
|
+
> Site description
|
|
30
|
+
|
|
31
|
+
## Section
|
|
32
|
+
- [Page Title](url): description
|
|
33
|
+
```
|
|
34
|
+
5. **Write** the output file
|
|
35
|
+
|
|
36
|
+
## Hard Rules
|
|
37
|
+
|
|
38
|
+
- **Sitemap-scoped only.** Only process URLs from the provided sitemap.
|
|
39
|
+
- **GET only.** No POST, PUT, DELETE requests.
|
|
40
|
+
- **No auth.** Never send cookies, tokens, or API keys.
|
|
41
|
+
- **Timeout.** 10 seconds per request.
|
|
42
|
+
- **SSRF prevention.** Reject private IP ranges and non-HTTP(S) schemes.
|
|
43
|
+
- **Rate limiting.** 500ms between requests by default.
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Generate llms.txt from sitemap
|
|
49
|
+
/cc-seo-llms --sitemap https://www.example.com/sitemap-0.xml
|
|
50
|
+
|
|
51
|
+
# Generate for a single URL
|
|
52
|
+
/cc-seo-llms --url https://www.example.com
|
|
53
|
+
|
|
54
|
+
# Custom output path
|
|
55
|
+
/cc-seo-llms --sitemap https://www.example.com/sitemap-0.xml --output ./public/llms.txt
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Exit Codes
|
|
59
|
+
|
|
60
|
+
| Code | Meaning |
|
|
61
|
+
|------|---------|
|
|
62
|
+
| 0 | Success |
|
|
63
|
+
| 1 | Missing required parameters |
|
|
64
|
+
| 3 | Network or parsing error |
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: seo-hotel
|
|
2
|
+
version: 0.3.0
|
|
3
|
+
description: SEO/GEO audit suite for hotel and hospitality websites
|
|
4
|
+
outputContract: v1
|
|
5
|
+
|
|
6
|
+
agents:
|
|
7
|
+
- id: seo-auditor
|
|
8
|
+
role: SEO Auditor
|
|
9
|
+
context: repo-readonly
|
|
10
|
+
modelHint: analytical
|
|
11
|
+
focus:
|
|
12
|
+
- technical-seo
|
|
13
|
+
- meta-tags
|
|
14
|
+
- crawlability
|
|
15
|
+
- page-speed
|
|
16
|
+
|
|
17
|
+
- id: schema-validator
|
|
18
|
+
role: Schema Validator
|
|
19
|
+
context: repo-readonly
|
|
20
|
+
modelHint: strong-reasoning
|
|
21
|
+
focus:
|
|
22
|
+
- schema-org
|
|
23
|
+
- json-ld
|
|
24
|
+
- structured-data
|
|
25
|
+
- rich-results
|
|
26
|
+
|
|
27
|
+
- id: geo-specialist
|
|
28
|
+
role: GEO Specialist
|
|
29
|
+
context: repo-readonly
|
|
30
|
+
modelHint: balanced
|
|
31
|
+
focus:
|
|
32
|
+
- ai-search
|
|
33
|
+
- citable-content
|
|
34
|
+
- llms-txt
|
|
35
|
+
- generative-engine-optimization
|
|
36
|
+
|
|
37
|
+
- id: content-strategist
|
|
38
|
+
role: Content Strategist
|
|
39
|
+
context: prompt-only
|
|
40
|
+
modelHint: balanced
|
|
41
|
+
focus:
|
|
42
|
+
- content-marketing
|
|
43
|
+
- off-page-seo
|
|
44
|
+
- backlinks
|
|
45
|
+
- hotel-copywriting
|
|
46
|
+
|
|
47
|
+
- id: astro-specialist
|
|
48
|
+
role: Astro Specialist
|
|
49
|
+
context: repo-readonly
|
|
50
|
+
modelHint: practical-coding
|
|
51
|
+
focus:
|
|
52
|
+
- astro-framework
|
|
53
|
+
- static-generation
|
|
54
|
+
- islands-architecture
|
|
55
|
+
- performance
|