2624 Commits

Author SHA1 Message Date
Kazuki Yamada
b7f960e724 Merge pull request #1008 from yamadashy/test/improve-coverage-for-skill-and-mcp
test(skill,mcp): improve test coverage for writeSkillOutput and fileSystemReadFileTool
2025-12-14 22:22:48 +09:00
Kazuki Yamada
fa68654867 chore(agents): add pr-resolve-addressed command and remove pr-review-request
Add command for resolving addressed PR review comments via GitHub GraphQL API.
Remove unused pr-review-request command.
2025-12-14 22:20:18 +09:00
Kazuki Yamada
cd2b7de4b9 test(skill,mcp): improve test coverage for writeSkillOutput and fileSystemReadFileTool
Add comprehensive tests to increase code coverage from 89.81% to 90.28%:

writeSkillOutput.ts (63.88% → 100%):
- Add test for techStack file writing
- Add tests for EPERM/EACCES error handling
- Add test for generic error handling
- Add test for non-Error object handling

fileSystemReadFileTool.ts (62.5% → 100%):
- Add test for directory path error
- Add test for successful file reading
- Add test for security check failure
- Add test for general errors during file reading
- Add test for non-Error object handling
2025-12-14 22:10:56 +09:00
Kazuki Yamada
20ed7b35d9 docs(releases): Add v1.10.1 release notes
Add release notes for v1.10.1 which includes:
- Bug fixes for skill generation project name and .claude/ directory conflicts
- Improvement for source URL in SKILL.md for remote repositories
2025-12-14 21:09:26 +09:00
Kazuki Yamada
bb7649db83 Merge pull request #1007 from yamadashy/fix/remove-confidence-check
fix(file): remove jschardet confidence check for encoding detection
2025-12-14 19:47:10 +09:00
Kazuki Yamada
47398ae820 test(file): Add test for legitimate U+FFFD character handling
Verify that files containing intentional U+FFFD characters in the source
are correctly read (not skipped), testing the TextDecoder validation path.
2025-12-14 19:44:47 +09:00
Kazuki Yamada
0604b7e2e1 fix(deps): downgrade isbinaryfile to v5.0.2 for Node.js 20+ support
isbinaryfile v6.0.0 requires Node.js >= 24.0.0, but repomix supports
Node.js >= 20.0.0. Downgrade to v5.0.2 (requires Node.js >= 18.0.0)
to maintain compatibility with current LTS versions.

Addresses gemini-code-assist review on PR #1006
2025-12-14 19:10:48 +09:00
Kazuki Yamada
c4354e7745 fix(file): improve U+FFFD detection for UTF-8 encoding
- Use TextDecoder('utf-8', { fatal: true }) to distinguish actual decode
  errors from legitimate U+FFFD characters in UTF-8 files
- Change test temp directory from tests/fixtures to os.tmpdir() to avoid
  clobbering committed fixtures and reduce parallel-run collisions
- Non-UTF-8 files still use iconv.decode() fallback behavior

Addresses CodeRabbit review comments on PR #1007
2025-12-14 18:56:34 +09:00
Kazuki Yamada
72b27e4c9f fix(file): remove jschardet confidence check for encoding detection
Remove the confidence < 0.2 check that was causing valid UTF-8/ASCII files
to be incorrectly skipped. Files are now only skipped if they contain actual
decode errors (U+FFFD replacement characters).

