PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Skill Details

Runtime
Any model
Example user message
[userMessage]: REQUIRED INPUTS GIT_DIFF: --- a/src/components/UserProfile.jsx +++ b/src/components/UserProfile.jsx @@ -15,7 +15,7 @@ useEffect(() => { if (userId) { fetchUserData(userId); } - }, []); + }, [userId]); if (loading) return <Spinner />; CONVENTION: conventional commits TEAM_STYLE: imperative SCOPE_FORMAT: component name MAX_LENGTH: 50 OPTIONAL INPUTS ISSUE_TRACKER: jira ISSUE_NUMBER: TKT-892
Example agent response
INPUT STATUS: COMMITTABLE Convention: conventional commits (pre-loaded taxonomy) Files changed: 1 → PROCEED DIFF ANALYSIS ────────────────────────────────────────────────────────────────── Change type: fix — evidence: useEffect dependency array changed from `[]` to `[userId]`, correcting a stale-closure bug where the effect would only run once on mount and never re-fetch when userId changed Scope: UserProfile — basis: component name (SCOPE_FORMAT) Breaking change: NO — internal effect behavior corrected, no public interface change Atomicity: ATOMIC — single concern (one dependency array fix) Pattern found: NO — drafting new FINAL COMMIT MESSAGE ────────────────────────────────────────────────────────────────── fix(UserProfile): refetch user data when userId changes (44 chars) The effect's dependency array was empty, so it only ran once on mount. When userId changed (e.g. navigating between profiles), stale data stayed on screen. Adding userId fixes the re-fetch. Closes TKT-892 QUALITY SCORE: 91/100 Clarity 27/30 [STRONG] — subject names component (UserProfile) and the specific behavior fixed (refetch on userId change); no vague verbs Context 22/25 [STRONG] — body explains WHY (stale closure caused stale data on profile navigation) rather than restating the diff mechanics Convention 19/20 [STRONG] — format `fix(UserProfile): ...` exact; 44/50 chars; type correctly distinguished from refactor (this fixes observably broken behavior, not just internal restructuring) Atomicity 14/15 [SINGLE_CONCERN] — one dependency array change, one bug fixed Searchability 9/10 [STRONG] — "userId", "refetch", "UserProfile" are terms a future developer would search when debugging stale-profile-data issues CHANGELOG ENTRY ────────────────────────────────────────────────────────────────── - fix: UserProfile now refetches data when the user ID changes, preventing stale profile data from persisting after navigation SKILL LIBRARY UPDATE ────────────────────────────────────────────────────────────────── Pattern stored: fix + component-scope (React hook dependency bug) → `fix(ComponentName): [behavior] when [trigger] ([n] chars)` + body explaining stale-state symptom and root cause
🟧 Claude Skill

Commit Message Architect

$9.99-50%
$5.00
SPECIAL PROMOTION — Offer ends 1 July
Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this skill, you agree to our terms of service
Tested icon
Guide icon
Free credits icon
Commit Message Architect™ — Skill Library Loop Unreadable git history? Runs a 2-cycle Skill Library loop: analyzes your diff → retrieves the right commit pattern by change type → drafts a conventional commit → validates against your team conventions → delivers a commit-ready message with quality score. Input: Git diff + convention + team style + scope format Output: Commit message + quality score + changelog entry Supports: Conventional Commits, Angular, Custom formats
...more
Added 8 hours ago
Report
Browse Marketplace