@staff0rd/assist 0.367.1 → 0.368.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/claude/CLAUDE.md +4 -0
- package/dist/commands/sessions/web/bundle.js +87 -87
- package/dist/index.js +55 -39
- package/package.json +1 -1
package/claude/CLAUDE.md
CHANGED
|
@@ -16,6 +16,10 @@ Do not modify `claude/settings.json` without asking the user first. Only read-on
|
|
|
16
16
|
|
|
17
17
|
When the user mentions a Jira issue key (e.g. `BAD-671`, `PROJ-123`), use the Atlassian MCP to fetch context.
|
|
18
18
|
|
|
19
|
+
## Editing Jira issues with Smart Links
|
|
20
|
+
|
|
21
|
+
When editing a Jira issue whose description (or comment) contains Smart Links — rendered issue-key/URL chips, stored as ADF `inlineCard` nodes — edit via `editJiraIssue` with `contentFormat: "adf"` and emit real `inlineCard` nodes. Never round-trip such content through `contentFormat: "markdown"`: markdown has no representation for `inlineCard`, so every existing Smart Link is flattened to a plain browse URL and lost. Jira does not auto-promote plain browse URLs back into Smart Links, so the damage is not self-healing. Inspect the current stored ADF first and preserve existing `inlineCard` nodes when making a small edit. For anything beyond a trivial edit, build the ADF programmatically (a small script) rather than hand-authoring it inline — full-description ADF is verbose and easy to get wrong.
|
|
22
|
+
|
|
19
23
|
## Commenting code
|
|
20
24
|
|
|
21
25
|
Do not include comments for standard logic or syntax. Only comment if the specific line involves unintuitive complexity or a hack.
|