Create a new feature entry in FEATURES.md
Create a new feature in the project.
Before proceeding, check that CLAUDE.md contains a Feature Model section. If it doesn't, tell the user to run /feature-init first and stop.
The user has described the feature as: $ARGUMENTS
Steps:
If $ARGUMENTS looks like a GitHub issue reference — e.g. "issue 6", "issue #6", "#6", or natural language such as "the issue about improving error handling" — resolve it before proceeding:
a. Run git remote -v and parse the owner/repo from the fetch URL (handles both HTTPS https://github.com/owner/repo.git and SSH [email protected]:owner/repo.git).
b. For a numeric reference: run gh issue view N --repo owner/repo to fetch the title and body.
c. For a natural-language description: run gh issue list --repo owner/repo --search "keywords" --limit 10 --json number,title,body and select the best match.
d. Use the issue title as the feature title. Write one or two sentences summarising what the issue covers — do not copy the full issue body into FEATURES.md. Include the issue number as a reference (e.g. See #6.).
e. If gh is not available or the lookup fails, tell the user and ask them to provide the description manually.
Read FEATURES.md to understand existing features and avoid duplication.
Derive a short, descriptive slug for the feature (e.g. add-french-divisions, deploy-visualisation). Use lowercase-hyphenated format. Put that at the end of the feature title in square brackets as a tag (e.g. [add-french-divisions]).
Add a new entry at the top of the ## Pending section in FEATURES.md with the format:
### <Feature title> [tag]
<One or two sentences describing what the feature covers and why.>
Keep the description concise — no implementation detail, no sub-tasks. Those belong in a plan file created when the feature starts. If the user has provided requirements too detailed to fit in one or two sentences, preserve them in plans/<slug>.md under a ## Requirements section, noting that the Design section will be fleshed out when the feature starts. Do not create the plan file if there are no requirements beyond what fits in the FEATURES.md entry.
/feature-start).使用 Arthas 的 watch/trace 获取 EagleEye traceId / 获取请求的 traceId