Repository navigation
Development
Engine: backend/ (FastAPI, Python 3.12, venv at backend/venv). App: frontend/ (vanilla TypeScript and Vite on port 5220 with host: false and strictPort, no framework). Desktop: src-tauri/. The formchem-skillset skill in .claude/skills/ maps the codebase for agents working on it.
- Clean room. FormChem is written only from the owner's clean-room specifications. Never open, run, decompile or read the private documentation of the commercial suite it replaces, and never copy its names, icons, templates or text.
- Surgical edits. Change one region at a time, by hand. No scripted rewrites, codemods, patch files or wholesale file rewrites.
-
Near-zero comments. No comments except where truly unavoidable, no commented-out code. The reason behind a non-obvious decision goes in
frontend/HASHOUT_LOG.mdorbackend/HASHOUT_LOG.mdas a short entry anchored by file and symbol. - No tests unless the owner asks for them in words.
- No emoji, no em dashes, in code, UI text or markdown. Use commas, colons or parentheses.
-
Icons are inline
currentColorSVG fromfrontend/src/ui/icons.ts. No icon libraries. -
z-index only through the tokens in
frontend/src/styles/tokens.css. Floating UI goes in#overlay-root. - Zero DOM flash. Mount structure once and patch nodes; never rebuild a live container to change one node. Reserve space for async content. No theme or font flash at first paint.
- Throttled verification. Every UI change is checked in a browser under 4x CPU slowdown and network throttling for flashes, layout shift and focus loss before it lands.
-
Skills. Every skill or sub-skill under
.claude/skillsor.agents/skillsis authored and repaired through the god-tier-skill-creator pipeline, and its validator must report zero FAIL before a hand-back../formchem agents sync --checkfails when the mirror, the generated tool list or the vendored dock module drift. -
Licences. Every new dependency gets a
NOTICE.mdrow first. GPL outside the bundle, AGPL nowhere, LGPL only as a separate program, non-commercial code or data never.
.github/workflows/ci.yml runs four jobs: frontend (npm ci, npm audit, build), backend (compile, formchem_engine.py --selfcheck, boot and probe /api/health and /api/version), notices (setup/notices.py --check) and scripts (bash -n on every shell script, no em dash in tracked Markdown, no emoji in tracked text).
Conventional Commits with the version in the summary, type(scope): summary (x.y.z), and a body. The version bump is the last commit of every series. The full model is in .docs/BRANCHING.md; releases are on the Releasing page.
FormChem
- Home
- Manual
- Getting Started
- Drawing
- Grid and Page
- Annotations
- Reactions
- Templates
- Printing and pages
- Keyboard Shortcuts
- Stereo and Queries
- Analysis
- Names
- Spectra and NMR
- 3D
- Databases
- Lab Notebook
- Biopolymers
- Live Structures
- Accessibility
- Formats and Export
- Clipboard
- Command Line
- Agents
- Agent Activity
- Terminal
- Extensions
- Project Format
- Architecture
- Desktop
- Troubleshooting
- Development
- Releasing
Documents