Resources
1Install
npx skillscat add olino3/forge/feature-forge Install via the SkillsCat registry.
Purpose
[TODO: Add purpose description]
MANDATORY WORKFLOW (MUST FOLLOW EXACTLY)
⚠️ STEP 1: Analyze Feature Requirements (REQUIRED)
YOU MUST:
- Gather the feature scope from the user prompt, issue description, or specification document
- Identify acceptance criteria — what must be true for this feature to be considered complete
- List functional and non-functional requirements (performance, security, accessibility)
- Map dependencies on existing code, services, or third-party integrations
- Identify edge cases, failure modes, and boundary conditions
- Clarify ambiguities — ask the user targeted questions if requirements are unclear
DO NOT PROCEED WITHOUT A CLEAR UNDERSTANDING OF WHAT THE FEATURE MUST DO
⚠️ STEP 2: Plan Implementation Architecture (REQUIRED)
YOU MUST:
- Identify components that need to be created or modified (models, services, controllers, UI)
- Select appropriate design patterns (repository, factory, observer, strategy, etc.)
- Define data flow from input to persistence and back to output
- Plan the API surface — endpoints, request/response schemas, error responses
- Assess impact on existing architecture — identify modules that will change
- Document integration points with external systems or internal services
- Determine the branching strategy (feature branch, feature flags, trunk-based)
DO NOT PROCEED WITHOUT AN ARCHITECTURAL PLAN
⚠️ STEP 3: Load Project Memory (REQUIRED)
YOU MUST:
- Load project memory using
memoryStore.getSkillMemory("feature-forge", "{project-name}") - Review
feature_patterns.mdfor recurring patterns and conventions in this project - Review
implementation_conventions.mdfor coding standards, naming conventions, and directory structure - Review
delivery_checklist.mdfor project-specific quality gates and deployment requirements - If no memory exists, proceed without it — memory will be created in Step 5
- Apply loaded conventions to the architecture plan from Step 2
See MemoryStore Interface for method details.
DO NOT PROCEED WITHOUT CHECKING PROJECT MEMORY
⚠️ STEP 4: Implement Feature (REQUIRED)
YOU MUST follow this implementation sequence:
- Scaffolding: Create file structure, stubs, interfaces, and type definitions
- Core Logic: Implement business logic with unit tests following TDD where appropriate
- Integration Layer: Wire components together — routes, dependency injection, event handlers
- Tests: Write unit tests, integration tests, and edge case tests to meet coverage thresholds
- Documentation: Update API docs, add inline comments for complex logic, update changelog
- Quality Checks: Run linting, type checking, and existing test suites to ensure no regressions
DO NOT SKIP TESTS OR DOCUMENTATION
⚠️ STEP 5: Review & Output (REQUIRED)
YOU MUST:
- Validate against acceptance criteria: Verify every acceptance criterion from Step 1 is met
- Run integration validation: Confirm API contracts, backward compatibility, and data integrity
- Generate output: Write feature summary and implementation report to
/claudedocs/following OUTPUT_CONVENTIONS.md - Update project memory: Use
memoryStore.update("feature-forge", "{project-name}", ...)to store:- Feature patterns discovered during implementation
- Conventions established or reinforced
- Delivery checklist items that proved valuable
- Present summary to the user with:
- Files created and modified
- Test coverage summary
- Remaining tasks or follow-up items
- Deployment considerations
See MemoryStore Interface for update() and append() method details.
DO NOT SKIP VALIDATION OR MEMORY UPDATE
Compliance Checklist
Before completing ANY feature development engagement, verify:
- Step 1: Requirements analyzed — scope, acceptance criteria, and dependencies documented
- Step 2: Architecture planned — components, patterns, data flow, and integration points defined
- Step 3: Project memory loaded and conventions applied
- Step 4: Feature implemented — scaffolding, logic, tests, and documentation complete
- Step 5: Output validated, memory updated, and summary presented to user
FAILURE TO COMPLETE ALL STEPS INVALIDATES THE FEATURE IMPLEMENTATION
Feature Development Lifecycle
Requirements ──► Architecture ──► Memory ──► Implementation ──► Review
│ │ │ │ │
▼ ▼ ▼ ▼ ▼
User Stories Components Conventions Scaffolding Validate
Acceptance Patterns Standards Core Logic Output
Dependencies Data Flow Checklist Tests/Docs Memory
Edge Cases API Surface History Quality Gates SummaryEach stage feeds into the next. Memory provides continuity across feature development sessions within the same project.
Output File Naming Convention
Format: feature_{feature_name}_{date}.md
Where:
{feature_name}= kebab-case name of the feature (e.g.,user-auth,search-filter){date}= ISO date in YYYY-MM-DD format
Examples:
feature_user-auth_2026-02-12.mdfeature_search-filter_2026-02-12.mdfeature_notification-system_2026-02-12.md
Further Reading
Refer to official documentation:
- Feature Development:
- Twelve-Factor App: https://12factor.net/
- Martin Fowler — Feature Toggles: https://martinfowler.com/articles/feature-toggles.html
- Architecture & Design:
- Clean Architecture: https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html
- Domain-Driven Design Reference: https://www.domainlanguage.com/ddd/reference/
- Testing & Quality:
- Test-Driven Development by Example: https://www.kent-beck.com/
- The Testing Trophy: https://kentcdodds.com/blog/the-testing-trophy-and-testing-classifications
Version History
- v1.0.0 (2026-02-12): Initial release
- Mandatory 5-step workflow for feature development
Step 1: Initial Analysis
Gather inputs and determine scope and requirements.
Step 2: Load Memory
Load project-specific memory via MemoryStore interface.
Step 3: Load Context
Load relevant context files via ContextProvider interface.
Step 4: Core Implementation
Execute the skill-specific core action.
Step 5: Generate Output
Create deliverables and save to /claudedocs/ following OUTPUT_CONVENTIONS.md.
Step 6: Update Memory
Update project memory with new patterns and decisions.