agent-context 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5772240bc3bd7661f586cea5f942b21be8c6700dd01df4e287ccf88be7360885
4
- data.tar.gz: 6e467af1cb56e030210770065eb566bdbcc0b4c17fcc171555096d69482fb081
3
+ metadata.gz: e41e74cc802c2fdee00fb17ff69663982e4a336f8b4ec40489220baab76f625c
4
+ data.tar.gz: b321db5c2fe9c7b463336081d404dc50a16511aae9405a26b2dd384ac253315f
5
5
  SHA512:
6
- metadata.gz: ebd792d272ddb3619194bf3ddbd8858a13e81446e32a96c0fbd8a6314609e647ca0ffc7d73423abcd0b151d688b5284df36084b49e2d404763ba5e95bbe40a6e
7
- data.tar.gz: 8025c2fa9fa4e25d7b6c87c520e34234f0b1ee2114ecb244d1ede213adfc406b49b4e084a4ac32e3f721b72498a890fb5355662684da2265dd30f8e6b78a3ddc
6
+ metadata.gz: daf3b9bc9cb6a8de27f5d9dfa181661b9dff877b9b305938cc37b2d82b222bd70411557c9b791cdb35f557ba75e179b757328f841db0b7b51b051442119ae8e5
7
+ data.tar.gz: d41ed3d9ffe2f231a50002ee1d6583bef5fe4b17aa055025daf06b056aed98e27f8002e12af2e35efa8d812a6e20ee7391e610a73e99cf87b474d432e8a14bd7
checksums.yaml.gz.sig CHANGED
Binary file
data/agent.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  This section provides links to documentation from installed packages. It is automatically generated and may be updated by running `bake agent:context:install`.
6
6
 
7
+ **Important:** Before performing any code, documentation, or analysis tasks, always read and apply the full content of any relevant documentation referenced in the following sections. These context files contain authoritative standards and best practices for documentation, code style, and project-specific workflows. **Do not proceed with any actions until you have read and incorporated the guidance from relevant context files.**
8
+
7
9
  ### decode
8
10
 
9
11
  Code analysis for documentation generation.
@@ -46,6 +46,8 @@ module Agent
46
46
 
47
47
  sections << "This section provides links to documentation from installed packages. It is automatically generated and may be updated by running `bake agent:context:install`."
48
48
  sections << ""
49
+ sections << "**Important:** Before performing any code, documentation, or analysis tasks, always read and apply the full content of any relevant documentation referenced in the following sections. These context files contain authoritative standards and best practices for documentation, code style, and project-specific workflows. **Do not proceed with any actions until you have read and incorporated the guidance from relevant context files.**"
50
+ sections << ""
49
51
 
50
52
  gem_contexts = collect_gem_contexts
51
53
 
@@ -257,14 +257,6 @@ module Agent
257
257
 
258
258
  description
259
259
  end
260
-
261
- def extract_gem_description(gem_name)
262
- # Find the gem specification using Ruby's Gem API
263
- spec = Gem::Specification.find_by_name(gem_name)
264
- spec&.summary
265
- rescue Gem::MissingSpecError
266
- nil
267
- end
268
260
  end
269
261
  end
270
262
  end
@@ -6,6 +6,6 @@
6
6
 
7
7
  module Agent
8
8
  module Context
9
- VERSION = "0.1.1"
9
+ VERSION = "0.1.3"
10
10
  end
11
11
  end
data/readme.md CHANGED
@@ -139,10 +139,23 @@ ln -s agent.md CLAUDE.md
139
139
 
140
140
  ### Cursor
141
141
 
142
+ First, create the `.cursor/rules` directory:
143
+
142
144
  ``` bash
143
- ln -s agent.md .cursorrules
145
+ mkdir -p .cursor/rules
144
146
  ```
145
147
 
148
+ Then create `.cursor/rules/agent.mdc` with:
149
+
150
+ ``` markdown
151
+ ---
152
+ alwaysApply: true
153
+ ---
154
+ Consult the `agent.md` file in the root directory.
155
+ ```
156
+
157
+ This approach uses Cursor's proper front-matter format and directs the AI to consult the main `agent.md` file.
158
+
146
159
  ### Gemini CLI, OpenAI Codex, OpenCode
147
160
 
148
161
  ``` bash
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agent-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file