new jira ticket writing skill and details on paying attention to names
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
John Lamb
2026-02-25 08:47:48 -06:00
parent 8dfcfcfb09
commit 36ae861046
6 changed files with 232 additions and 3 deletions

View File

@@ -137,14 +137,30 @@ This command takes a work document (plan, specification, or todo file) and execu
- Follow project coding standards (see CLAUDE.md)
- When in doubt, grep for similar implementations
4. **Test Continuously**
4. **Naming Scrutiny (Apply to every new name)**
Before committing any new function, class, variable, module, or field name:
| # | Check | Question |
|---|-------|----------|
| 1 | **Caller's perspective** | Does the name describe what it does, not how? |
| 2 | **No false qualifiers** | Does every `_with_X` / `_and_X` reflect a real choice? |
| 3 | **Visibility matches intent** | Are private helpers actually private? |
| 4 | **Consistent convention** | Does the pattern match every other instance in the codebase? |
| 5 | **Precise, not vague** | Could this name apply to ten different things? |
| 6 | **Complete words** | No ambiguous abbreviations? |
| 7 | **Correct part of speech** | Functions = verbs, classes = nouns, booleans = assertions? |
**Quick validation:** Search the codebase for the naming pattern you're using. If your convention doesn't match existing instances, align with the codebase.
5. **Test Continuously**
- Run relevant tests after each significant change
- Don't wait until the end to test
- Fix failures immediately
- Add new tests for new functionality
5. **Figma Design Sync** (if applicable)
6. **Figma Design Sync** (if applicable)
For UI work with Figma designs:
@@ -153,7 +169,7 @@ This command takes a work document (plan, specification, or todo file) and execu
- Fix visual differences identified
- Repeat until implementation matches design
6. **Track Progress**
7. **Track Progress**
- Keep TodoWrite updated as you complete tasks
- Note any blockers or unexpected discoveries
- Create new tasks if scope expands
@@ -424,6 +440,7 @@ Before creating PR, verify:
- [ ] Tests pass (run project's test command)
- [ ] Linting passes (use linting-agent)
- [ ] Code follows existing patterns
- [ ] All new names pass naming scrutiny (caller's perspective, no false qualifiers, correct visibility, consistent conventions, precise, complete words, correct part of speech)
- [ ] Figma designs match implementation (if applicable)
- [ ] Before/after screenshots captured and uploaded (for UI changes)
- [ ] Commit messages follow conventional format