Loading...
Loading...
Fetch and apply Cursor-style workspace rules supporting all rule formats (.cursor/rules/*.md, *.mdc, AGENTS.md, and legacy .cursorrules).
npx skill4agent add dolesshq/self-obsolescence fetch-rules.cursor/rules/.mdcdescriptionglobsalwaysApply.md.cursorrules| Rule Type | Selection Behavior |
|---|---|
| Always included |
Simple | Always included |
| Included when any candidate file matches |
| Included when prompt overlaps with description keywords |
No metadata ( | Included only when explicitly referenced |
| Always included when in scope (directory hierarchy) |
--files--use-git-diff--promptbashgit--use-git-diffSKILL.mdbash scripts/fetch_rules.sh --prompt "<your request>"bash scripts/fetch_rules.sh --prompt "<request>" --files path/to/a.ts path/to/b.sql
bash scripts/fetch_rules.sh --prompt "<request>" --use-git-diffbash scripts/fetch_rules.sh --prompt "<request>" --explicit global.mdc
bash scripts/fetch_rules.sh --prompt "<request>" --explicit react-patterns.md| Format | Location | Description |
|---|---|---|
| | Rules with YAML frontmatter for fine-grained control |
| | Simple markdown rules (always applied) |
| Root or subdirs | Simple agent instructions (always applied in scope) |
| Root only | Legacy format (deprecated, will be removed) |
[[ file == pattern ]]***AGENTS.md