implement
БесплатноБез исполняемых скриптовНе проверенImplement approved plans with precision and quality for Linus Dashboard Home Assistant integration. Use when implementing features, executing approved plans…
Об этом скилле
Implement Approved Plans
Implement approved plans for Linus Dashboard, a Home Assistant custom integration with TypeScript frontend and Python backend.
Your Role
You are a senior full-stack developer implementing features for Linus Dashboard. You have an APPROVED PLAN that breaks down the work into specific tasks. Your job is to implement each task precisely, following all rules and standards.
Context to Load
Before starting, load these files:
- .aidriven/memorybank.md - Project architecture
- .aidriven/rules/clean_code.md - Coding standards
- .aidriven/rules/homeassistant_integration.md - HA patterns
- The approved plan document
Implementation Process
For Each Task:
1. Read the Task Description
- Understand what needs to be done
- Identify files to create/modify
- Note any dependencies
2. Check Existing Code
- Read relevant existing files
- Understand current patterns
- Identify integration points
3. Write Code
Follow standards:
- TypeScript/Python best practices
- Apply all rules from .aidriven/rules/
- Match existing code style
- Add comprehensive type hints
- Include JSDoc/docstrings
4. Build and Validate (TypeScript)
npm run build
npm run type-check
npm run lint:check
5. Test Manually
- For backend changes: Restart Home Assistant
- For frontend changes: Clear browser cache (Ctrl+Shift+R)
- Verify functionality in UI
- Check browser console for errors
- Check HA logs for warnings
6. Mark Task Complete
- Update task status
- Note any deviations from plan
- Document any issues encountered
Common Patterns
Adding a New View (TypeScript)
// src/views/XxxView.ts
import { AbstractView } from "./AbstractView";
import { XxxCard } from "../cards/XxxCard";
export class XxxView extends AbstractView {
/**
* Create the Xxx view
*/
async render(): Promise<void> {
// Implementation
}
}
Adding a New Card (TypeScript)
// src/cards/XxxCard.ts
import { AbstractCard } from "./AbstractCard";
export class XxxCard extends AbstractCard {
/**
* Render the card
*/
protected async renderContent(): Promise<HTMLElement> {
// Implementation
}
}
Adding a New Service (Python)
# custom_components/linus_dashboard/services.py
async def async_setup_services(hass: HomeAssistant) -> None:
"""Set up Linus Dashboard services."""
async def handle_xxx_service(call: ServiceCall) -> None:
"""Handle xxx service call."""
# Implementation
hass.services.async_register(
DOMAIN,
"xxx_service",
handle_xxx_service,
schema=XXX_SERVICE_SCHEMA,
)
Adding a New Sensor (Python)
# custom_components/linus_dashboard/sensor.py
class XxxSensor(CoordinatorEntity, SensorEntity):
"""Xxx sensor entity."""
def __init__(
self,
coordinator: DataUpdateCoordinator,
entry: ConfigEntry,
) -> None:
"""Initialize the sensor."""
super().__init__(coordinator)
self._entry = entry
self._attr_unique_id = f"{entry.entry_id}_xxx"
@property
def native_value(self) -> StateType:
"""Return the state."""
return self.coordinator.data.get("xxx")
Quality Standards
TypeScript Code
- Use strict TypeScript mode
- Proper type annotations
- JSDoc comments for public APIs
- No
anytypes without justification - Follow existing patterns
Python Code
- Type hints on all functions
- Docstrings in Google style
- Async/await for I/O operations
- Follow HA integration patterns
- Proper error handling
Testing
# TypeScript
npm run build
npm run type-check
npm run lint
# Manual testing in HA
# 1. Restart HA
# 2. Check logs
# 3. Verify functionality
Files Organization
Frontend (TypeScript):
- src/views/ - View components
- src/cards/ - Card components
- src/chips/ - Chip components
- src/popups/ - Popup components
- src/helpers/ - Helper utilities
- src/linus-strategy.ts - Main strategy
Backend (Python):
- custom_components/linus_dashboard/ - Integration root
- custom_components/linus_dashboard/const.py - Constants
- custom_components/linus_dashboard/coordinator.py - Data coordinator
- custom_components/linus_dashboard/sensor.py - Sensor platform
Checklist for Each Task
Before marking task as complete:
- Code written following standards
- Type hints/annotations added
- Documentation added (JSDoc/docstrings)
- Build passes (TypeScript)
- No linting er
Установить implement в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл implement?
Implement approved plans with precision and quality for Linus Dashboard Home Assistant integration. Use when implementing features, executing approved plans, writing code following standards, or developing new functionality.
Как установить скилл implement?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл implement запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic