Glossary
Term explanations for AI programming and frontend development
AI-Related Terms
SPEC-Driven Development
MethodologyA development methodology where specifications (SPEC.md) define functional requirements before coding begins. AI agents follow these specifications to ensure consistent implementation.
Prompt Engineering
AIThe practice of designing and optimizing prompts to effectively communicate with AI models. Includes techniques like few-shot learning, chain-of-thought, and role assignment.
Context Window
AIThe maximum amount of text (tokens) an AI model can process in a single conversation. Determines how much history and instructions can be included.
Token
AIThe basic unit of text processing for AI models. Roughly corresponds to 4 characters in English or 1-2 characters in Chinese.
Frontend Terms
CSS Variables
CSSCustom properties defined with --variable-name syntax. Allow consistent theming and easy style updates across a website.
Semantic HTML
HTMLUsing appropriate HTML elements (header, nav, main, article, section, footer) to convey meaning, improving accessibility and SEO.
BEM Naming
CSSBlock Element Modifier - a CSS naming convention (e.g., .card__title--active) that improves code organization and maintainability.
Responsive Design
CSSDesigning websites to adapt layout and content to different screen sizes using media queries and flexible layouts.