Architecture Context
Replace the independent file-write loop in cmd/waza/cmd_new.go:351-363 with the shared FileWriter from #48. This ensures waza new has the same always-visible inventory behavior as waza init. The existing SKILL.md malformed-detection logic (detectExistingSkillMD) should remain - it runs before the FileWriter and decides whether to include SKILL.md in the write list.
Architecture doc: docs/init-config-consolidation/architecture.md
Depends on: #48
Acceptance Criteria
Architecture Context
Replace the independent file-write loop in
cmd/waza/cmd_new.go:351-363with the sharedFileWriterfrom #48. This ensureswaza newhas the same always-visible inventory behavior aswaza init. The existing SKILL.md malformed-detection logic (detectExistingSkillMD) should remain - it runs before the FileWriter and decides whether to include SKILL.md in the write list.Architecture doc:
docs/init-config-consolidation/architecture.mdDepends on: #48
Acceptance Criteria
cmd/waza/cmd_new.gousesFileWriterfrominternal/scaffold/instead of its inline write loopwaza new my-skillshows created marker for new files and exists marker for existing files--verbose)TestNewCommand_NoOverwriteSafetyandTestNewCommand_IdempotentRunTwicestill passgo test ./...passes;golangci-lint runpasses