frontend/technical-spec — for Claude Code ai-coding-project-boilerplate, community, for Claude Code, ide skills, process.env, Technical, Frontend, Technology, Policy, TypeScript-based

v1.0.0

Über diesen Skill

Perfekt für KI-Agents wie Claude Code, die eine robuste Frontend-Implementierung mit einer TypeScript-basierten React-Anwendung und einer sicheren Umgebungsvariablenverwaltung benötigen. Lokalisierte Zusammenfassung: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Funktionen

Technical Design Rules (Frontend)
Basic Technology Stack Policy
Environment Variable Management and Security
Environment Variable Management
Use build tool's environment variable system : process.env does not work in browser environments

# Kernthemen

shinpr shinpr
[0]
[0]
Aktualisiert: 3/8/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Perfekt für KI-Agents wie Claude Code, die eine robuste Frontend-Implementierung mit einer TypeScript-basierten React-Anwendung und einer sicheren Umgebungsvariablenverwaltung benötigen. Lokalisierte Zusammenfassung: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Warum diese Fähigkeit verwenden

Ermöglicht es Agents, sichere und skalierbare Frontend-Anwendungen mit TypeScript und React zu implementieren, mit Funktionen wie zentraler Umgebungsvariablenverwaltung durch Konfigurationsebenen und ordnungsgemäßer Typsicherheit, indem es das Umgebungsvariablen-System der Build-Tool für sichere

Am besten geeignet für

Perfekt für KI-Agents wie Claude Code, die eine robuste Frontend-Implementierung mit einer TypeScript-basierten React-Anwendung und einer sicheren Umgebungsvariablenverwaltung benötigen.

Handlungsfähige Anwendungsfälle for frontend/technical-spec

Eine sichere Umgebungsvariablenverwaltung für KI-Agent-Anwendungen implementieren
Skalierbare TypeScript-basierte React-Anwendungen für Claude Code erstellen
Eine ordnungsgemäße Typsicherheit in der Frontend-Anwendungsentwicklung sicherstellen
Umgebungsvariablen für mehrere KI-Agent-Projekte zentral verwalten

! Sicherheit & Einschränkungen

  • Benötigt TypeScript- und React-Expertise
  • Auf Browserumgebungen beschränkt aufgrund der Einschränkungen von process.env
  • Abhängig vom Umgebungsvariablen-System der Build-Tool

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs-Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ und Installationsschritte

These questions and steps mirror the structured data on this page for better search understanding.

? Häufige Fragen

Was ist frontend/technical-spec?

Perfekt für KI-Agents wie Claude Code, die eine robuste Frontend-Implementierung mit einer TypeScript-basierten React-Anwendung und einer sicheren Umgebungsvariablenverwaltung benötigen. Lokalisierte Zusammenfassung: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Wie installiere ich frontend/technical-spec?

Führen Sie den Befehl aus: npx killer-skills add shinpr/ai-coding-project-boilerplate. Er funktioniert mit Cursor, Windsurf, VS Code, Claude Code und mehr als 19 weiteren IDEs.

Wofür kann ich frontend/technical-spec verwenden?

Wichtige Einsatzbereiche sind: Eine sichere Umgebungsvariablenverwaltung für KI-Agent-Anwendungen implementieren, Skalierbare TypeScript-basierte React-Anwendungen für Claude Code erstellen, Eine ordnungsgemäße Typsicherheit in der Frontend-Anwendungsentwicklung sicherstellen, Umgebungsvariablen für mehrere KI-Agent-Projekte zentral verwalten.

Welche IDEs sind mit frontend/technical-spec kompatibel?

Dieser Skill ist mit Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer kompatibel. Nutzen Sie die Killer-Skills CLI für eine einheitliche Installation.

Gibt es Einschränkungen bei frontend/technical-spec?

Benötigt TypeScript- und React-Expertise. Auf Browserumgebungen beschränkt aufgrund der Einschränkungen von process.env. Abhängig vom Umgebungsvariablen-System der Build-Tool.

So installieren Sie den Skill

  1. 1. Terminal öffnen

    Öffnen Sie Ihr Terminal oder die Kommandozeile im Projektverzeichnis.

  2. 2. Installationsbefehl ausführen

    Führen Sie aus: npx killer-skills add shinpr/ai-coding-project-boilerplate. Die CLI erkennt Ihre IDE oder Ihren Agenten automatisch und richtet den Skill ein.

  3. 3. Skill verwenden

    Der Skill ist jetzt aktiv. Ihr KI-Agent kann frontend/technical-spec sofort im aktuellen Projekt verwenden.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

frontend/technical-spec

Lokalisierte Zusammenfassung: Defines frontend environment variables, component design, and data flow patterns. This AI agent skill supports Claude Code

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Technical Design Rules (Frontend)

Basic Technology Stack Policy

TypeScript-based React application implementation. Architecture patterns should be selected according to project requirements and scale.

Environment Variable Management and Security

