construction-implementation
Guidelines for code implementation, building features, and development work
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- construction-implementation
- description
- Guidelines for code implementation, building features, and development work
02 资源文件 1
- 参考文档agents/openai.yaml122 B
03 SKILL.md 正文
Construction & Implementation Guidelines
Use these guidelines when writing code, implementing features, or making changes.
Before Coding
- Confirm understanding: Verify requirements are clear
- Review existing code: Understand current patterns
- Plan the approach: Outline the implementation steps
- Identify risks: Note potential issues early
Implementation Approach
Start Small
- Begin with the core functionality
- Add complexity incrementally
- Validate each step before proceeding
Follow Patterns
- Match existing code style and conventions
- Use established patterns from the codebase
- Introduce new patterns only when justified
Keep Changes Focused
- One logical change per commit
- Avoid mixing refactoring with features
- Separate formatting changes from logic changes
Code Generation Best Practices
Structure
- Create files in appropriate locations
- Follow project naming conventions
- Organize code logically within files
Dependencies
- Prefer existing dependencies over new ones
- Check for compatible versions
- Document why new dependencies are needed
Configuration
- Use environment variables for environment-specific values
- Provide sensible defaults
- Document configuration options
Build and Test
Before Submitting
- Run the build to catch compilation errors
- Execute relevant tests
- Verify the feature works as expected
- Check for regressions in related areas
Test Coverage
- Add tests for new functionality
- Update tests for changed behavior
- Maintain or improve coverage
Common Issues
- Missing imports or dependencies
- Type mismatches
- Unhandled error cases
- Race conditions in async code
Code Review Readiness
Ensure your changes:
- Have clear commit messages
- Include necessary tests
- Update relevant documentation
- Don't include debug code or comments
Build Configuration Consistency
Match Existing Patterns
- Match build configurations used by other services in the same codebase
- Don't add unique build configurations unless there's a specific need
- Remove build plugins that make a service inconsistent with others
Configuration Changes
- Document why build configuration changes are needed
- Test build changes across all affected modules
04 同仓库更多 Skills
ui-ux-pro-max
UI/UX design intelligence for web and mobile. Local database with 79 searchable styles (88 catalog entries), 192 color palettes, 74 font pairings, 192 product types, 119 UX guidelines, 105 curated icon entries, 17 GSAP motion presets, and 25 chart types across 22 stacks (React, Next.js, Vue, Nuxt, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Jetpack Compose, Angular, Laravel, JavaFX, WPF, WinUI, Avalonia, Uno Platform, UWP, Three.js, and HTML/CSS). Use when designing, building, or reviewing UI: pages, components, color schemes, typography, layout, accessibility, animation, or data visualization.
figma-mcp
Implement or compare UI against Figma designs using an available Figma MCP integration. Use for Figma-backed implementation, design-token extraction, or visual-parity gap analysis; Figma MCP access is optional and must already be configured by the user.
improve-codebase-architecture
Find evidence-based, active-change architecture improvements using shared design and domain-modeling guidance. Use when a user wants to reduce architectural friction, deepen a module, or make a current change safer, more testable, and easier to navigate.
domain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing GLOSSARY.md or CONTEXT.md, or recording or editing an ADR.
codebase-design
Provide the shared vocabulary and discipline for designing deep modules with clear interfaces and seams. Use when a user wants to design or improve a module, find deepening opportunities, choose a seam, or make code more testable and AI-navigable.
test-coverage-review
MUST invoke to review whether added or updated tests cover code changes in a diff. Checks new logic, branches, error paths, and regression risk, producing a change-to-test matrix. Use requirements-to-tests-traceability for acceptance-criteria mapping and orchestrated-review for bundled reviews.