ui-presentation
UI patterns and presentation components
Install / Use
npx skills add miguelslemos/stock_portfolioInstalls into whichever agent you are using.
Cursor Rules
Cursor IDE rules (v2)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubdescription: UI patterns and presentation components globs: web/src/presentation//*.ts, web/src/presentation//*.css alwaysApply: false
UI and Presentation
Professional Look with Low Complexity
- Clean, professional appearance using pure CSS (no CSS framework)
- CSS variables for colors, shadows, and spacing (already defined in
styles.css) - Inter font as the typographic standard
- Responsive layout with native grid/flexbox
Component Reuse
- Use Builders for complex HTML (
ModalBuilder,YearDetailsBuilder) - Extract repeated visual patterns into reusable functions/builders
- Never duplicate markup — if a pattern appears 2+ times, create a builder
// ❌ Bad: duplicated HTML
const card1 = `<div class="card"><h3>${title1}</h3>...</div>`;
const card2 = `<div class="card"><h3>${title2}</h3>...</div>`;
// ✅ Good: reusable builder
const card1 = CardBuilder.create(title1).withContent(...).build();
const card2 = CardBuilder.create(title2).withContent(...).build();
Presentation vs Domain Separation
- Formatters (
BRLFormatter,USDFormatter) belong inpresentation/ - Never put calculation logic in builders or UI controllers
PortfolioAppcoordinates the UI but delegates logic to use cases- Data arrives at the presentation layer already processed — just format and display
CSS
- Use existing CSS variables (
--color-*,--shadow-*,--radius-*) - Avoid inline styles — use classes
- Maintain a single
styles.cssfile organized by section
Related Skills
career-ops
72.3kOpen-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)
ai-job-search
43.5kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
41.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
guizang-ppt-skill
26.7kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
Security Score
Audited on Apr 2, 2026