Environment Variable Management

  • Use build tool's environment variable system: process.env does not work in browser environments
  • Centrally manage environment variables through configuration layer
  • Implement proper type safety with TypeScript
  • Properly implement default value settings and mandatory checks
typescript
1// Build tool environment variables (public values only) 2const config = { 3 apiUrl: import.meta.env.API_URL || 'http://localhost:3000', 4 appName: import.meta.env.APP_NAME || 'My App' 5} 6 7// Does not work in frontend 8const apiUrl = process.env.API_URL

Security (Client-side Constraints)

  • CRITICAL: All frontend code is public and visible in browser
  • Never store secrets client-side: No API keys, tokens, or secrets in environment variables
  • Do not include .env files in Git (same as backend)
  • Prohibit logging of sensitive information (passwords, tokens, personal data)
  • Do not include sensitive information in error messages

Correct Approach for Secrets:

typescript
1// Security risk: API key exposed in browser 2const apiKey = import.meta.env.API_KEY 3const response = await fetch(`https://api.example.com/data?key=${apiKey}`) 4 5// Correct: Backend manages secrets, frontend accesses via proxy 6const response = await fetch('/api/data') // Backend handles API key authentication

Architecture Design

Frontend Architecture Patterns

React Component Architecture:

  • Function Components: Mandatory, class components deprecated
  • Custom Hooks: For logic reuse and dependency injection
  • Component Hierarchy: Atoms -> Molecules -> Organisms -> Templates -> Pages
  • Props-driven: Components receive all necessary data via props
  • Co-location: Place tests, styles, and related files alongside components

State Management Patterns:

  • Local State: useState for component-specific state
  • Context API: For sharing state across component tree (theme, auth, etc.)
  • Custom Hooks: Encapsulate state logic and side effects
  • Server State: React Query or SWR for API data caching

Unified Data Flow Principles

Client-side Data Flow

Maintain consistent data flow throughout the React application:

  • Single Source of Truth: Each piece of state has one authoritative source

    • UI state: Component state or Context
    • Server data: API responses cached in React Query/SWR
    • Form data: Controlled components with React Hook Form
  • Unidirectional Flow: Data flows top-down via props

    API Response -> State -> Props -> Render -> UI
    User Input -> Event Handler -> State Update -> Re-render
    
  • Immutable Updates: Use immutable patterns for state updates

    typescript
    1// Immutable state update 2setUsers(prev => [...prev, newUser]) 3 4// Mutable state update (avoid) 5users.push(newUser) 6setUsers(users)

Type Safety in Data Flow

  • Frontend -> Backend: Props/State (Type Guaranteed) -> API Request (Serialization)
  • Backend -> Frontend: API Response (unknown) -> Type Guard -> State (Type Guaranteed)
typescript
1// Type-safe data flow 2async function fetchUser(id: string): Promise<User> { 3 const response = await fetch(`/api/users/${id}`) 4 const data: unknown = await response.json() 5 6 if (!isUser(data)) { 7 throw new Error('Invalid user data') 8 } 9 10 return data // Type guaranteed as User 11}

Build and Testing

Use the appropriate run command based on the packageManager field in package.json.

Build Commands

  • dev - Development server
  • build - Production build
  • preview - Preview production build
  • type-check - Type check (no emit)

Testing Commands

  • test - Run tests
  • test:coverage - Run tests with coverage
  • test:coverage:fresh - Run tests with coverage (fresh cache)
  • test:safe - Safe test execution (with auto cleanup)
  • cleanup:processes - Cleanup Vitest processes

Quality Check Requirements

Quality checks are mandatory upon implementation completion:

Phase 1-3: Basic Checks

  • check - Biome (lint + format)
  • build - TypeScript build

Phase 4-5: Tests and Final Confirmation

  • test - Test execution
  • test:coverage:fresh - Coverage measurement
  • check:all - Overall integrated check

Coverage Requirements

  • Mandatory: Unit test coverage must be 60% or higher
  • Component-specific targets:
    • Atoms: 70% or higher
    • Molecules: 65% or higher
    • Organisms: 60% or higher
    • Custom Hooks: 65% or higher
    • Utils: 70% or higher

Non-functional Requirements

  • Browser Compatibility: Chrome/Firefox/Safari/Edge (latest 2 versions)
  • Rendering Time: Within 5 seconds for major pages

Verwandte Fähigkeiten

Looking for an alternative to frontend/technical-spec or another community skill for your workflow? Explore these related open-source skills.

Alle anzeigen

openclaw-release-maintainer

Logo of openclaw
openclaw

Lokalisierte Zusammenfassung: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Künstliche Intelligenz

widget-generator

Logo of f
f

Lokalisierte Zusammenfassung: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code

149.6k
0
Künstliche Intelligenz

flags

Logo of vercel
vercel

Lokalisierte Zusammenfassung: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Lokalisierte Zusammenfassung: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Entwickler