Developing Lit web components in the Punkt design system (@oslokommune/punkt-elements). Covers creating, modifying, and testing components in /packages/elements/src/components/. Use when working on Punkt Elements source code.
82
73%
Does it follow best practices?
Impact
97%
1.44xAverage score across 3 eval scenarios
Passed
No known issues
Fix and improve this skill with Tessl
tessl review fix ./skills/punkt-elements-dev/SKILL.mdNew display component with slot content
Correct base class
100%
100%
Class naming convention
100%
100%
Custom element tag
50%
100%
Interface naming
100%
100%
Generic type + implements
100%
100%
No static styles
100%
100%
classMap for dynamic classes
100%
100%
PktSlotController init
100%
100%
Export default
0%
100%
index.ts re-exports
100%
100%
Type alias T prefix
50%
100%
Axe accessibility test
100%
100%
createElementTest helper
100%
100%
Form-associated input with ElementInternals
Correct base class
100%
100%
Form association flag
30%
80%
ElementInternals attachment
25%
75%
pkt-input-wrapper usage
100%
100%
stopImmediatePropagation on events
100%
100%
Custom event bubbles+composed
62%
100%
No static styles
100%
100%
Interface IPktPhoneInput
100%
100%
Generic type + implements
37%
100%
Export default
0%
100%
index.ts re-exports
100%
100%
ref() for input reference
100%
100%
classMap for CSS classes
100%
0%
Context API composite parent-child component
createContext from @lit/context
100%
100%
Symbol key for context
0%
100%
@provide with @state
0%
100%
Methods bound in context object
0%
100%
Context spread on update
0%
100%
@consume with subscribe
100%
100%
@property attribute false
0%
100%
Optional context type
100%
100%
updateComplete wait in connectedCallback
0%
100%
No static styles
100%
100%
classMap in render
0%
100%
index.ts re-exports
100%
100%
ba01e6a
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.