adhikareeprayush / adhikareeprayush/stacksmith
Add a gitignore feature module to `add`
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
## Summary
Add `stacksmith add gitignore` to write a sensible Node `.gitignore` into an existing project.
## Tasks
- [ ] New `FeatureModule` (id: `gitignore`) in `src/core/features/index.ts`
- [ ] Skip gracefully if `.gitignore` already exists (the runner already handles this)
- [ ] Cover it in `features.test.ts`
## Files
- `src/core/features/index.ts`
Contributor guide
Research direction
Start in `src/core/features/index.ts` and inspect how existing `FeatureModule`s are registered so you can add a `gitignore` module in the same pattern. Then open `features.test.ts` and add/adjust tests for `add gitignore` plus the skip behavior when `.gitignore` already exists. Run the feature tests for this area and finish when the module is registered and the new coverage passes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100