@weavetab/skills 2.5.0 → 2.5.2

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.
Files changed (63) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +108 -108
  3. package/ROUTER.md +43 -43
  4. package/bin/cli.js +232 -232
  5. package/browser/dom-strategy.md +121 -119
  6. package/browser/form-automation.md +84 -87
  7. package/browser/interaction-pipeline.md +242 -216
  8. package/browser/tab-and-window.md +136 -136
  9. package/desktop/desktop-targeting.md +85 -85
  10. package/desktop/electron-discovery.md +115 -115
  11. package/developer/github-forensics.md +89 -74
  12. package/dist/bundled/weavetab-all.md +1885 -1709
  13. package/dist/bundled/weavetab-browser.md +526 -501
  14. package/dist/bundled/weavetab-desktop.md +176 -176
  15. package/dist/bundled/weavetab-developer.md +84 -67
  16. package/dist/bundled/weavetab-documents.md +184 -142
  17. package/dist/bundled/weavetab-memory.md +259 -233
  18. package/dist/bundled/weavetab-network-and-perf.md +250 -223
  19. package/dist/bundled/weavetab-plugins.md +88 -83
  20. package/dist/bundled/weavetab-resilience.md +244 -216
  21. package/dist/bundled/weavetab-security.md +93 -87
  22. package/dist/granular/browser_dom-strategy.md +121 -119
  23. package/dist/granular/browser_form-automation.md +84 -87
  24. package/dist/granular/browser_interaction-pipeline.md +242 -216
  25. package/dist/granular/browser_tab-and-window.md +136 -136
  26. package/dist/granular/desktop_desktop-targeting.md +85 -85
  27. package/dist/granular/desktop_electron-discovery.md +115 -115
  28. package/dist/granular/developer_github-forensics.md +89 -74
  29. package/dist/granular/documents_canvas-and-visual-capture.md +117 -103
  30. package/dist/granular/documents_office-document-ingestion.md +91 -63
  31. package/dist/granular/memory_selector-memory-system.md +127 -127
  32. package/dist/granular/memory_session-trail.md +111 -95
  33. package/dist/granular/memory_site-learning.md +62 -53
  34. package/dist/granular/network-and-perf_device-and-environment.md +100 -87
  35. package/dist/granular/network-and-perf_network-intercept-and-mock.md +97 -84
  36. package/dist/granular/network-and-perf_performance-and-vitals.md +86 -84
  37. package/dist/granular/plugins_hooks-and-overrides.md +40 -35
  38. package/dist/granular/plugins_plugin-runtime.md +63 -63
  39. package/dist/granular/resilience_loop-breaker.md +72 -67
  40. package/dist/granular/resilience_session-time-travel.md +146 -131
  41. package/dist/granular/resilience_stale-ref-recovery.md +61 -53
  42. package/dist/granular/security_rbac-and-policies.md +50 -47
  43. package/dist/granular/security_secret-containment-protocol.md +62 -59
  44. package/documents/canvas-and-visual-capture.md +117 -103
  45. package/documents/office-document-ingestion.md +91 -63
  46. package/evals/evaluator.js +146 -146
  47. package/evals/scenarios.json +239 -239
  48. package/memory/selector-memory-system.md +127 -127
  49. package/memory/session-trail.md +111 -95
  50. package/memory/site-learning.md +61 -52
  51. package/network-and-perf/device-and-environment.md +100 -87
  52. package/network-and-perf/network-intercept-and-mock.md +97 -84
  53. package/network-and-perf/performance-and-vitals.md +86 -84
  54. package/package.json +74 -73
  55. package/plugins/hooks-and-overrides.md +40 -35
  56. package/plugins/plugin-runtime.md +63 -63
  57. package/resilience/loop-breaker.md +72 -67
  58. package/resilience/session-time-travel.md +146 -131
  59. package/resilience/stale-ref-recovery.md +61 -53
  60. package/security/rbac-and-policies.md +50 -47
  61. package/security/secret-containment-protocol.md +62 -59
  62. package/skills.json +425 -426
  63. package/src/api.js +239 -239
