refine-story-technically
ADP Phase 2 — technical story refinement.
Skill by jterratsdev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jterratsdev-refine-story-technically
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/refine-story-technically
What's inside
- Skill name
refine-story-technically- Description
- ADP Phase 2 — technical story refinement. Runs metadata impact analysis, applies NAMING, produces technical tasks, and updates the story in the local backlog. USE FOR: refine story technically, technical refinement, impact analysis, metadata graph, NAMING, technical tasking, ADP Phase 2. Used by the TA (Technical Architect) profile.
- License
- BSD-3-Clause
- Instructions
- 63 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Refine Story Technically (ADP Phase 2) ## Backlog is Local (CRITICAL) Refined stories are stored in the **repo-resident backlog**, not an external tracker. The source of truth is `.setup-agents/state/tasks.jsonl`. - Persist every refined story with the local task command: ```bash sf setup-agents task create --id <ID> --summary "<title>" --role <role> ``` - Do **NOT** write stories to Jira as part of refinement. Atlassian MCP is **optional** — if it is configured you MAY mirror a story outward, but the local backlog remains authoritative. - This trades against ADP's "agents never store stories in the repo" default on purpose: setup-agents keeps git as the source of truth. ## 1. Metadata Graph — Detect, then Fall Back (CRITICAL) Impact analysis needs a metadata dependency graph. Resolve the provider in this order: 1. **Detect `sf-graphify`.** If the `sf-graphify` plugin is installed, use it: ```bash sf plugins inspect sf-graphify # detection ``` When present, use it for the dependency/impact graph. 2. **Fall back to the in-house `sf-metadata-index`** when `sf-graphify` is absent. This is the default, always-available path: ```bash sf setup-agents index # builds .setup-agents/sf-metadata-index.json ``` Then query impact via the setup-agents MCP metadata tools: - `dependency_graph` — transitive dependencies + dependents for a metadata entry. - `query_metadata` — a single entry with its dependencies/dependents (impact analysis). Never assume `sf-graphify`; the fallback to `sf-metadata-index` / the MCP `impact_analysis` (`dependency_graph` / `query_metadata`) tools is the guaranteed path. ## 2. Impact Analysis - For each object/component the story touches, query the graph for **dependents** (what breaks if this changes) and **dependencies** (what must exist first). - Flag sharing, async, and large-data-volume implications surfaced by the graph. - Record impacted metadata as evidence so QA can target regression. ## 3. NAMING Apply the naming convention to every new component before tasking: - API Names: PascalCase; descriptions mandatory. - Names must be consistent with the metadata graph — do not collide with existing entries returned by `query_metadata`. - NAMING complements semantic commits; it governs component names, not just commit messages. ## 4. Technical Tasking Break the refined story into technical tasks: impacted objects, sharing model, async considerations, and test strategy. A story that is still too large is handed to `decompose`. ## 5. Persist to the Local Backlog Update the story and its technical tasks via `sf setup-agents task create` / the local task commands. Atlassian MCP mirroring stays optional.
From jterratsdev/smart-deployment, BSD-3-Clause.
More from jterratsdev/smart-deployment
- 0.570score
elements-sync
jterratsdev
Create and update Requirements and Stories in Elements.cloud from story maps, backlog documents, or free-form descriptions.
SkillAFreshness: AClaude Code +9 - 0.565score
sf-code-analyzer
jterratsdev
Run static code analysis on Salesforce projects using sf code-analyzer.
SkillAFreshness: AClaude Code +9 - 0.565score
prompt-registry
jterratsdev
Maintain the .generated-prompts/ register: read before creating any artifact to infer project conventions, write/update after creation.
SkillAFreshness: AClaude Code +9 - 0.565score
qa-evidence-pack
jterratsdev
Build reviewable QA evidence packs that map acceptance criteria to observable outcomes, command results, screenshots, traces, videos, API contracts…
SkillAFreshness: AClaude Code +9 - 0.565score
record-adr
jterratsdev
Record an Architecture Decision Record (ADR).
SkillAFreshness: AClaude Code +9 - 0.565score
refine-story-functionally
jterratsdev
ADP Phase 1 — functional story refinement.
SkillAFreshness: AClaude Code +9 - 0.565score
sf-deploy
jterratsdev
Deploy and validate Salesforce metadata using @jterrats/profiler for complete profile retrieval and @jterrats/smart-deployment for dependency-aware wave…
SkillAFreshness: AClaude Code +9 - 0.565score
backlog-sync
jterratsdev
Push user stories from story maps to issue trackers.
SkillAFreshness: AClaude Code +9 - 0.565score
org-health-assessment
jterratsdev
Assess the health of a Salesforce org across security, automation, permissions, data model, schema limits, license utilization, and large data volumes —…
SkillAFreshness: AClaude Code +9 - 0.565score
project-knowledge-bootstrap
jterratsdev
Scan a Salesforce project structure and populate .setup-agents/project-knowledge.md with architecture decisions, naming conventions, label language, and…
SkillAFreshness: AClaude Code +9 - 0.564score
transcription-evidence
jterratsdev
Transcribe audio/video files and record as workflow evidence
SkillAFreshness: AClaude Code +9 - 0.561score
generate-rom
jterratsdev
Produce a Rough Order of Magnitude (ROM) effort baseline for a story or epic and record it against the local backlog task.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 14
- Last commit (this folder)
- Aug 5, 2026 (2 months ago)
- Last release
- Sep 29, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- BSD-3-Clause
- Repository
- github.com/jterratsdev/smart-deployment
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jterratsdev
- 0.570score
elements-sync
jterratsdev
Create and update Requirements and Stories in Elements.cloud from story maps, backlog documents, or free-form descriptions.
SkillAFreshness: AClaude Code +9 - 0.565score
project-knowledge-bootstrap
jterratsdev
Scan a Salesforce project structure and populate .setup-agents/project-knowledge.md with architecture decisions, naming conventions, label language, and…
SkillAFreshness: AClaude Code +9 - 0.565score
sf-code-analyzer
jterratsdev
Run static code analysis on Salesforce projects using sf code-analyzer.
SkillAFreshness: AClaude Code +9 - 0.565score
org-health-assessment
jterratsdev
Assess the health of a Salesforce org across security, automation, permissions, data model, schema limits, license utilization, and large data volumes —…
SkillAFreshness: AClaude Code +9 - 0.565score
prompt-registry
jterratsdev
Maintain the .generated-prompts/ register: read before creating any artifact to infer project conventions, write/update after creation.
SkillAFreshness: AClaude Code +9 - 0.565score
qa-evidence-pack
jterratsdev
Build reviewable QA evidence packs that map acceptance criteria to observable outcomes, command results, screenshots, traces, videos, API contracts…
SkillAFreshness: AClaude Code +9
Cite this page
refine-story-technically skill. Agent Mart. https://agentmart.dev/skills/jterratsdev-refine-story-technically (last updated 2026-10-24)