# Triatu Features

> Feature module organization for Triatu (features/*). Use when creating or migrating a feature, adding components/hooks/logic, or writing feature-level docs.

- Skill: `majiayu000/triatu-features` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/triatu-features`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/triatu-features/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/triatu-features

---


# Triatu Features

## Quick start

- Each feature lives in `features/<feature>/`.
- Keep feature code local unless it is truly shared across multiple features.
- Provide `README.md` per feature with entry points, key flows, and tests.

## Expected structure

- `features/<feature>/components`
- `features/<feature>/hooks`
- `features/<feature>/logic`
- `features/<feature>/__tests__`
- `features/<feature>/index.ts`
- `features/<feature>/README.md`

## Workflow

1) Inventory existing UI in `components/` and move feature-specific parts under the feature.
2) Export public surface from `features/<feature>/index.ts`.
3) Add `data-testid` hooks for e2e flows when needed.
4) Write or migrate tests into `features/<feature>/__tests__`.
5) Update feature `README.md` and link from main docs if needed.

## References

- `docs/DEVELOPMENT.md`
- `tests/README.md`
- `features/*/README.md`

