tds-ui-usage
Skill for developers using the tds-ui Angular component library. Helps find components, generate usage examples, troubleshoot issues. Use when a developer asks about tds-ui components, imports, or usage patterns.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- tds-ui-usage
- description
- Skill for developers using the tds-ui Angular component library. Helps find components, generate usage examples, troubleshoot issues. Use when a developer asks about tds-ui components, imports, or usage patterns.
02 资源文件 96
- 参考文档recipes/app-shell-layout.md4.0 KB
- 参考文档recipes/crud-with-modal.md9.0 KB
- 参考文档recipes/data-table-advanced.md7.4 KB
- 参考文档recipes/data-table-with-pagination.md2.7 KB
- 参考文档recipes/drawer-crud.md6.1 KB
- 参考文档recipes/form-with-validation.md2.4 KB
- 参考文档recipes/search-with-filter.md1.8 KB
- 参考文档recipes/tree-view.md3.8 KB
- 参考文档recipes/upload-files.md5.4 KB
- 参考文档recipes/wizard-steps.md4.9 KB
- 参考文档reference/components-index.md10.0 KB
- 参考文档reference/css-utilities.md7.6 KB
- 参考文档reference/docs/affix.md2.2 KB
- 参考文档reference/docs/alert.md2.9 KB
- 参考文档reference/docs/anchor.md4.8 KB
- 参考文档reference/docs/avatar.md3.0 KB
- 参考文档reference/docs/back-top.md3.2 KB
- 参考文档reference/docs/badge.md6.4 KB
- 参考文档reference/docs/breadcrumb.md5.6 KB
- 参考文档reference/docs/button-menu.md6.0 KB
- 参考文档reference/docs/button-split.md2.5 KB
- 参考文档reference/docs/button.md10.9 KB
- 参考文档reference/docs/calendar.md4.9 KB
- 参考文档reference/docs/card-view.md6.1 KB
- 参考文档reference/docs/card.md3.4 KB
- 参考文档reference/docs/carousel.md6.2 KB
- 参考文档reference/docs/cascader.md9.7 KB
- 参考文档reference/docs/checkbox.md5.8 KB
- 参考文档reference/docs/collapse.md3.7 KB
- 参考文档reference/docs/color-picker.md6.2 KB
- 参考文档reference/docs/column-settings.md4.3 KB
- 参考文档reference/docs/data-list.md4.5 KB
- 参考文档reference/docs/data-table.md13.4 KB
- 参考文档reference/docs/date-picker.md8.5 KB
- 参考文档reference/docs/divider.md3.2 KB
- 参考文档reference/docs/drawer.md7.4 KB
- 参考文档reference/docs/dropdown.md3.6 KB
- 参考文档reference/docs/empty.md3.8 KB
- 参考文档reference/docs/filter-result.md4.2 KB
- 参考文档reference/docs/filter-status.md7.3 KB
- 参考文档reference/docs/float-button.md2.8 KB
- 参考文档reference/docs/form-field.md11.3 KB
- 参考文档reference/docs/grid-view.md5.9 KB
- 参考文档reference/docs/header.md6.8 KB
- 参考文档reference/docs/icon.md11.4 KB
- 参考文档reference/docs/illustration.md3.7 KB
- 参考文档reference/docs/image.md4.1 KB
- 参考文档reference/docs/input-number.md3.5 KB
- 参考文档reference/docs/input-password.md3.9 KB
- 参考文档reference/docs/input-search.md3.9 KB
- 参考文档reference/docs/input.md3.9 KB
- 参考文档reference/docs/layout.md9.0 KB
- 参考文档reference/docs/list.md9.2 KB
- 参考文档reference/docs/menu.md6.1 KB
- 参考文档reference/docs/message.md3.4 KB
- 参考文档reference/docs/modal.md7.9 KB
- 参考文档reference/docs/nav-bar.md6.0 KB
- 参考文档reference/docs/notification.md4.1 KB
- 参考文档reference/docs/otp.md3.6 KB
- 参考文档reference/docs/page-header.md4.8 KB
- 参考文档reference/docs/pagination.md3.3 KB
- 参考文档reference/docs/pipes.md7.7 KB
- 参考文档reference/docs/popconfirm.md5.8 KB
- 参考文档reference/docs/popover.md4.9 KB
- 参考文档reference/docs/progress-spinner.md2.5 KB
- 参考文档reference/docs/progress.md3.7 KB
- 参考文档reference/docs/qr-code.md4.2 KB
- 参考文档reference/docs/radio.md3.8 KB
- 参考文档reference/docs/rate.md2.7 KB
- 参考文档reference/docs/resizable.md5.4 KB
- 参考文档reference/docs/scroll-into-view.md4.2 KB
- 参考文档reference/docs/segmented.md4.6 KB
- 参考文档reference/docs/select.md10.0 KB
- 参考文档reference/docs/skeleton.md5.7 KB
- 参考文档reference/docs/slider.md2.9 KB
- 参考文档reference/docs/spin.md2.8 KB
- 参考文档reference/docs/statistic.md8.5 KB
- 参考文档reference/docs/step.md4.0 KB
- 参考文档reference/docs/switch.md4.9 KB
- 参考文档reference/docs/table.md6.9 KB
- 参考文档reference/docs/tabs.md6.7 KB
- 参考文档reference/docs/tag.md8.0 KB
- 参考文档reference/docs/time-picker.md4.3 KB
- 参考文档reference/docs/timeline.md6.4 KB
- 参考文档reference/docs/tooltip.md4.9 KB
- 参考文档reference/docs/tour.md7.4 KB
- 参考文档reference/docs/transfer.md7.3 KB
- 参考文档reference/docs/tree-select.md6.4 KB
- 参考文档reference/docs/tree.md7.5 KB
- 参考文档reference/docs/typography.md4.2 KB
- 参考文档reference/docs/upload.md6.5 KB
- 参考文档reference/docs/zoom-box.md3.7 KB
- 参考文档reference/import-guide.md3.8 KB
- 参考文档reference/install-guide.md11.2 KB
- 参考文档reference/naming-conventions.md2.5 KB
- 参考文档troubleshooting.md6.9 KB
03 SKILL.md 正文
tds-ui Usage Skill
Help developers find, understand, and use tds-ui components in their Angular applications.
When to Use
Invoke this skill when:
- Developer needs to install/setup tds-ui in a project (first-time integration)
- Developer asks about any tds-ui component (by name, selector, or class)
- Developer asks how to accomplish a UI task using tds-ui
- Developer needs import paths, inputs/outputs, or usage examples
- Developer has issues with a tds-ui component (troubleshooting)
- Developer mentions selectors like
tds-*,[tds-*], class names likeTDS* - Developer asks "how to" do something that involves tds-ui
Language
- Output to developer: Vietnamese (có dấu đầy đủ)
- Code examples: English
- This file (instructions): English
Commands
/tds-find
Search for tds-ui components by name, feature, or use case.
Usage:
/tds-find modal
/tds-find dropdown with search
/tds-find form validation
Implementation:
- Read
reference/components-index.mdto get full component catalog - Match query against: component name, selector, description, features
- If a match is found in
reference/docs/{component}.md, read it for more detail - Return results in this format (Vietnamese):
Kết quả tìm kiếm: "<query>"
→ Phù hợp nhất: TDS{Xxx}Module
Import: import { TDS{Xxx}Module } from 'tds-ui/{xxx}';
Selector: <tds-{xxx}>
Mô tả: <mô tả ngắn gọn>
Ví dụ nhanh:
<tds-{xxx} [tdsSize]="'md'">...</tds-{xxx}>
Các lựa chọn khác:
• TDS{Yyy}Module — <mô tả ngắn>
• TDS{Zzz}Module — <mô tả ngắn>
Red flags:
- If no match found, suggest closest alternatives
- If query is too vague, ask developer to be more specific
/tds-how
Get a guided code example for a specific task using tds-ui components.
Usage:
/tds-how form with validation
/tds-how table with pagination
/tds-how confirm dialog before delete
Implementation:
- Parse the task intent
- Check
recipes/directory for a matching recipe file - If recipe found → read it and return the content
- If no recipe → combine info from relevant
reference/docs/*.mdfiles - Return in this format (Vietnamese):
## <Tiêu đề task>
### 1. Import
import { TDS{Xxx}Module } from 'tds-ui/{xxx}';
import { TDS{Yyy}Module } from 'tds-ui/{yyy}';
### 2. Code
<working code example — full component template + TypeScript>
### 3. Giải thích
• Component A dùng để...
• Component B kết hợp với A bằng cách...
### Tips
• Tip quan trọng
• Xem thêm: reference/docs/{xxx}.md
Red flags:
- If task requires a component not in docs, note it and suggest checking the library directly
- If task is ambiguous, ask for clarification before generating code
Auto-detection
When the developer mentions tds-ui without using a command, Claude should still help.
Auto-respond (no command needed)
Trigger when developer:
- Mentions install: "cài tds-ui", "install tds-ui", "setup tds-ui", "how to add tds-ui to project"
- Mentions a selector:
tds-button,tds-select,[tds-tooltip], etc. - Mentions a class:
TDSModalService,TDSButtonComponent,TDSSelectModule, etc. - Asks about import: "import tds-ui/...", "sao import không được"
- Asks a simple question about a specific component
- Mentions a CSS class:
tds-color-*,tds-theme-*,tds-custom-scroll,tds-panel-scroll - Asks about styling/theme: "how to change theme", "tds color classes", "cách đổi theme"
Response style: Short and direct. Include import + quick code snippet. No "Giải thích" or "Tips" sections for simple questions.
Example auto-response:
Import TDSButtonModule từ 'tds-ui/button':
import { TDSButtonModule } from 'tds-ui/button';
@Component({
standalone: true,
imports: [TDSButtonModule],
template: `<button tds-button color="primary">OK</button>`
})
Suggest command
When developer's question is complex:
- Needs multiple components → suggest
/tds-how - Needs to find the right component → suggest
/tds-find
Do NOT intervene
- Developer talks about general UI not related to tds-ui
- Developer is working on code that doesn't use tds-ui
- Developer is having a conversation unrelated to the library
Reference Data
This skill uses:
reference/install-guide.md— Setup tds-ui in Angular 18 project (install, Tailwind, styles, i18n, verify)reference/components-index.md— Full component catalog (~78 components)reference/naming-conventions.md— How to read tds-ui APIsreference/import-guide.md— Import patterns and service injectionreference/docs/*.md— Per-component documentation (79 files)recipes/*.md— Task-oriented guides combining multiple componentstroubleshooting.md— Common issues and fixesreference/css-utilities.md— CSS utility classes, themes, scrollbar styles
Important Notes
- First-time setup: see
reference/install-guide.mdbefore importing components - Import Module (e.g.,
TDSButtonModule), not individual components - Some components have special import paths — check
reference/import-guide.md - Services like
TDSMessageServiceareprovidedIn: 'root', inject directly - Services like
TDSModalServicerequire importing the module first - Not all inputs/outputs have the
tdsprefix — always check per-component docs
For Other Skills
This skill exposes interfaces for other skills to use:
/tds-find— Find tds-ui component by type/feature/tds-how— Generate code for UI tasksreference/docs/*.md— Per-component API documentationrecipes/*.md— Multi-component task guides
tds-ui-design skill uses this skill for component lookup and code generation.
Future tds-ui-figma skill will call this skill to map Figma designs to tds-ui code.
04 同仓库更多 Skills
workflow-launch-exec
Launch, orchestrate, and drive end-to-end multi-agent pipelines (BA -> DESIGN -> DEV -> VERIFY) for any task.
paseo-handoff
Hand off the current task to another agent with full context. Use when the user says "handoff", "hand off", "hand this to", or wants to pass work to another agent.
loop-me
Grill me about specs for the workflows I want to build, within this workspace.
loop-engineering
Use when the user wants Claude Code to keep working on its own until a goal is met — a self-running loop instead of write→wait→review→re-prompt. Helps decide if a loop is even worth building, picks manual vs automatic and open vs closed, distinguishes /goal vs /loop vs routines (/schedule), and wires up a CLOSED loop with a real verification gate (Stop hook running tests, or an LLM-judge + rubric when output isn't testable) plus a turn/budget ceiling so it never spins forever. Triggers on "loop", "döngü", "loop engineering", "auto mode", "run until tests pass", "self-running / autonomous agent", "/goal", "Stop hook", "ralph wiggum".
handoff
Compact the current conversation into a handoff document for another agent to pick up.
claude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.