mol
SKILL.md
$mol Skill Workflow
1) Clarify the goal
- Ask for the exact feature, target module path, and whether Giper Baza or Tauri is involved.
- If the request is vague ("сделать что угодно"), propose 2-3 concrete options and ask to choose.
2) Pick the right reference
- Use
references/MOL_QUICK_START.mdfor core $mol/MAM structure, view.tree syntax, components, best practices, and debugging. - Use
references/MOL_GIPER_BAZA_GUIDE.mdfor data modeling, auth/roles, CRUD, sync, and backend-style patterns. - Use
references/GIPER_BAZA_ADMIN_GUIDE.mdfor admin panels, roles, UI patterns, and admin CRUD flows. - Use
references/TAURI_SETUP.mdfor desktop setup, build, and CI.
3) Implement in a MAM module
- Follow the module structure and naming rules from
MOL_QUICK_START.md. - Create or update:
index.htmlin the module root*.view.treefor layout*.view.tsfor logic (use@$mol_mem,@$mol_action)*.view.css.tsfor styles*.meta.treefor meta config when needed
- Use
view.treebindings correctly:<=for one-way,<=>for two-way*for list/collection propertiesnullto remove nodes conditionally
4) Data with Giper Baza (if needed)
- Model data with
class ... extends $giper_baza_entity.with({ ... }). - Keep CRUD in
@$mol_mem/@$mol_actionmethods. - Use presets/roles if data must be shared across lands or users.
- Follow auth/roles guidance from the Giper Baza references.
5) Validate & debug
- Don't run the build unless you're asked to.
- Always check
yourproject/-/web.audit.jsafter build; fix all warnings/errors. - Add tests in
*.test.tswhen logic is non-trivial.
6) Tauri (if requested)
- Follow
references/TAURI_SETUP.mdfor setup, dev, and build steps. - Ensure
frontendDistpoints to the built-/folder. - For CI builds use
b-on-g/tauri-mol-workflow-template:
# As action (single platform, use matrix for multi-platform)
- uses: b-on-g/tauri-mol-workflow-template@master
with:
module: "appname/app" # MAM module path
platform: desktop # desktop | android | ios
# As reusable workflow (all platforms out of the box)
jobs:
tauri:
uses: b-on-g/tauri-mol-workflow-template/.github/workflows/tauri_reusable.yml@master
with:
mam_module_path: appname/app
secrets: inherit
7) SEO / Prerendering (if requested)
- $mol SPAs need prerendering for search engine indexing — Googlebot sees empty
<div>without it. - Use
b-on-g/mol-prerender-actionaftermam_build, before deploy:
- uses: b-on-g/mol-prerender-action@main
with:
base-url: "https://example.github.io/app/" # prod URL for sitemap
screens: | # screen IDs, one per line
campaign
shop
leaderboard
- Auto-detects build dir and root selector from
index.html. - Generates static HTML per screen,
sitemap.xml, androbots.txt. route-format:#!(default) or?— matches$mol_state_argformat.- Title and description extracted from each rendered page automatically.
Output expectations
- Provide minimal, runnable edits in the target module.
- If the user asks for examples, include a small
view.tree+view.tspair. - Prefer concrete file paths and exact command lines.
Weekly Installs
15
Repository
b-on-g/mol_skillFirst Seen
Feb 6, 2026
Security Audits
Installed on
gemini-cli15
github-copilot15
codex15
cursor15
opencode14
claude-code14