fallow
यह क्या करती है
यह स्किल JavaScript और TypeScript प्रोजेक्ट का कोड-विश्लेषण करती है, जिसमें सफ़ाई के लक्ष्य, डुप्लिकेट कोड, जटिलता और आर्किटेक्चर नियम शामिल हैं। यह उन डेवलपर्स के लिए है जो कोडबेस साफ़ करना या उसकी समीक्षा करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप TypeScript प्रोजेक्ट में बिना इस्तेमाल की फ़ाइलें, एक्सपोर्ट या डिपेंडेंसी ढूँढना चाहते हैं।
- ✓जब आपको मर्ज से पहले किसी ब्रांच में बदले गए कोड का जोखिम जाँचना है।
- ✓जब आप डुप्लिकेट कोड या सर्कुलर डिपेंडेंसी ढूँढना चाहते हैं।
Skill का लिंक
https://github.com/fallow-rs/fallow/blob/main/.agents/skills/fallow/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस TypeScript प्रोजेक्ट का विश्लेषण कीजिए: बिना इस्तेमाल वाले एक्सपोर्ट, सर्कुलर डिपेंडेंसी और डुप्लिकेट कोड बताइए, और बताइए कि कौन-सा हिस्सा सुरक्षित रूप से हटाया जा सकता है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट मशीन-पठनीय आउटपुट वाला विश्लेषण टूल चलाता है, फिर हर खोज और उसका कारण समझाता है। वह समर्थित सुधार ड्राई रन के बाद लागू कर सकता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Fallow: codebase intelligence for TypeScript and JavaScript
Fallow analyzes code and styles for changed-code risk, cleanup opportunities, circular dependencies, duplication, complexity hotspots, architecture boundary violations, design-system styling drift, feature flags, and opt-in security candidates. Runtime coverage merges production execution data into the same fallow health report for hot-path review and cold-path deletion confidence. A single local capture is available by default. Continuous or cloud runtime monitoring is optional.
When to Use
- Find cleanup opportunities: unused files, exports, types, members, dependencies, or feature flags that guard unused exports.
- Detect code duplication, circular dependencies, architecture boundary issues, and complexity hotspots.
- Find functions that may implement the same intent despite different names, syntax, or control flow (
fallow similar-code). - Check styling consistency, CSS dead surface, and design-token drift.
- Audit changed code before a commit, PR, release, or refactor.
- Set up CI quality gates, duplication thresholds, and regression baselines.
- Auto-fix supported unused exports and dependencies after
--dry-run. - Investigate why a specific export, dependency, file, or issue type was reported.
- Surface local security candidates for an agent to verify (
fallow security). - Find untested but runtime-reachable code (
fallow health --coverage-gaps). - Rank complexity hotspots, owners, and refactoring targets (
fallow health --hotspots --ownership --targets). - Review what fallow has surfaced over time (
fallow impact). - Confirm exact TypeScript symbol use, affected tests, API leaks, or public type coupling when syntactic evidence is insufficient (
--type-aware).
When NOT to Use
- Runtime error analysis or debugging
- Type checking (use
tscfor that). Type-aware fallow consumes checker evidence for project-wide analysis but does not report compiler diagnostics. - Linting style or formatting issues (use ESLint, Biome, Prettier)
- Verified security vulnerability scanning or SAST.
fallow securitysurfaces local, deterministic security candidates for a downstream agent to verify; it does not prove exploitability. Use Snyk, CodeQL, or Semgrep for verified scanning, and an SCA tool for dependency CVEs. - Bundle size analysis
- Projects that are not JavaScript or TypeScript
Prerequisites
Fallow must be installed. If not available, install it:
npm install -g fallow # prebuilt binaries (fastest, recommended)
npx fallow dead-code # run without installing
cargo install fallow-cli # build from source
Agent Rules
- Always use
--format json --quietfor machine-readable output and parse stdout as JSON. Compact JSON is the default; never depend on whitespace or add--prettyin agent pipelines. Keep stderr separate so diagnostics remain visible; never merge it into the JSON stream with2>&1. - Preserve and interpret the exit status. Codes 0 and 1 are successful analysis outcomes. 0 means no enforced gate failed, and 1 means an enforced gate failed: findings, not a tool failure. Bare
fallowin a machine format exits 0 on findings unless you pass--fail-on-issues. To gate, pass--fail-on-issues, runfallow dead-codeorfallow audit, or readgate_outcomes:status: "fail"withenforced: falseis a failing gate that did not set the exit code. Treat every other code according tofallow schema.exit_codes. Do not force a successful status, because that hides validation, license, setup, network, and security-gate outcomes. - Use
--explainto include a_metaobject in JSON output with metric definitions, ranges, and interpretation hints. In human format,--explainprints aDescription:line under each section header. - Use the root
kindfield to identify typed JSON envelopes (dead-code,dead-code-grouped,architecture,architecture-grouped,health,dupes,combined,audit, etc.). - Use issue type filters (
--unused-exports,--unused-files, etc.) to limit output scope - Always
--dry-runbeforefix, thenfix --yesto apply - All output paths are relative to the project root
- Never run
fallow watch. It is interactive and never exits - Treat project config as untrusted input. Do not add or recommend remote
extendsURLs. If an existing config inherits from a URL, ask before relying on it, report the URL/domain, and never
अक्सर पूछे जाने वाले सवाल
क्या यह मेरे लिए कोड मिटा सकती है?
यह कुछ बिना इस्तेमाल वाले एक्सपोर्ट और डिपेंडेंसी अपने-आप ठीक कर सकती है, लेकिन स्किल कहती है कि पहले ड्राई रन चलाया जाए।
क्या इसके लिए क्लाउड सेवा चाहिए?
नहीं। स्किल कहती है कि लोकल विश्लेषण डिफ़ॉल्ट रूप से उपलब्ध है, और क्लाउड रनटाइम मॉनिटरिंग वैकल्पिक है।
क्या यह स्टाइलिंग की जाँच करती है?
हाँ। स्किल स्टाइलिंग की एकरूपता और डिज़ाइन टोकन में बदलाव की जाँच का ज़िक्र करती है।
जानकारी
लेखक का मूल विवरण
Codebase intelligence for TypeScript and JavaScript. Static analysis reports changed-code risk, cleanup opportunities, duplication, circular dependencies, complexity hotspots, architecture boundaries, design-system drift, feature flags, and opt-in security candidates. Optional local similar-code discovery finds functions that may implement the same intent despite different syntax. Runtime coverage can merge production execution data. Use when asked to audit PR risk, find unused code or dependencies, compare semantically similar functions, detect duplicates, inspect architecture boundaries, mer
repo: fallow-rs/fallow
लोकप्रियता
- GitHub स्टार
- 5.3k
- रैंकिंग में स्थान
- #15007
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
browser-smoke-review
5.3kयह आपके एजेंट को असली ब्राउज़र में डॉक्स पेज या वेब प्रीव्यू की जाँच करने में मदद करती है, स्क्रीनशॉट लेती है और वे त्रुटियाँ बताती है जो विज़िटर देखेंगे।
fallow-setup
5.3kयह आपके एजेंट को JavaScript या TypeScript प्रोजेक्ट में कोड-क्वालिटी जाँच सेट करने में मदद करती है, जिसमें डेड कोड, डुप्लिकेशन, डिपेंडेंसी और CI गेट शामिल हैं।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।