Logo Standard Site

Standard Site

Cộng đồng
greedychipmunk
standard-site

Convert data into Standard.site AT Protocol lexicon records and validate them against official schemas. Use when creating or verifying site.standard.publication, site.standard.document, site.standard.graph.subscription, site.standard.graph.recommend, or site.standard.theme.basic records — even if the user doesn't name Standard.site directly. Also use when working with AT Protocol blog or article publishing workflows, or when mapping content to standard.site format from other sources.

Tổng quan

Nhà phát hànhgreedychipmunk
Kho mãagent-skills
Tên kỹ năngstandard-site
Sao
24
Bản fork
1
Tệp đi kèm
6
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được greedychipmunk công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Standard Site trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/greedychipmunk/agent-skills/tree/main/standard-site
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/greedychipmunk/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/standard-site .claude/skills/standard-site
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Standard Site trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Standard Site ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Standard Site với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Standard.site

Convert data into Standard.site lexicon records for the AT Protocol and validate them against the official schemas.

When to Use

  • Creating publication, document, subscription, recommend, or theme records
  • Converting blog posts, articles, or other content into standard.site format
  • Validating existing records against standard.site lexicon schemas
  • Working with AT Protocol publishing workflows that involve standard.site
  • Mapping content from other formats (RSS, Markdown, JSON) to standard.site

Lexicons at a Glance

Lexicon$typeRequiredOptional
Publicationsite.standard.publicationurl, nameicon, description, basicTheme, labels, preferences
Documentsite.standard.documentsite, title, publishedAtpath, description, coverImage, content, textContent, bskyPostRef, tags, links, labels, contributors, updatedAt
Subscriptionsite.standard.graph.subscriptionpublicationcreatedAt
Recommendsite.standard.graph.recommenddocument, createdAt—
Themesite.standard.theme.basicbackground, foreground, accent, accentForeground—

All colors in themes use site.standard.theme.color#rgb (r, g, b as integers 0–255) or site.standard.theme.color#rgba (adds a as integer 0–100).

Conversion Workflow

  1. Identify the target lexicon. Determine which record type the data maps to:

    • A blog/site with a URL and name → publication
    • An individual article or post → document
    • A user following a publication → subscription
    • A user endorsing a document → recommend
    • Color scheme for a publication → theme (embedded inside publication as basicTheme)
  2. Map required fields first. Every record must include $type and all required properties. See the quick reference table above.

  3. Add optional fields. Include optional properties when the source data provides them. Do not invent values for missing optional fields.

  4. Validate. Run the validation script before finalizing:

bash
uv run scripts/validate.py --input record.json

Or pipe JSON via stdin:

bash
cat record.json | uv run scripts/validate.py --stdin
  1. Fix any errors. The script reports each issue with the property path and expected format. Fix and re-validate until it passes.

Validation

The bundled scripts/validate.py checks records against the standard.site lexicon schemas:

  • Detects $type and validates against the matching schema
  • Checks all required properties are present
  • Checks property types (string, integer, datetime, blob, at-uri, ref, array, object)
  • Checks constraints (maxLength, maxGraphemes, integer ranges for colors)
  • Validates nested objects (basicTheme colors, contributors, preferences)
  • Supports validating a single record or an array of records
bash
# Validate a single record
uv run scripts/validate.py --input publication.json

# Validate from stdin
echo '{"$type":"site.standard.publication","url":"https://example.com","name":"Test"}' | uv run scripts/validate.py --stdin

# Validate multiple records in a JSON array
uv run scripts/validate.py --input records.json

Output is structured JSON to stdout, diagnostics to stderr. Exit code 0 = valid, 1 = invalid, 2 = usage error.

Record Templates

Publication

json
{
  "$type": "site.standard.publication",
  "url": "https://example.com",
  "name": "Example Blog",
  "description": "A blog about technology",
  "basicTheme": {
    "$type": "site.standard.theme.basic",
    "background": { "$type": "site.standard.theme.color#rgb", "r": 255, "g": 255, "b": 255 },
    "foreground": { "$type": "site.standard.theme.color#rgb", "r": 31, "g": 41, "b": 55 },
    "accent": { "$type": "site.standard.theme.color#rgb", "r": 59, "g": 130, "b": 246 },
    "accentForeground": { "$type": "site.standard.theme.color#rgb", "r": 255, "g": 255, "b": 255 }
  },
  "preferences": { "showInDiscover": true }
}