@@ -1,74 +1,89 @@
1
- ---
2
- id: github-forensics
3
- domain: developer
4
- triggers:
5
- - "analyze github"
6
- - "read repository"
7
- - "check pull request"
8
- - "github issues"
9
- - "inspect repo"
10
- tools:
11
- - "browser_github"
12
- weavetab: ">=2.5.0"
13
- ---
14
-
15
- # GitHub Forensics & Repository Architecture Inspection
16
-
17
- Navigating GitHub repositories via web browsing burns massive token budgets loading HTML chrome, comment threads, and diff trees. Weavetab includes a dedicated `browser_github` tool that interacts directly with git metadata and raw endpoints.
18
-
19
- ---
20
-
21
- ## 1. High-Level Repository Analysis (action: "analyze")
22
-
23
- Quickly summarize repo structure, languages, dependency graphs, and recent commit frequency:
24
-
25
- ```json
26
- {
27
- "action": "analyze",
28
- "repo": "Weavetab/MCP"
29
- }
30
- ```
31
-
32
- ---
33
-
34
- ## 2. Reading Repository Source Files (action: "read")
35
-
36
- Directly stream files and directories from any public or authenticated GitHub repo without cloning or burning API rate limits:
37
-
38
- ```json
39
- {
40
- "action": "read",
41
- "repo": "Weavetab/MCP",
42
- "paths": ["src/server.ts"],
43
- "line_range": [1, 200]
44
- }
45
- ```
46
-
47
- ---
48
-
49
- ## 3. Pull Request Forensics (action: "pr")
50
-
51
- Retrieve PR diffs, changed files, review comments, CI checks, and mergeability status:
52
-
53
- ```json
54
- {
55
- "action": "pr",
56
- "repo": "Weavetab/MCP",
57
- "number": 42
58
- }
59
- ```
60
-
61
- ---
62
-
63
- ## 4. Issue Triage & Search (action: "issues")
64
-
65
- Query repository issue trackers with state, label, and keyword filters:
66
-
67
- ```json
68
- {
69
- "action": "issues",
70
- "repo": "Weavetab/MCP",
71
- "state": "open",
72
- "labels": ["bug", "priority"]
73
- }
74
- ```
1
+ ---
2
+ id: github-forensics
3
+ domain: developer
4
+ triggers:
5
+ - "analyze github"
6
+ - "read repository"
7
+ - "check pull request"
8
+ - "github issues"
9
+ - "inspect repo"
10
+ weavetab: ">=2.5.0"
11
+ ---
12
+
13
+ # GitHub Forensics & Repository Architecture Inspection
14
+
15
+ Navigating GitHub repositories via web browsing burns massive token budgets loading HTML chrome, comment threads, and diff trees. The official `@weavetab/plugin-github` plugin provides a dedicated `github` tool that talks to the GitHub REST API and raw content endpoints directly — no browser DOM, no cloning.
16
+
17
+ Responses are cached on disk (`~/.weavetab-system/github_cache`) and subject to GitHub's API rate limits.
18
+
19
+ ---
20
+
21
+ ## 1. High-Level Repository Analysis (action: "analyze")
22
+
23
+ Fetches repo metadata, the default branch, a flat recursive file tree, and a README snippet (first 100 lines). Results are cached and reused by `read`:
24
+
25
+ ```json
26
+ {
27
+ "action": "analyze",
28
+ "repo": "Weavetab/MCP"
29
+ }
30
+ ```
31
+
32
+ Returns fields such as `owner`, `repo`, `default_branch`, `description`, `language`, `file_tree` (array of `{path, type, size, sha}`), and `readme_snippet`.
33
+
34
+ If `repo` is omitted, the active tab's repository is used.
35
+
36
+ ---
37
+
38
+ ## 2. Reading Repository Source Files (action: "read")
39
+
40
+ Stream specific files from a public or authenticated repo via `raw.githubusercontent.com`. Requires a prior `analyze` (to cache the default branch and tree), or it will run one automatically:
41
+
42
+ ```json
43
+ {
44
+ "action": "read",
45
+ "repo": "Weavetab/MCP",
46
+ "paths": ["src/server.ts"],
47
+ "line_range": [1, 200]
48
+ }
49
+ ```
50
+
51
+ `paths` is relative to the repo root; `line_range` is an optional `[start, end]` (1-indexed).
52
+
53
+ ---
54
+
55
+ ## 3. Pull Request Forensics (action: "pr")
56
+
57
+ Retrieve PR details, changed files, and review comments:
58
+
59
+ ```json
60
+ {
61
+ "action": "pr",
62
+ "repo": "Weavetab/MCP",
63
+ "number": 42
64
+ }
65
+ ```
66
+
67
+ Passing `number` fetches that PR; omitting it lists recent PRs.
68
+
69
+ ---
70
+
71
+ ## 4. Issue Triage & Search (action: "issues")
72
+
73
+ Query the issue tracker with state, label, keyword, and limit filters:
74
+
75
+ ```json
76
+ {
77
+ "action": "issues",
78
+ "repo": "Weavetab/MCP",
79
+ "state": "open",
80
+ "labels": ["bug"],
81
+ "limit": 5
82
+ }
83
+ ```
84
+
85
+ - **`number`** fetches a single issue plus its comments.
86
+ - **`search`** runs a keyword search across issues.
87
+ - **`state`** (`open`/`closed`/`all`) and **`labels`** filter the listing; `limit` caps results (default 5).
88
+
89
+ > The GitHub **search** API is rate-limited more aggressively than raw/GET reads. `read` and `analyze` file fetches do not consume search-quota calls. If a call fails with a rate-limit message, wait until the reported reset time before retrying.