docs-phcdevworks-com is the official documentation site for the Spectre
design system. It centralizes implementation guides, reference material, and
supporting documentation for the Spectre ecosystem.
Maintained by PHCDevworks. It documents the Spectre design system — tokens, components, and adapters — for engineers and designers consuming the published packages.
| Field | Value |
|---|---|
| Project team | project-web |
| Repository role | Spectre documentation site |
| Package/artifact | docs-phcdevworks-com |
| Current version/status | 0.0.1 |
- Read AGENTS.md, then the agent-specific guide for the task.
- Check TODO.md and ROADMAP.md for current scope.
- Make the smallest repo-local change that satisfies the task.
- Run
npm run checkwhen validation is required or practical. - Update docs and CHANGELOG.md only when behavior, public contracts, or release-relevant metadata changed.
| Guide | Path |
|---|---|
| Agent rules | AGENTS.md |
| Claude Code | CLAUDE.md |
| Codex | CODEX.md |
| Copilot | COPILOT.md |
| Jules | JULES.md |
| Grok | GROK.md |
| Roadmap | ROADMAP.md |
| Todo | TODO.md |
| Changelog | CHANGELOG.md |
| Security | SECURITY.md |
docs-phcdevworks-com is the official documentation site for Spectre, run by
PHCDevworks. It centralizes implementation guides, reference material, and
supporting documentation for the Spectre ecosystem.
Repository docs: CONTRIBUTING.md | CHANGELOG.md | ROADMAP.md | SECURITY.md | AGENTS.md | CLAUDE.md | CODEX.md | JULES.md | COPILOT.md | GROK.md | LICENSE
This repository contains the Astro-based documentation experience for Spectre. It is intended to stay clear, accurate, and easy to maintain for both internal contributors and external readers.
This site is the documentation home for Spectre. It was scaffolded from the
@phcdevworks/spectre-init astro template and depends on
@phcdevworks/spectre-tokens, @phcdevworks/spectre-ui, and
@phcdevworks/spectre-ui-astro for Spectre-aligned presentation. It does not
define upstream design tokens or UI package internals.
The site owns the docs content; Spectre owns the system. Pages are built from
published spectre-ui-astro components and shipped sp-* classes, with no
site-authored design system. See "Spectre-First Building" in
AGENTS.md.
spectre.manifest.json describes the site's Spectre
dependencies for tooling and AI agents, and is validated by
@phcdevworks/spectre-manifest as part of npm run check.
- Maintain the Spectre documentation site.
- Update contributor-facing repository docs.
- Adjust docs-site build, preview, deployment, or workspace configuration.
- Keep automation guidance aligned across Claude Code, Codex, Copilot, and Jules.
- Do not define Spectre token contracts here.
- Do not implement source components for
@phcdevworks/spectre-ui. - Do not change company website positioning owned by
www-phcdevworks-com.
- Astro 7 (static output; no hosting adapter configured yet)
- TypeScript 7
@phcdevworks/spectre-tokens,@phcdevworks/spectre-ui,@phcdevworks/spectre-ui-astro@phcdevworks/spectre-manifest(dev) for manifest validation
- Node.js 22.12 or newer
- npm
npm installnpm run dev| Script | What it does |
|---|---|
npm run dev |
Start the local Astro development server |
npm run build |
Create the production build in dist/ |
npm run preview |
Serve the production build locally |
npm run manifest:validate |
Validate spectre.manifest.json with spectre-manifest-validate |
npm run check |
Full validation gate — runs npm run build then npm run manifest:validate |
npm run checknpm run check runs the production build then validates
spectre.manifest.json. Use it before any handoff.
Build fails with missing module errors — run npm install first; dist/
is not committed and must be rebuilt locally.
Manifest validation fails — confirm the docs-phcdevworks-com package
entry's dependencies in spectre.manifest.json still matches the
@phcdevworks/* dependencies in package.json.
| Path | Responsibility |
|---|---|
src/pages/ |
Route-level pages for the documentation experience |
src/layouts/ |
Page layout components; BaseLayout.astro loads spectre-ui CSS |
astro.config.ts |
Astro configuration |
spectre.manifest.json |
App manifest describing this site's Spectre dependencies |
- Claude Code leads primary implementation. See CLAUDE.md.
- Codex handles documentation, releases, production stabilization, repo hygiene, and config standardization. See CODEX.md.
- GitHub Copilot provides general development assistance. See COPILOT.md and .github/copilot-instructions.md.
- Google Jules handles small automated maintenance. See JULES.md.
- xAI Grok (and Grok Bot) assists with development and commits its own work. See GROK.md.
Claude Code has no git access in this repository; Codex executes git operations for its handed-off work. Site deployment remains Bradley Potts's sole authority. See AGENTS.md for the full commit-policy and release-authority grant.
Shared coordination rules live in AGENTS.md.
Track release-relevant documentation, workflow, and configuration changes in CHANGELOG.md.
See CONTRIBUTING.md.
See LICENSE.
- spectre-tokens
- spectre-ui
- spectre-ui-astro
- spectre-init
- spectre-manifest
- docs-phcdevworks-com
- www-phcdevworks-com
Spectre is run by PHCDevworks. This repository should use Spectre naming and PHCDevworks ownership language consistently across docs, settings, and project configuration.