@docyrus/docyrus 0.0.40 → 0.0.42
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.
- package/README.md +7 -0
- package/main.js +3708 -1173
- package/main.js.map +4 -4
- package/package.json +8 -7
- package/resources/pi-agent/extensions/control.ts +0 -8
- package/resources/pi-agent/extensions/knowledge.ts +0 -7
- package/resources/pi-agent/extensions/loop.ts +1 -5
- package/resources/pi-agent/extensions/pi-bash-live-view/package.json +1 -1
- package/resources/pi-agent/extensions/pi-custom-compaction/events/register-events.ts +0 -10
- package/resources/pi-agent/extensions/pi-custom-compaction/package.json +4 -4
- package/resources/pi-agent/extensions/plan.ts +95 -4
- package/resources/pi-agent/extensions/prompt-editor.ts +0 -18
- package/resources/pi-agent/extensions/prompt-url-widget.ts +0 -4
- package/resources/pi-agent/extensions/review.ts +0 -4
- package/resources/pi-agent/extensions/tasks.ts +497 -0
- package/resources/pi-agent/extensions/todos.ts +102 -2
- package/resources/pi-agent/skills/agent-browser/SKILL.md +779 -0
- package/resources/pi-agent/skills/agent-browser/references/authentication.md +303 -0
- package/resources/pi-agent/skills/agent-browser/references/commands.md +295 -0
- package/resources/pi-agent/skills/agent-browser/references/profiling.md +120 -0
- package/resources/pi-agent/skills/agent-browser/references/proxy-support.md +194 -0
- package/resources/pi-agent/skills/agent-browser/references/session-management.md +193 -0
- package/resources/pi-agent/skills/agent-browser/references/snapshot-refs.md +219 -0
- package/resources/pi-agent/skills/agent-browser/references/video-recording.md +173 -0
- package/resources/pi-agent/skills/agent-browser/templates/authenticated-session.sh +105 -0
- package/resources/pi-agent/skills/agent-browser/templates/capture-workflow.sh +69 -0
- package/resources/pi-agent/skills/agent-browser/templates/form-automation.sh +62 -0
- package/resources/pi-agent/skills/docyrus-platform/references/docyrus-cli-usage.md +73 -0
- package/resources/pi-agent/skills/grill-me/SKILL.md +109 -0
- package/server-loader.js +24270 -3381
- package/server-loader.js.map +4 -4
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: grill-me
|
|
3
|
+
description: >
|
|
4
|
+
Interview the user relentlessly about a plan, architecture, or data model design until reaching shared understanding, resolving each branch of the decision tree. Use when the user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
|
|
5
|
+
|
|
6
|
+
**Triggers — use this skill when:**
|
|
7
|
+
- User says "grill me", "stress test this", "challenge my design"
|
|
8
|
+
- User asks to "poke holes", "find gaps", "review my thinking"
|
|
9
|
+
- User wants to validate a plan before implementing
|
|
10
|
+
- User says "interview me about this", "question my decisions"
|
|
11
|
+
- Used after `/architect` or `/plan` when the user wants to pressure-test the output
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Grill Me
|
|
15
|
+
|
|
16
|
+
Interview the user relentlessly about every aspect of their plan until reaching a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one by one.
|
|
17
|
+
|
|
18
|
+
## How It Works
|
|
19
|
+
|
|
20
|
+
Ask questions **one at a time**. For each question, provide your recommended answer based on what you know about the codebase and the Docyrus platform.
|
|
21
|
+
|
|
22
|
+
If a question can be answered by exploring the codebase or the discovery snapshot, explore it yourself instead of asking.
|
|
23
|
+
|
|
24
|
+
## Question Domains
|
|
25
|
+
|
|
26
|
+
Work through these domains systematically, but adapt the order based on what matters most for the specific plan:
|
|
27
|
+
|
|
28
|
+
### Data Model
|
|
29
|
+
|
|
30
|
+
- Why this data source and not an extension of an existing one?
|
|
31
|
+
- What is the expected record volume? Does the schema hold up at 10x scale?
|
|
32
|
+
- Are there fields that should be computed (formulas) instead of stored?
|
|
33
|
+
- Could any proposed data source be replaced by a custom query instead?
|
|
34
|
+
- Are slug and naming choices consistent with existing tenant conventions?
|
|
35
|
+
|
|
36
|
+
### Field Design
|
|
37
|
+
|
|
38
|
+
- Is this the right field type? (e.g., `field-select` vs `field-radioGroup`, `field-text` vs `field-richText`)
|
|
39
|
+
- Should this field be required, optional, or have a default value?
|
|
40
|
+
- Are validation rules sufficient? Too strict? Missing edge cases?
|
|
41
|
+
- For relation fields: is the cardinality correct? Should it be bidirectional?
|
|
42
|
+
- Are there fields that will rarely be used and could be deferred?
|
|
43
|
+
|
|
44
|
+
### Enumerations
|
|
45
|
+
|
|
46
|
+
- Are enum options exhaustive? What happens when a new option is needed later?
|
|
47
|
+
- Should this be an enum or a separate data source with its own lifecycle?
|
|
48
|
+
- Are enum values and labels clear and consistent?
|
|
49
|
+
- Is the ordering intentional?
|
|
50
|
+
|
|
51
|
+
### Relations and Dependencies
|
|
52
|
+
|
|
53
|
+
- What is the dependency graph between data sources? Are there cycles?
|
|
54
|
+
- What happens when a related record is deleted?
|
|
55
|
+
- Are there implicit relations that should be explicit?
|
|
56
|
+
- Does the creation order in the apply plan respect all dependencies?
|
|
57
|
+
|
|
58
|
+
### Access Control and Security
|
|
59
|
+
|
|
60
|
+
- Who should be able to read/write/delete these records?
|
|
61
|
+
- Are there tenant-level vs app-level permission considerations?
|
|
62
|
+
- Should any fields be hidden or read-only for certain roles?
|
|
63
|
+
|
|
64
|
+
### Edge Cases and Failure Modes
|
|
65
|
+
|
|
66
|
+
- What happens with empty states? First record ever created?
|
|
67
|
+
- What if the user enters unexpected data?
|
|
68
|
+
- Are there race conditions in concurrent record creation?
|
|
69
|
+
- What if a bulk import has partial failures?
|
|
70
|
+
|
|
71
|
+
### Implementation Feasibility
|
|
72
|
+
|
|
73
|
+
- Can this be built with existing Docyrus field types, or does it require platform changes?
|
|
74
|
+
- Are there known limitations in the current API that affect this design?
|
|
75
|
+
- Is the proposed migration path realistic?
|
|
76
|
+
|
|
77
|
+
## Interview Protocol
|
|
78
|
+
|
|
79
|
+
1. Start by reading the plan or architecture artifacts (PLAN.md, DATA_SOURCES.md, discovery snapshot, or whatever is available).
|
|
80
|
+
2. Identify the most critical or uncertain decision in the plan.
|
|
81
|
+
3. Ask one focused question about it, with your recommended answer.
|
|
82
|
+
4. Based on the user's response, either drill deeper into that branch or move to the next decision.
|
|
83
|
+
5. Track resolved decisions and open questions as you go.
|
|
84
|
+
6. When all major branches are resolved, summarize the final shared understanding.
|
|
85
|
+
|
|
86
|
+
## Output on Completion
|
|
87
|
+
|
|
88
|
+
When the interview is complete, produce a summary:
|
|
89
|
+
|
|
90
|
+
```markdown
|
|
91
|
+
## Resolved Decisions
|
|
92
|
+
|
|
93
|
+
- [Decision 1]: [Resolution]
|
|
94
|
+
- [Decision 2]: [Resolution]
|
|
95
|
+
...
|
|
96
|
+
|
|
97
|
+
## Changes to the Plan
|
|
98
|
+
|
|
99
|
+
- [Change 1]
|
|
100
|
+
- [Change 2]
|
|
101
|
+
...
|
|
102
|
+
|
|
103
|
+
## Remaining Open Questions
|
|
104
|
+
|
|
105
|
+
- [Question 1]
|
|
106
|
+
...
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
If the plan artifacts exist on disk (PLAN.md, data-sources.plan.json), offer to update them with the resolved decisions.
|