← Back to list

standards
by plaited
You design the system, AI generates the screens
⭐ 6🍴 1📅 Jan 24, 2026
SKILL.md
name: standards description: Plaited code conventions and development standards. Use when writing or editing TypeScript code in Plaited projects, following code conventions (type system, function style, imports), generating code, or verifying code quality. license: ISC compatibility: Requires bun
Plaited Standards
Purpose
This skill provides code conventions and development standards that apply to all Plaited code—whether behavioral programs, UI templates, utilities, or tests.
Use this when:
- Writing or editing TypeScript code in Plaited projects
- Following Plaited code conventions
- Generating code for Plaited applications
- Verifying code quality before presenting to users
- Understanding import path standards
- Applying the 95% confidence threshold
Quick Reference
| Reference | Use For |
|---|---|
| code-conventions.md | Type system, function style, templates, imports, null handling |
| standards.md | 95% confidence threshold, documentation guidelines, Bun APIs |
| verification-workflow.md | Complete code generation workflow |
Code Conventions
Type System
- Prefer
typeoverinterface - Use
typefor object shapes, unions, intersections - Use arrow functions over function declarations
Function Style
- Arrow functions for all functions
- Object parameters for functions with 2+ parameters
- Destructure in function signature
Templates
- JSX syntax only (not
h()orcreateTemplate()) - Use "template" not "component"
Imports
- Package imports in tests:
'plaited','plaited/ui','plaited/testing' plaitedfor behavioral programming (useBehavioral, useSignal, useWorker)plaited/uifor templates and custom elements (bElement, createStyles, FT)- Relative imports within packages
Null Handling
- Prefer
undefinedovernull - Use optional chaining and nullish coalescing
Development Standards
95% Confidence Threshold
- Verify information before stating implementation details
- Read files in real-time to verify accuracy
- Use typescript-lsp@plaited_development-skills skill for type verification
- Report uncertainty rather than guess
Documentation Guidelines
- TSDoc for public APIs
- No
@examplesections (tests/stories are living examples) - Use
@internalfor non-public APIs
Bun Platform APIs
- Prefer Bun native APIs over Node.js equivalents
- Use
Bun.file(),Bun.write(),Bun.spawn() - Use
bun:testfor testing
Verification Workflow
Code Generation Phases
- API Verification - Check imports, verify types with LSP
- Code Generation - Apply patterns from framework skills
- Post-Generation Validation - Verify against standards
Confidence Protocol
Before presenting code:
1. Verify all imports exist
2. Confirm type signatures with LSP
3. Check patterns against skill references
4. Only present if 95%+ confident
Terminology
Plaited is a template-driven framework:
- Use "template" not "component"
- Use "behavioral element" or "bElement" for interactive elements
- Refer to browser APIs by specific names (Custom Elements, Shadow DOM)
Related Skills
- behavioral-core - BP coordination patterns
- ui-patterns - Templates, bElements, styling
- typescript-lsp@plaited_development-skills - Type verification and symbol discovery
- code-documentation@plaited_development-skills - TSDoc writing standards
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon