skills
This commit is contained in:
@@ -96,10 +96,11 @@ Every contract generated in Phase 1 MUST pass these checks (from `semantics-core
|
||||
|
||||
### Anchor Syntax (canonical)
|
||||
|
||||
- Python: `# #region ContractId [C:N] [TYPE TypeName] [SEMANTICS tags]` / `# #endregion ContractId`
|
||||
- Svelte markup: `<!-- #region ContractId [C:N] [TYPE Component] [SEMANTICS tags] -->` / `<!-- #endregion ContractId -->`
|
||||
- Svelte/TypeScript model: `// #region ModelName [C:N] [TYPE Model] [SEMANTICS tags]` / `// #endregion ModelName`
|
||||
- Markdown/ADR: `## @{ ContractId [C:N] [TYPE TypeName]` / `## @} ContractId`
|
||||
- Python: `# #region Domain.Name [C:N] [TYPE TypeName] [SEMANTICS tags]` / `# #endregion Domain.Name`
|
||||
- Svelte markup: `<!-- #region Domain.Name [C:N] [TYPE Component] [SEMANTICS tags] -->` / `<!-- #endregion Domain.Name -->`
|
||||
- Svelte/TypeScript model: `// #region Domain.Name [C:N] [TYPE Model] [SEMANTICS tags]` / `// #endregion Domain.Name`
|
||||
- Markdown/ADR: `## @{ Domain.Name [C:N] [TYPE TypeName]` / `## @} Domain.Name`
|
||||
- **For modules: `@defgroup Domain Description` on line 2 declares the group.** Child contracts use `@ingroup Domain` to join.
|
||||
- **Legacy `[DEF:id:Type]` syntax is deprecated** — use `#region` format exclusively.
|
||||
- **Model files use `.svelte.ts` extension** — canonical format for contracts with Svelte reactive primitives.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user