Commit bb2cc42
[UPDATE PRIMITIVE] Rewrite static MCP resources as actionable LLM-oriented guides (#113)
* Initial plan
* Rewrite static MCP resources with actionable LLM-oriented content, rename URIs, add new resources
- Rewrite getting-started.md as MCP server orientation guide (codeql://server/overview)
- Rewrite query-basics.md as practical query writing reference (codeql://server/queries)
- Rewrite security-templates.md with multi-language templates and TDD workflow
- Rewrite performance-patterns.md with profiling tool focus
- Create server-prompts.md (codeql://server/prompts) with complete prompt reference
- Create server-tools.md (codeql://server/tools) with complete default tool reference
- Rewrite ql-test-driven-development.md as TDD theory overview with cross-links
- Register ql-test-driven-development.md as MCP resource (codeql://learning/test-driven-development)
- Update resources.ts with new imports and getters
- Update codeql-resources.ts with new URIs and 7 resource registrations
- Update resources.test.ts with tests for new resources
- Update docs/ql-mcp/resources.md and server/README.md
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
* Fix tool name inconsistency: use codeql_generate_log-summary (with hyphen)
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
Migrate language-specific MCP resources
Address review feedback: rename files to match endpoint paths, split query-basics into learning and server resources, update docs to point to authoritative sources
- Rename getting-started.md → server-overview.md to match codeql://server/overview
- Rename query-basics.md → learning-query-basics.md for codeql://learning/query-basics
- Create server-queries.md for codeql://server/queries (PrintAST, PrintCFG, CallGraphFrom, CallGraphTo overview)
- Update docs/ql-mcp/tools.md to point to server-tools.md as authoritative source
- Update docs/ql-mcp/prompts.md to point to server-prompts.md as authoritative source
- Update resources.ts, codeql-resources.ts, tests, cross-references, and docs for 8 total resources
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
* Address latest PR review comments
* Update docs to fix/remove tool counts
* Remove qlt refs, broken cli links, fix deprecated API names, fix import order, fix java_ast and README
- Remove qlt and broken ../resources/cli/ links from javascript, csharp, python security guides
- Replace CLI References sections with MCP tool name references
- Fix isAdditionalTaintStep → isAdditionalFlowStep in csharp guide (v2 API)
- Fix alphabetical import order in resources.ts
- Fix incomplete Example AST Hierarchy in java_ast.md with actual hierarchy
- Remove ql from README language AST references list
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
* Cleanup language-specific security query guides
* Migrate .github/skills/** as MCP server resources (#116)
This commit migrates the ".github/skills/**" content for agent skills
that are not specific to this repository. Converts, consolidates, and
migrates such skills as refactored MCP server resources.
* Address latest PR review comments
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
Co-authored-by: Nathan Randall <data-douser@github.com>1 parent e670c91 commit bb2cc42
File tree
60 files changed
+5317
-8676
lines changed- .github
- instructions
- skills
- create-codeql-query-tdd-generic
- create-codeql-query-unit-test-cpp
- create-codeql-query-unit-test-csharp
- create-codeql-query-unit-test-javascript
- create-codeql-query-unit-test-java
- create-codeql-query-unit-test-python
- create-codeql-query-unit-test-swift
- improve-codeql-query-detection-cpp
- update-codeql-query-dataflow-cpp
- update-codeql-query-dataflow-csharp
- update-codeql-query-dataflow-go
- update-codeql-query-dataflow-javascript
- update-codeql-query-dataflow-java
- update-codeql-query-dataflow-python
- update-codeql-query-dataflow-ruby
- update-codeql-query-dataflow-swift
- docs/ql-mcp
- extensions/vscode
- test/suite
- server
- dist
- src
- lib
- resources
- languages
- tools
- types
- test/src
- lib
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
60 files changed
+5317
-8676
lines changedLines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
This file was deleted.
Lines changed: 0 additions & 62 deletions
This file was deleted.
0 commit comments