Document

json
{
  "$type": "site.standard.document",
  "site": "at://did:plc:abc123/site.standard.publication/3lwafzkjqm25s",
  "path": "/blog/getting-started",
  "title": "Getting Started",
  "description": "Learn how to use Standard.site",
  "textContent": "Full text of the article...",
  "tags": ["tutorial", "atproto"],
  "publishedAt": "2024-01-20T14:30:00.000Z"
}

Subscription

json
{
  "$type": "site.standard.graph.subscription",
  "publication": "at://did:plc:abc123/site.standard.publication/3lwafzkjqm25s",
  "createdAt": "2026-05-19T14:30:00.000Z"
}

Recommend

json
{
  "$type": "site.standard.graph.recommend",
  "document": "at://did:plc:abc123/site.standard.document/3mbfqhezge25u",
  "createdAt": "2026-05-19T14:30:00.000Z"
}

Gotchas

  • Trailing slashes. The spec says avoid trailing slashes on url (publication) and site (document), but some implementations include them. The validator trims trailing slashes before checking — do the same in your code.
  • site vs url. In documents, site points to a publication record via at:// URI, or to a publication URL via https:// for loose documents. Both are valid.
  • path must have a leading slash. Document path should start with / (e.g., /blog/post-slug).
  • publishedAt is required for documents. Unlike createdAt on subscriptions (optional), publishedAt is required and must be an ISO 8601 datetime.
  • createdAt is required for recommends. Unlike subscriptions where it's optional, recommends require createdAt.
  • Tags should not have hashtag prefixes. Use "tutorial" not "#tutorial".
  • RGB color values are integers 0–255. Not hex strings, not floats. RGBA alpha is 0–100 (percentage), not 0–255.
  • All four theme colors are required. A basicTheme with only background and foreground is invalid — accent and accentForeground are also required.
  • basicTheme is embedded in the publication record. It is not a standalone record — it's a nested object inside site.standard.publication.
  • content is an open union. Each entry must specify a $type. The validator checks for $type presence but does not validate specific content formats.
  • maxLength vs maxGraphemes. maxLength counts UTF-16 code units; maxGraphemes counts user-perceived characters. Both constraints apply simultaneously — a string can violate maxGraphemes while being under maxLength.

Verification

Standard.site records can be verified against their web presence:

  • Publications: https://{url}/.well-known/site.standard.publication should return the publication's AT-URI. For non-root publications, append the path: /.well-known/site.standard.publication/path/to/publication.
  • Documents: The document's HTML page should include a <link rel="site.standard.document" href="at://..."> tag in the <head>.

Verification is separate from schema validation — a record can be schema-valid but unverified, and vice versa.

Detailed References

Load these when you need full schema details, edge cases, or examples for a specific lexicon:

  • references/publication.md — Full publication schema, blob handling, preferences, extensibility
  • references/document.md — Full document schema, contributor format, content union, links
  • references/subscription.md — Full subscription schema, AT-URI format
  • references/recommend.md — Full recommend schema, permissions
  • references/theme.md — Full theme schema, RGB/RGBA color types, contrast guidelines

Available Scripts

  • scripts/validate.py — Validates standard.site records against lexicon schemas. Run with uv run scripts/validate.py --input <file> or --stdin.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Standard Site làm được gì?

Convert data into Standard.site AT Protocol lexicon records and validate them against official schemas. Use when creating or verifying site.standard.publication, site.standard.document, site.standard.graph.subscription, site.standard.graph.recommend, or site.standard.theme.basic records — even if the user doesn't name Standard.site directly. Also use when working with AT Protocol blog or article publishing workflows, or when mapping content to standard.site format from other sources.

Vì sao nên dùng Standard Site trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Standard Site là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Standard Site trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/greedychipmunk/agent-skills/tree/main/standard-site. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Standard Site?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Standard Site với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Standard Site với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Standard Site có miễn phí không?

Có. Kỹ năng này được greedychipmunk phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