Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Update Node.js module README.md with installation commands and package.json description/keywords. Use when users request (1) Update README installation section, (2) Add missing install commands, (3) Update package.json description, (4) Update package.json keywords, (5) "更新 README 安裝指令", (6) "補齊安裝指令", (7) "更新模組描述", (8) "補齊關鍵字", (9) Node.js module documentation update.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 217% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 327% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 101% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 165% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 159% | 0% |
Update Node.js module README.md with complete installation commands and synchronize package.json description and keywords.
| Manager | Command Pattern | Alias | |---------|----------------|-------| | npm | npm install <name> | - | | yarn | yarn add <name> | - | | yarn-tool | yarn-tool add <name> | - | | yt | yt add <name> | yarn-tool alias | | pnpm | pnpm add <name> | - |
Scan README for installation section patterns:
## Install, ## Installation, ## 安裝When any install command is found, ensure ALL are present:
markdown## 安裝 (Installation)
yarn add <%= name %>
yarn-tool add <%= name %>
yt add <%= name %>
pnpm add <%= name %>
npm install <%= name %>
<%= name %> with actual package nameUpdate description when BOTH conditions are met:
package.json has empty or missing description fieldGenerate appropriate description from:
index.ts/index.js for module purposelib/, src/ contents indicate functionalityExample:
用於解析和處理 semver 版本字串的工具庫 (Utility for parsing and processing semver version strings)Update keywords when:
package.json has empty or missing keywords fieldpackage.json has minimal keywords (< 15) that don't adequately describe the moduleGenerate appropriate keywords from:
@yarn-tool/ncu-ws → yarn-tool, ncu, workspacessemver-parse → semver, parse, versionnpm-check-updates → npm, update, dependenciesyarnlock → yarn, lockfileparseSemVer → parse, parserdetectVersion → detect, versionlib/parse/ → parselib/utils/ → utils, utility| Category | Example Keywords | |----------|-----------------| | Package Manager | npm, yarn, pnpm, yarn-tool | | Workspace | workspaces, monorepo, lerna | | Version Management | semver, version, release | | File Operations | parse, read, write, transform | | Development | cli, tool, util, helper | | Lock File | yarnlock, lockfile, yarn-lock |
/ and -When adding new keywords, sort by relevance in this order:
| Priority | Source | Example | |----------|--------|---------| | 1 (Highest) | Package name core | yarn-tool from @yarn-tool/ncu-ws | | 2 | Main functionality | workspaces, ncu from module purpose | | 3 | Key dependencies | npm-check-updates, yarnlock | | 4 | Category keywords | npm, yarn, monorepo | | 5 (Lowest) | Generic terms | package, tool, util |
Existing keywords: ["old-keyword-1", "old-keyword-2"]
New keywords (sorted by relevance): ["yarn-tool", "ncu", "workspaces", "npm-check-updates"]
Final result:
[
"yarn-tool", // New - highest relevance (package name core)
"ncu", // New - high relevance (main functionality)
"workspaces", // New - high relevance (main functionality)
"npm-check-updates", // New - medium relevance (key dependency)
"old-keyword-1", // Existing - preserved order
"old-keyword-2" // Existing - preserved order
]Package: @yarn-tool/ncu-ws
Dependencies: npm-check-updates, yarnlock, fs-extra
Existing keywords: []
New keywords (sorted by relevance):
[
"yarn-tool", // Package name core
"ncu", // Main functionality
"workspaces", // Main functionality (ws = workspaces)
"npm-check-updates", // Key dependency
"yarn", // Category keyword
"npm", // Category keyword
"monorepo", // Category keyword
"dependencies", // Generic term
"update", // Generic term
"yarnlock", // Related dependency
"package" // Generic term
]If existing keywords were present:
Existing keywords: ["cli", "helper"]
Final keywords array:
[
"yarn-tool", // New - highest relevance
"ncu", // New - high relevance
"workspaces", // New - high relevance
"npm-check-updates", // New - medium relevance
"yarn", // New - category
"npm", // New - category
"monorepo", // New - category
"cli", // Existing - preserved
"helper" // Existing - preserved
]當 README 中不存在以下概念時,除非使用者明確要求,否則不應寫入:
## author - 作者資訊## 相容性 - Compatibility(如 Node.js 版本要求)## 貢獻 - Contributing(如 "歡迎提交 Issue 和 Pull Request!")## 授權 - License(如 "ISC License")檢查現有 README
│
▼
該章節是否存在?
│
├─ 是 → 保留原有內容,可選擇性更新
│
└─ 否 → 不主動添加,除非使用者明確要求User: Update README for this module
1. Read package.json → name: "@yarn-tool/ncu-ws", description: "", keywords: []
2. Read README.md → Has yarn install, missing others
3. Detect installation → Found: yarn add @yarn-tool/ncu-ws
4. Complete commands → Add npm, pnpm, yarn-tool, yt
5. Check description → Both empty
6. Analyze module → Dependencies: npm-check-updates, yarnlock
7. Generate description → "Workspaces 環境下的 npm-check-updates 整合工具"
8. Check keywords → Empty or minimal
9. Generate keywords → ["yarn", "yarn-tool", "npm", "ncu", "workspaces", ...]
10. Update files → README + package.jsonReport changes made:
markdown# README Update Report ## Installation Commands - ✓ yarn add - already exists - + yarn-tool add - added - + yt add - added - + pnpm add - added - + npm install - added ## Description - package.json: Updated with "工具描述..." - README.md: No change (description exists) ## Keywords - package.json: Added 10 keywords - Added: yarn, yarn-tool, npm, ncu, workspaces, monorepo, dependencies, update, yarnlock, package ## Files Modified - README.md - package.json
Other measured skills in the registry, with their headline benchmark lift.