This fixes issues where:
- Valid Python files were skipped with confidence=0.00 (#869)
- HTML files with Thymeleaf syntax (~{}) were incorrectly detected as binary (#847)

The isbinaryfile library (added in PR #1006) now handles binary detection more
accurately, making the confidence-based heuristic unnecessary.

Fixes #869
2025-12-14 18:44:48 +09:00
Kazuki Yamada
a022d89413 Merge pull request #1006 from yamadashy/refactor/replace-istextorbinary
feat(core): Replace istextorbinary with is-binary-path and isbinaryfile
2025-12-14 18:22:26 +09:00
Kazuki Yamada
7f0d05d703 feat(core): Replace istextorbinary with is-binary-path and isbinaryfile
Migrate from istextorbinary (last updated 2023-12) to actively maintained packages:
- is-binary-path: Extension-based binary detection (updated 2024-04)
- isbinaryfile: Content-based binary detection with zero dependencies (updated 2025-12)

Improvements:
- Binary extension coverage: 13 → 262 extensions (~20x increase)
- Content detection: Better UTF-16/CJK support, statistical analysis (512 bytes vs 72 bytes)

The two-stage detection logic (extension check → content check) is preserved.
2025-12-14 18:03:43 +09:00
Kazuki Yamada
f06528a3ff Merge pull request #1005 from yamadashy/claude/slack-add-russian-language-016HEBCNsuFTZCxAktG6jRfT
Add Russian Language Support
2025-12-14 00:18:29 +09:00
Claude
d205ced5a2 fix(website): Restore json style option in Russian GitHub Actions docs
The action.yml description was outdated - the style parameter passes
directly to the repomix CLI which does support json. Restored json to
match the English documentation.
2025-12-13 15:15:02 +00:00
Claude
e8ac5ba7ab style(website): Wrap example URLs in backticks in Russian mcp-server docs
Format example URLs with backticks to comply with markdownlint MD034
(no-bare-urls) rule.
2025-12-13 15:01:30 +00:00
Claude
b1ba1a594f style(website): Add language identifiers to Russian docs code blocks
Add `text` language identifier to fenced code blocks in prompt-examples.md
and index.md to fix MD040 markdownlint warnings.
2025-12-13 14:57:18 +00:00
Claude
c94ec85732 fix(website): Remove unsupported json style from GitHub Actions docs
The action.yml only supports xml, markdown, plain styles but the
documentation incorrectly listed json as an option. Updated the Russian
translation to match actual supported options.
2025-12-13 14:48:40 +00:00
Claude
127bff4d0d docs(skill): Update website-maintainer to reflect 14 languages
Add Russian (ru) to the supported languages list.
2025-12-13 14:38:38 +00:00
Claude
b0a95d9c6c docs(website): Add Russian language support
Add Russian (ru) as the 14th language to the Repomix documentation website.

This includes:
- New configRu.ts with navigation, sidebar, and search translations
- Updated config.ts to include Russian locale
- Updated configShard.ts to include Russian search configuration
- Complete Russian translations for all 24 documentation pages

Related to community request for Russian language support based on
the large Russian developer population (~85-110万 IT specialists).

Slack thread: https://yamadashy.slack.com/archives/C08S1M3ESHF/p1765620770607819
2025-12-13 10:29:48 +00:00
Kazuki Yamada
ea6bca904d Merge pull request #1004 from yamadashy/feat/website-improve
docs(website): Add code-group syntax for installation options
2025-12-13 19:10:02 +09:00
Kazuki Yamada
e968a7355d docs(website): Add pnpm to installation guides for consistency
Add pnpm package manager option to 10 language installation guides
that were missing it (en, ja, zh-cn, zh-tw, ko, de, es, fr, it, pt-br).

All 13 languages now consistently show 5 package managers:
npm, yarn, pnpm, bun, and Homebrew.
2025-12-13 18:12:39 +09:00
Kazuki Yamada
2ad858e468 docs(skill): Update website-maintainer to reflect 13 languages
Add Italian (it) to the language list and update the count from 12 to 13.
2025-12-13 17:27:01 +09:00
Kazuki Yamada
4034abd386 docs(website): Use code-group for package manager installation options
Replace individual package manager sections with VitePress code-group
syntax for a cleaner, tabbed interface. Users can now easily switch
between npm, yarn, bun, and Homebrew installation commands.

Applied to all 13 language versions of installation.md.
2025-12-13 17:27:01 +09:00
Kazuki Yamada
93e30229d5 Merge pull request #1002 from yamadashy/renovate/all-minor-patch
fix(deps): update all non-major dependencies
2025-12-13 16:30:20 +09:00
renovate[bot]
805d427e47 fix(deps): update all non-major dependencies 2025-12-13 05:50:40 +00:00
Kazuki Yamada
bd0646eafd docs(releases): Add release notes for v1.10.0 2025-12-13 14:49:31 +09:00
Kazuki Yamada
480ce12189 Merge pull request #1003 from yamadashy/claude/slack-add-italian-language-01T1pDuiS57EXPjPmvCXS7eX
Add Italian Language to Repomix Website
2025-12-13 14:45:12 +09:00
Claude
6b2b03c672 fix(website): Fix Italian documentation review comments
- Fix internal links in claude-code-plugins.md to use /it/guide/ prefix
- Add 'text' language specification to fenced code block in development/index.md
2025-12-13 05:13:16 +00:00
Claude
54b0bc4ab0 docs(website): Add Italian language support
Add complete Italian (it) translation for the Repomix documentation website.

- Create configIt.ts with Italian navigation, sidebar, and search translations
- Add Italian locale to main VitePress config.ts
- Add Italian search config to configShard.ts
- Create all Italian documentation files under website/client/src/it/

This brings the total supported languages to 13.
2025-12-13 03:55:45 +00:00
Kazuki Yamada
7061f3b331 Merge pull request #1000 from yamadashy/claude/add-skill-generate-docs-012yNBM9WgyPZBcvWdeyJ9ov
Add skill-generate feature to README
2025-12-12 23:38:02 +09:00
Kazuki Yamada
c47b61d0c6 docs(website): Fix code block language specifications in agent-skills-generation docs
- Add 'gitignore' language to .gitignore example in TIP block
- Add 'text' language to directory structure examples
- Fix nested fenced code blocks in files.md section (use 4 backticks)
- Update kebab-case example to use 'CustomName' instead of 'custom-name'

Applied to: en, de, es, fr, hi, id
2025-12-12 23:28:17 +09:00
autofix-ci[bot]
93b2b29b41 [autofix.ci] apply automated fixes 2025-12-12 14:14:04 +00:00
Claude
96589f2728 docs(website): Add Agent Skills Generation docs for all languages
Add documentation for the --skill-generate feature in all supported
languages: German, Spanish, French, Hindi, Indonesian, Korean,
Portuguese-BR, Vietnamese, Chinese Simplified, and Chinese Traditional.

Also update sidebar configurations for each language to include the
new Agent Skills Generation page in the Advanced section.
2025-12-12 14:13:13 +00:00
github-actions[bot]
86bce48af8 chore(schema): auto generate schema 2025-12-12 13:54:17 +00:00
Claude
a9851e48bd docs(website): Simplify .gitignore tip wording 2025-12-12 13:53:30 +00:00
Claude
7049c0f0af docs(website): Clarify .gitignore tip applies to Project Skills 2025-12-12 13:53:30 +00:00
Claude
c6343577d9 docs(website): Add .gitignore tip for reference Skills
Add TIP callout recommending to add generated reference Skills
to .gitignore to avoid committing large files:
.claude/skills/repomix-reference-*/
2025-12-12 13:53:29 +00:00
Claude
e8dc8ca946 docs(website): Add documentation-only Skills examples
Add section showing how to generate Skills from remote repository
documentation only using --include option. Examples include:
- Claude Code Action docs
- Vite docs
- React docs

This is useful when you want Claude to reference specific library
documentation while working on your code.
2025-12-12 13:53:29 +00:00
Claude
3cad2b457e docs(website): Add experimental note to Agent Skills Generation
Add NOTE callout to indicate this is an experimental feature
with potential breaking changes in future releases.
2025-12-12 13:53:29 +00:00
Claude
bf89cfc0e0 docs: Simplify --include docs example without glob pattern 2025-12-12 13:53:29 +00:00
Claude
668683140d docs: Add documentation-only example for skill-generate
Add example showing how to generate Skills for documentation only:
repomix --remote user/repo --skill-generate --include "docs/**"

This is useful when you want to reference only documentation
from a remote repository.
2025-12-12 13:53:29 +00:00
Claude
b4fa5b4f84 docs: Fix incorrect CLI usage examples for skill-generate
Fix usage examples where directory argument was incorrectly placed:
- `repomix --skill-generate path/to/directory` (wrong)
- `repomix path/to/directory --skill-generate` (correct)

The --skill-generate [name] option takes an optional skill name,
not a directory path. Directories are positional arguments.
2025-12-12 13:53:28 +00:00
Claude
d7f9c53a4c docs: Improve Agent Skills Generation introduction
- Add explanation that this feature is particularly powerful for
  referencing implementations from remote repositories
- Remove redundant "What is Agent Skills Generation?" section
- Merge explanation into the introduction paragraph
2025-12-12 13:53:28 +00:00
Claude
4c9eb31334 docs(website): Rename skill-generate.md to agent-skills-generation.md
Rename documentation files to match the feature name:
- en/guide/skill-generate.md → en/guide/agent-skills-generation.md
- ja/guide/skill-generate.md → ja/guide/agent-skills-generation.md
- Update sidebar links in both English and Japanese configs
2025-12-12 13:53:28 +00:00
Claude
0d861db0dd docs: Update terminology to use Agent Skills consistently
Update all skill-generate documentation to use "Agent Skills" or "Skills"
instead of "skill" for consistency:

- README.md: Update section titles and content
- English website doc: Update to "Agent Skills Generation"
- Japanese website doc: Update to "Agent Skills生成"
- Sidebar labels: Update both English and Japanese labels
2025-12-12 13:53:28 +00:00
Claude
d1499c0771 docs(website): Add skill-generate feature documentation
Add skill generation documentation to the website for English and Japanese:
- Create en/guide/skill-generate.md with comprehensive feature documentation
- Create ja/guide/skill-generate.md with Japanese translation
- Add sidebar links in Advanced section after Claude Code Plugins

The documentation covers:
- Basic usage and CLI options
- Skill location selection (personal vs project)
- Generated structure explanation (SKILL.md and references/)
- Auto-generated skill names
- Integration with other Repomix options
- Example workflows for personal and team use
2025-12-12 13:53:28 +00:00
Claude
781fdcc1c5 docs(readme): Add skill-generate feature documentation
Add documentation for the --skill-generate feature introduced in PR #998:
- Add --skill-generate option to Command Line Options section
- Add dedicated Skill Generation section with usage examples
- Document generated structure (SKILL.md and references/)
- Include auto-generated skill names and integration examples
2025-12-12 13:53:27 +00:00
Kazuki Yamada
4a604ecacb 1.10.1 v1.10.1 2025-12-12 22:23:45 +09:00
Kazuki Yamada
f482ec3002 Merge pull request #1001 from yamadashy/fix/skill-generate-project-name
feat(skill): Improve skill generation for remote repositories
2025-12-12 22:22:01 +09:00
Kazuki Yamada
670e839578 fix(skill): Fix ReDoS vulnerability in extractRepoName
Replace regex patterns that could cause polynomial time complexity
with safe string methods:
- /[?#].*$/ → indexOf + slice
- /\/+$/ → iterative trimTrailingSlashes helper

This addresses GitHub Advanced Security warnings about potential
ReDoS attacks with maliciously crafted URLs containing many
repetitions of '#' or '/'.
2025-12-12 21:55:39 +09:00
Kazuki Yamada
925d94adf9 refactor(skill): Address PR review feedback
- Fix extractRepoName to handle trailing slashes, query strings, and
  fragments in URLs (e.g., https://github.com/user/repo/ now works)
- Extract toTitleCase helper function to reduce code duplication
- Use projectName instead of sourceUrl for link text in SKILL.md footer
  (displays as "from [Vite](https://...)" instead of full URL twice)
- Add tests for URL edge cases (trailing slash, query, fragment)
2025-12-12 21:49:14 +09:00