- Home
- Skills
- Agents & Orchestration
- Standard.site Hugo Integration
Works with the AI Agents you already use
Standard.site Hugo Integration
Integrate standard.site lexicons into Hugo blogs for AT Protocol publishing and Bluesky rich previews.
$5
Standard.site Hugo Integration
Example session with this skill installed
Help me integrate standard.site into my Hugo blog at devlog.example.com so my posts show up properly on Bluesky. I have my DID and a Bluesky handle.
- Read your context and instructions
- Compiled the standard site hugo
- Generated the UI component
I have analyzed your Hugo project and identified the necessary integration points for standard.site. I will now configure the atproto publication record and setup the sync script.
Hugo standard.site Integration
I have added the [params.standard_site] block to your hugo.toml, created the head partial, and initialized the publishing script.
1. Configuration added to hugo.toml:
[params.standard_site]
enable = true
did = "did:plc:z72i7hd7zzr..."
publication_uri = "at://did:plc:z72i7hd7zzr.../site.standard.publication/self"
2. New Partial: layouts/partials/standard-site.html:
{{ if .Site.Params.standard_site.enable }}
<link rel="site.standard.publication" href="{{ .Site.Params.standard_site.publication_uri | safeURL }}">
{{ with .Params.standard_site_uri }}
<link rel="site.standard.document" href="{{ . | safeURL }}">
{{ end }}
{{ end }}
3. Deployment Script: scripts/publish-atproto.js:
const { BskyAgent } = require('@atproto/api');
const matter = require('gray-matter');
const dotenv = require('dotenv');
// Full implementation handles TID generation, PDS resolution,
// and record syncing for site.standard.document
Next steps
- Add your Bluesky app password to the new
.envfile (do not commit this). - Run
npm install dotenv gray-matterto prepare the environment. - Execute
node scripts/publish-atproto.jsto sync your first post to your PDS.
standard-site.html
TSX · React component
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Bluesky rich previews for Hugo blogs often fail because standard meta tags aren't enough for the AT Protocol. This skill implements the standard.site lexicons, syncing your Hugo posts directly to your Personal Data Server (PDS) so they appear natively in the ATmosphere.
What it does
- Lexicon Integration: Implements
site.standard.publicationandsite.standard.documentrecords on your PDS. - Rich Previews: Configures head partials to emit the required
at://link tags for Bluesky's AppView crawler. - Automated Publishing: Deploys a Node.js script to sync Hugo Markdown files to atproto records with idempotent hash checking.
- Asset Handling: Uploads post cover images and site icons as blobs, respecting the 1MB lexicon limits.
- Theme Sync: Maps Hugo site parameters to
basicThemehex colors for consistent branding across the AT Protocol.
How it works
- Endpoint Resolution: Resolves your DID to find the correct PDS service endpoint via PLC directory or
did.json. - Template Injection: Modifies your Hugo head partials to include the
<link>verification tags. - Script Setup: Configures a publishing script with
dotenvfor secure app password management. - Content Sync: Runs the sync process to write document records and update post frontmatter with AT-URIs.
Frameworks & tools
Hugo, Node.js, AT Protocol (atproto), Bluesky, gray-matter, dotenv.
Why this beats prompting it yourself
Manual integration often fails on AT Protocol specifics like TID rkey generation or missing $type fields in nested JSON objects which cause silent failures. This skill handles the PDS endpoint resolution and Go template safeURL escaping that standard AI prompts typically miss.
Use cases
- Syncing a self-hosted Hugo blog to the ATmosphere for native Bluesky discovery.
- Enabling rich link previews for blog posts shared on Bluesky.
- Managing decentralized site metadata via a personal PDS.
Known limitations
Does not handle DID/handle verification (DNS/well-known). Not suitable for CI/CD environments requiring repo-write-capable app passwords. Not compatible with non-Markdown Hugo content.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 10 days ago
- Passed all security checks, Safe to install
Requires