mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-24 16:54:43 +00:00
The design-md skill documented the Apr 2026 (0.1.x) CLI behavior, which has since drifted: - Lint rules: the skill listed 7 rules that no longer exist by those names (duplicate-section, invalid-color, wcag-contrast, unknown-component-property); the 0.3.0 linter runs 9 rules (contrast-ratio, orphaned-tokens, missing-primary, missing-typography, section-order, unknown-key, token-summary, missing-sections, broken-ref). Verified against live lint output. - Colors: any CSS color is now valid (oklch/rgb/named), not hex-only. - Export: json-tailwind (v3) + css-tailwind (Tailwind v4 @theme CSS) formats; 'tailwind' is a back-compat alias. New exit-code semantics (export exits 0 regardless of source lint findings). - Section order / duplicate headings are lint warnings, not file rejection (verified: duplicate + out-of-order sections exit 0). - Windows: documented the designmd dot-free bin alias (the design.md bin name collides with the .md file association); skill declares platforms: [windows]. - New pitfall: typography sub-property typos (fontwight) are silently dropped with no finding as of 0.3.0. All claims verified by running @google/design.md 0.3.0 live (lint, export, duplicate-section, oklch token, starter template lints clean). Docs page regenerated via generate-skill-docs.py. |
||
|---|---|---|
| .. | ||
| docs | ||
| i18n/zh-Hans/docusaurus-plugin-content-docs/current | ||
| scripts | ||
| src | ||
| static | ||
| .gitignore | ||
| docusaurus.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| sidebars.ts | ||
| tsconfig.json | ||
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.