Conversation
Skill Validation ReportProject Checks |
There was a problem hiding this comment.
Thanks for the skill! Custom domains definitely deserves its own dedicated skill. A few changes to request before we merge:
1. Make the skill canister-agnostic
Custom domains work at the boundary node level — they map a domain to any canister ID via DNS, not just asset canisters. The skill should acknowledge this works with any HTTP-serving canister (asset canisters, Juno, custom canisters implementing http_request).
Specifically, mention in "What This Is" that this works with any canister that can serve /.well-known/ic-domains over HTTP.
2. Update the asset-canister skill
Since this is now a dedicated skill, please also update skills/asset-canister/SKILL.md:
- Trim the "Custom Domain Setup" section (lines 123–158) down to a short cross-reference, something like: "For custom domain setup (DNS, TLS certificates, domain registration), see the
custom-domainsskill. The only asset-canister-specific detail: your.well-known/ic-domainsfile must be in yourdirdirectory so it gets deployed." - Remove "configuring custom domains" and "custom domains" from the
descriptionfield in the frontmatter (line 3) so agents don't trigger asset-canister for domain questions
3. Clean trigger separation between the two skills
The two skills need clear trigger boundaries so agents route queries to the right one:
In evaluations/custom-domains.json — add to should_not_trigger:
- "How do I deploy a frontend on the IC?"
- "Configure .ic-assets.json5 for my project"
- "How do I upload files to an asset canister programmatically?"
In evaluations/asset-canister.json — add to should_not_trigger:
- "How do I set up a custom domain on the IC?"
- "Configure DNS for my IC canister"
…aration - custom-domains skill now acknowledges it works with any HTTP-serving canister, not just asset canisters - asset-canister description and body trimmed to cross-reference custom-domains instead of duplicating setup instructions - added should_not_trigger entries to both eval files for clean routing
asset-canisterTrigger Evalscustom-domainFull evaluation |
- Remove asset-canister-specific content (pitfall #6, .ic-assets.json5 step, Vite directory layouts) from custom-domains skill - Replace with canister-agnostic instructions and scoped notes for asset canister vs custom http_request canisters - Generalize deploy steps to not prescribe specific commands - Rewrite ic-domains eval to be canister-agnostic - Adjust expected behaviors to test for actionable guidance rather than keyword matching
marc0olo
left a comment
There was a problem hiding this comment.
@andrewbattat I applied some changes and will merge now.
Custom domain documentation: https://docs.internetcomputer.org/building-apps/frontends/custom-domains/using-custom-domains