Commit graph

44 commits

Author SHA1 Message Date
uinstinct
f5c345254d support relative path for workspace dirs 2026-01-15 19:00:09 +05:30
uinstinct
b9bcd33cce add supporting files for skill tool 2026-01-15 13:05:03 +05:30
uinstinct
85759451cb load skills from .claude directory
also put skills inside skills/ directory
2026-01-15 12:42:45 +05:30
uinstinct
e0753f5be2 simplify tool frontmatter validation 2026-01-06 18:16:45 +05:30
uinstinct
207469af85 read and inject skills to system message 2025-12-29 20:04:50 +05:30
Aditya Mitra
cc2a6c3f16
fix: show md rules and prompts in respective sections (#8178)
* fix: show md rules and prompts in respective sections

* Update core/config/markdown/loadMarkdownRules.ts

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Revert "Update core/config/markdown/loadMarkdownRules.ts"

This reverts commit cf0fabaf71eaf7f8c9456eb737dcb08c365c04c0.

* Revert "fix: show md rules and prompts in respective sections"

This reverts commit b19726baf78d35e9cf4c2fb5c1549127af66f868.

* fix: skip invokable prompt files

also read .md files from prompt folders

* remove debug statements

* simplify if block

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-27 15:25:03 -07:00
Dallin Romney
0ecef51a82 fix: agent-file -> agentFile 2025-10-13 20:03:24 -07:00
Tomasz Stefaniak
25b1253195 fix: formatting 2025-10-02 13:35:57 -07:00
Tomasz Stefaniak
c5db90e9fc improv: clean up code 2025-10-02 13:28:55 -07:00
Tomasz Stefaniak
494ecfddf6 improv: make prompts and rules directories interchangeable 2025-10-02 13:14:14 -07:00
Dallin Romney
9f92dbdc8d fix: load codebase rules tests: use URIs 2025-09-29 19:49:42 -07:00
Dallin Romney
1c43796518 fix: markdown rules and top level agents 2025-09-29 17:38:49 -07:00
Dallin Romney
c75262e692 ruleFile -> sourceFile 2025-09-29 16:05:05 -07:00
Dallin Romney
a7e392bdde feat: better settings page and open settings fixes 2025-09-29 15:59:46 -07:00
Nate Sesti
268329a944
feat(cli): enhance /init command to create custom slash command (#7888)
* feat(cli): enhance /init command to create custom slash command

Update the /init slash command prompt to also create a custom "review"
slash command file at .continue/rules/review.md with invokable frontmatter
and review-focused instructions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* fix: address feedback

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-25 11:39:57 -07:00
Nate Sesti
1f6276d418
feat: support for AGENTS.md (#7717)
* feat: support for AGENTS.md

* chore: rules source display name cleanup

* refactor: use constant

---------

Co-authored-by: Dallin Romney <dallinromney@gmail.com>
2025-09-22 15:58:45 -07:00
Patrick Erichsen
c1a47858f3
fix: rule colocation uri logic (#7164)
* fix: rule colocation uri logic

* rename to `fileUri`

* fix: type errors

* fix test mocks

* Update slugs.test.ts
2025-08-15 10:00:17 -07:00
Dallin Romney
5b2e545ca1
Codebase/Colocated Rules Cache (#6603)
* codebase rules cache

* reload config on codebase rule update

* void codebase rule promise

* void rules cache promises part 2

* better colocated rule source label
2025-07-17 11:34:28 -07:00
chezsmithy
e4b08ff805 fix: 🐛 The edit rules button doesn't open the rule file 2025-07-02 17:06:30 -07:00
Nate Sesti
e310b0634e
Merge pull request #6138 from continuedev/pe/rule-updates-2
feat: move rule parsing to `config-yaml`
2025-06-16 20:35:35 -07:00
Nate
eaca464e9e fix vitest tests 2025-06-16 16:57:27 -07:00
Nate
192d0bee39 fix type errors 2025-06-16 16:27:00 -07:00
Patrick Erichsen
1a9910f49e fix imports 2025-06-16 09:24:10 -07:00
Patrick Erichsen
f2d72902cb feat: move rule parsing to config-yaml 2025-06-15 22:19:51 -07:00
Patrick Erichsen
6c24132fab fix: avoid parsing md rules as yaml 2025-06-12 11:09:21 -07:00
Tomasz Stefaniak
35ee97438f Merge branch 'main' into tomasz/rule-colocation 2025-06-11 15:20:08 -07:00
Tomasz Stefaniak
b553630f2a improv: constants 2025-06-11 15:04:13 -07:00
Tomasz Stefaniak
f1026c6a2c fix: uri utils 2025-06-11 14:39:40 -07:00
Tomasz Stefaniak
9dba4730b9 fix: type errors / formatting 2025-06-09 17:11:55 -07:00
Tomasz Stefaniak
ab0222d1cf improv: remove logs 2025-06-09 15:54:01 -07:00
Tomasz Stefaniak
d01f24309b fix: path 2025-06-09 13:12:04 -07:00
Tomasz Stefaniak
a7a6c5cb43 test: globs 2025-06-09 12:49:35 -07:00
Tomasz Stefaniak
0b653d7fbe Update ruleCollocationApplication.vitest.ts 2025-06-09 12:42:47 -07:00
Tomasz Stefaniak
adedb9e910 test: colocation 2025-06-09 12:38:33 -07:00
Tomasz Stefaniak
b5b4b0d31d test: colocation 2025-06-09 11:02:12 -07:00
Tomasz Stefaniak
c7339f8aaa Merge branch 'main' into tomasz/rule-colocation 2025-06-09 10:43:19 -07:00
Tomasz Stefaniak
39dc367371 feat: rule colocation 2025-06-09 10:42:17 -07:00
Patrick Erichsen
59620221fb update tests 2025-06-02 14:43:02 -07:00
Patrick Erichsen
c2571e2a86 feat: create markdown rules in notch 2025-06-02 14:33:51 -07:00
Patrick Erichsen
1b59411ec1 chore: continue bot feedback 2025-05-25 19:47:12 -07:00
Patrick Erichsen
e2e4f94e8d Add alwaysApply property to rules for better control over rule application
This commit introduces an optional `alwaysApply` boolean property to rules that provides fine-grained control over when rules are included in system messages.

## Behavior

- `alwaysApply: true` - Always include the rule, regardless of file context
- `alwaysApply: false` - Only include if globs exist AND match file context
- `alwaysApply: undefined` - Default behavior: include if no globs OR globs match

## Changes

- Added `alwaysApply?: boolean` to `RuleWithSource` interface
- Updated `parseMarkdownRule` to handle frontmatter `alwaysApply` property
- Enhanced `shouldApplyRule` function with explicit logic for all three states
- Added `alwaysApply` to createRuleBlock tool definition and implementation
- Updated UI logic in RulesPeek component to match backend behavior
- Added comprehensive test coverage for all scenarios
- Updated documentation to mention Markdown file support for rules

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-25 19:27:15 -07:00
Patrick Erichsen
e4b70dbfd8 feat: description in markdown yaml 2025-05-22 10:10:21 -07:00
Tomasz Stefaniak
ba3984290d fix: naming 2025-05-20 13:24:33 -07:00
Tomasz Stefaniak
a21d350ea1 feat: markdown rules
fix: parsing
2025-05-20 13:12:17 -07:00