@ifi/oh-pi-skills 0.3.6 → 0.4.1

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 ADDED
@@ -0,0 +1,39 @@
1
+ # @ifi/oh-pi-skills
2
+
3
+ On-demand skill packs for pi.
4
+
5
+ ## What this package includes
6
+
7
+ This package bundles reusable skills for common workflows, including areas like:
8
+ - web search and fetch
9
+ - debugging
10
+ - git workflow help
11
+ - architecture review
12
+ - frontend design
13
+ - skill authoring
14
+ - planning and refactor support
15
+
16
+ ## Install
17
+
18
+ ```bash
19
+ pi install npm:@ifi/oh-pi-skills
20
+ ```
21
+
22
+ Or install the full bundle:
23
+
24
+ ```bash
25
+ npx @ifi/oh-pi
26
+ ```
27
+
28
+ ## Package layout
29
+
30
+ ```text
31
+ skills/
32
+ ```
33
+
34
+ Each skill lives in its own directory and is designed to be discovered and loaded by pi on demand.
35
+
36
+ ## Use case
37
+
38
+ Install this package when you want first-party reusable workflow guidance available directly inside
39
+ pi conversations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifi/oh-pi-skills",
3
- "version": "0.3.6",
3
+ "version": "0.4.1",
4
4
  "description": "On-demand skill packs for pi: web-search, debug-helper, git-workflow, and more.",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -14,5 +14,14 @@
14
14
  "skills",
15
15
  "README.md"
16
16
  ],
17
- "license": "MIT"
17
+ "license": "MIT",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/ifiokjr/oh-pi.git",
21
+ "directory": "packages/skills"
22
+ },
23
+ "homepage": "https://github.com/ifiokjr/oh-pi/tree/main/packages/skills",
24
+ "bugs": {
25
+ "url": "https://github.com/ifiokjr/oh-pi/issues"
26
+ }
18
27
  }
@@ -45,6 +45,33 @@ chore(scope): maintenance tasks
45
45
  2. Generate PR title and description
46
46
  3. Suggest reviewers based on changed files (`git log --format='%an' -- <files>`)
47
47
 
48
+ ### Non-interactive safety for agent-run Git/GitHub commands
49
+
50
+ When **the agent** runs `git` or `gh`, avoid opening an interactive editor or prompt.
51
+
52
+ - For `git rebase --continue`, do **not** rely on `--no-edit` — `git rebase --continue` does not support it.
53
+ Use one of these instead:
54
+ ```bash
55
+ GIT_EDITOR=true git rebase --continue
56
+ # or
57
+ git -c core.editor=true rebase --continue
58
+ ```
59
+ - For commits, always pass the message on the command line:
60
+ ```bash
61
+ git commit -m "fix(scope): message"
62
+ ```
63
+ - For merges that should reuse the existing message, use:
64
+ ```bash
65
+ git merge --no-edit
66
+ ```
67
+ - For any other git command that could open an editor, set `GIT_EDITOR=true` for that invocation.
68
+ - For GitHub CLI commands, disable terminal prompts and provide all required fields explicitly:
69
+ ```bash
70
+ GH_PROMPT_DISABLED=1 gh pr create --title "..." --body "..."
71
+ GH_PROMPT_DISABLED=1 gh pr merge --squash --delete-branch
72
+ ```
73
+ - Only allow interactive editors/prompts when the user explicitly asks the agent to leave them enabled.
74
+
48
75
  ### Conflict Resolution
49
76
 
50
77
  1. `git diff --name-only --diff-filter=U` — Find conflicted files
@@ -55,3 +82,9 @@ chore(scope): maintenance tasks
55
82
  ### Interactive Rebase
56
83
 
57
84
  Guide through `git rebase -i` for cleaning up history before PR.
85
+
86
+ If the agent is resolving conflicts during a rebase, continue with a non-interactive command such as:
87
+
88
+ ```bash
89
+ GIT_EDITOR=true git rebase --continue
90
+ ```