nodel-frontend
Skill2 starsChanged 5 months agoMITView on GitHub
Build or modify Nodel node dashboards with content/index.xml, CSS, JavaScript, and Nodel XSL components. Use for dashboard layouts, controls, action and event bindings, responsive styling, and browser-side behavior. Do not use for generic web apps, script.py recipe logic, live-host REST operations, or Nodel platform source changes.
In this repository3 other files it gives its agents.
- nodel-devSkill
- nodel-recipesSkill
- nodel-useSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 6 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Create or update content/index.xml, keeping custom CSS and JavaScript optional.
- Distinctive: line 14
Start with the minimal dashboard below and bind components to the node's real action and event names.
- Distinctive: line 15
Read the component reference before choosing tags or relying on an attribute.
- Distinctive: line 16
Read the pattern guide when composing a complete dashboard, adding custom styling, or handling dynamic behavior.
- Very specific: line 51
Remove the css or js attribute when the corresponding file does not exist.
- Very specific: line 55
Keep the v1/index.xsl processing instruction.
- Distinctive: line 56
Use the stock component tags and attributes instead of assuming arbitrary HTML passes through.
- Very specific: line 58
Use <image source='...'>, not <img>.
- Very specific: line 59
Place <input> directly under <header>.
- Very specific: line 60
Put <row> elements directly under <footer>.
- Very specific: line 62
Do not listen for a nodel-event DOM event.
- Very specific: line 66
Use event to display node state and action to send a value.
- Very specific: line 67
Use join when the action and event share a name.
- Very specific: line 68
Use data for dynamic option or button collections emitted by the node.
- Very specific: line 69
Use showevent and showvalue for conditional visibility.
- Very specific: line 73
Read references/components.md when selecting a component, checking supported children, or confirming attributes, sizing, bindings, and …
- Very specific: line 74
Read references/patterns.md when assembling full dashboards, admin locks, dynamic controls, responsive layouts, confirmation flows, or …
- Distinctive: line 80
Check the page at phone and desktop widths when the layout is responsive.
- Distinctive: line 81
Treat XML/XSL errors and browser-console errors as implementation failures.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nodel Frontend Development
Build and revise the XML dashboards served from a Nodel node's content directory.
Workflow
- Inspect the node's actions, events, and existing
contentfiles before choosing controls. - Create or update
content/index.xml, keeping custom CSS and JavaScript optional. - Start with the minimal dashboard below and bind components to the node's real action and event names.
- Read the component reference before choosing tags or relying on an attribute.
- Read the pattern guide when composing a complete dashboard, adding custom styling, or handling dynamic behavior.
- Render the page against a running Nodel node and check the browser console as well as the node console.
File Layout
nodes/My Node/
├── script.py
├── nodeConfig.json
└── content
├── index.xml
├── css
│ └── custom.css
└── js
└── custom.jsMinimal Dashboard
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="v1/index.xsl"?>
<pages title='Dashboard' css='css/custom.css' js='js/custom.js'>
<page title='Main'>
<row>
<column xs='12' sm='6'>
<title>Power</title>
<button action='Power' arg='On'>Turn On</button>
<status event='Power'>Current power</status>
</column>
</row>
</page>
</pages>Remove the css or js attribute when the corresponding file does not exist.
Critical Renderer Constraints
- Keep the
v1/index.xslprocessing instruction. Nodel transforms the XML through that stylesheet. - Use the stock component tags and attributes instead of assuming arbitrary HTML passes through.
- Lay out pages with the Bootstrap 3 twelve-column grid (
xs,sm,md, andlg). - Use
<image source='...'>, not<img>. Always providesource, including for event-backed images. - Place
<input>directly under<header>; the built-in rendered input type ischeckbox. - Put
<row>elements directly under<footer>. - Setting
coreon<pages>skips custom CSS and JavaScript loading. - Do not listen for a
nodel-eventDOM event. The renderer updates bound elements directly; observe the property it changes when custom JavaScript must react.
Binding Conventions
- Use
eventto display node state andactionto send a value. - Use
joinwhen the action and event share a name. - Use
datafor dynamic option or button collections emitted by the node. - Use
showeventandshowvaluefor conditional visibility. Some layout components also supporteventandvalue.
References
- Read
references/components.mdwhen selecting a component, checking supported children, or confirming attributes, sizing, bindings, and renderer caveats. - Read
references/patterns.mdwhen assembling full dashboards, admin locks, dynamic controls, responsive layouts, confirmation flows, or custom CSS and JavaScript.
Completion Check
- Confirm every bound action and event exists on the target node.
- Confirm optional asset paths match the
contentdirectory layout. - Check the page at phone and desktop widths when the layout is responsive.
- Treat XML/XSL errors and browser-console errors as implementation failures.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

