Skip to content

docs(skills): resolve the text format in using-bee and follow newer Backlog features - #171

Open
lollipop-onl wants to merge 2 commits into
lollipop-onl/feat-issue-relatedfrom
lollipop-onl/docs-update-skills-backlog
Open

lollipop-onl wants to merge 2 commits into
lollipop-onl/feat-issue-relatedfrom
lollipop-onl/docs-update-skills-backlog

Conversation

@lollipop-onl

@lollipop-onl lollipop-onl commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #170 → #172 — review those first. The base moves down the stack as each one merges.

Summary

Updates both Agent Skills to current authoring guidance and to Backlog's newer features, and fixes agents treating Backlog notation (Backlog記法) as Backlog's only markup.

Why agents misread Backlog notation

backlog-notation's description triggered on any formatted text headed for Backlog, and on projects whose format was unknown. So it loaded on Markdown projects too, and its body then read as "how Backlog text works". #126 added a gate in the body, but the description (which is what decides loading) still won.

What changes

  • using-bee owns format resolution ("Writing Text to Backlog"): a stated rule in the prompt or AGENTS.md → reuse this session's check → otherwise bee project view --json textFormattingRule once → ask the user if it can't run. It never guesses from existing text.
  • Documents are always Markdown. The Add document API parses content as Markdown in every project, so the skills say so explicitly.
  • backlog-notation only triggers once the format is known to be Backlog notation, when invoked by name, or when the user asks about its syntax / conversion in either direction. Its body repeats the check so it still works without using-bee.
  • Newer Backlog features: the document commands (feat(document): add comments, count, add-tag and remove-tag commands #170) and related-issue commands (feat(issue): add related, add-related and remove-related commands #172); there is no document-update endpoint (don't delete and recreate without asking); newer spaces and projects have Wiki off, so long pages go to documents.
  • Mentions: <@U{numeric id}> (also <@T{id}> / <@project>), the same in both formats; plain @Name is text. Checked on a live space: a mentioned member of the project is notified, a non-member is not, and saved mentions come back as @Name, so edited text must restore them. Document bodies posted through the API can't hold mentions (<@U…> stays literal), and there is no public API for document comments.
  • Authoring guidance (Anthropic best practices, agentskills.io): third-person what + when descriptions with the main use case first, Japanese trigger words (バックログ, 課題, プルリクエスト…), near-miss exclusions ("product backlog", Jira). Frontmatter stays name / description only.
  • bee api writes the user explicitly asked for no longer need a second confirmation, since that stalled non-interactive runs.
  • AGENTS.md and the AI agent guide page describe the new split.

How the text was produced

The prose was run through gvzdv/claudish-to-english's Markdown hook (rewrite-md.sh, codex provider). Two sentences where the rewrite weakened the meaning were restored. A separate model (Fable) then reviewed trigger behaviour with should / should-not-trigger queries in English and Japanese, routing between the two skills, and facts against the CLI source. Its fixes are applied. Two suggestions were not applied: trimming the intentional repetition, and a low-confidence claim about > cell merging.

Not re-verified

The Backlog notation syntax table is unchanged from #126. The Backlog help site returned 403, so it could not be re-checked.

Test plan

  • vp check passes
  • vp run --filter @nulab/bee generate:skill:check passes
  • Both descriptions ≤ 1024 chars (724 / 741)
  • Try in Claude Code: a Markdown project, a Backlog-notation project, and a document post pick the right format

🤖 Generated with Claude Code

@lollipop-onl lollipop-onl added the documentation Improvements or additions to documentation label Sep 28, 2026
@lollipop-onl lollipop-onl self-assigned this Sep 28, 2026
@lollipop-onl
lollipop-onl force-pushed the lollipop-onl/docs-update-skills-backlog branch from ecc68dc to b8b0723 Compare September 28, 2026 17:22
@lollipop-onl
lollipop-onl changed the base branch from lollipop-onl/feat-document-commands to lollipop-onl/feat-issue-related September 28, 2026 17:22
@lollipop-onl
lollipop-onl force-pushed the lollipop-onl/feat-issue-related branch from 8cd542f to 1a22cca Compare September 28, 2026 17:43
…acklog features

Agents kept treating Backlog notation as the only markup Backlog has.
backlog-notation's description triggered on any formatted text headed for
Backlog, and on projects whose format was unknown, so it loaded on Markdown
projects too, and its body then read as how Backlog text works in general.
Format resolution now lives in using-bee, which loads for every Backlog
task, and backlog-notation only triggers once the format is known to be
Backlog notation or the user asks about its syntax.

Documents are parsed as Markdown in every project regardless of
textFormattingRule, so the skills say so instead of letting a
Backlog-notation project's rule leak into them. The skills also cover the
newer API surface: the document and related-issue commands, the missing
document-update endpoint, and Wiki being turned off for newer
spaces and projects.

The prose was simplified with gvzdv/claudish-to-english and then reviewed
by a separate model; the Backlog notation syntax table was left unchanged
because the help site could not be fetched to re-verify it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lollipop-onl
lollipop-onl force-pushed the lollipop-onl/docs-update-skills-backlog branch from b8b0723 to 8619281 Compare September 28, 2026 17:44
Agents writing `@Name` get plain text: Backlog only recognises
`<@U{numeric id}>` (plus `<@t{id}>` and `<@project>`), which nothing in the
skills said. A live space also showed three traps worth stating: mentions
of non-members render but notify no one, saved mentions come back as
`@Name` so editing read-back text silently drops them, and document bodies
posted through the API cannot hold mentions at all, with no API for
document comments either.

Team, project, pull request and wiki mentions were not tried live, so the
text points to `--notify` where a notification must not be missed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant