@mohammadhprp/system-prompt 0.12.4 → 0.12.6
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/framework/commands/README.md +2 -6
- package/framework/commands/audit-your-codebase.md +47 -0
- package/framework/commands/explain-codebase.md +101 -0
- package/framework/commands/learn.md +1 -1
- package/framework/plugins/ponytail/README.md +1 -1
- package/framework/plugins/ponytail/capabilities.md +1 -1
- package/framework/references/standards/pull-requests.md +1 -1
- package/framework/skills/README.md +1 -0
- package/framework/skills/adhd/SKILL.md +141 -0
- package/framework/skills/adhd/examples.md +77 -0
- package/framework/skills/gh/SKILL.md +157 -0
- package/framework/skills/gh/examples.md +10 -0
- package/framework/skills/ponytail/SKILL.md +145 -0
- package/framework/skills/ponytail/references/ponytail-audit.md +18 -0
- package/framework/skills/ponytail/references/ponytail-debt.md +21 -0
- package/framework/skills/ponytail/references/ponytail-gain.md +25 -0
- package/framework/skills/ponytail/references/ponytail-help.md +18 -0
- package/framework/skills/ponytail/references/ponytail-mode.md +33 -0
- package/framework/skills/ponytail/references/ponytail-review.md +27 -0
- package/framework/skills/ponytail/references/ponytail-rules.md +31 -0
- package/framework/skills/ponytail/references/principle-boundary-discipline.md +7 -0
- package/framework/skills/ponytail/references/principle-encode-lessons-in-structure.md +13 -0
- package/framework/skills/ponytail/references/principle-fix-root-causes.md +17 -0
- package/framework/skills/ponytail/references/principle-make-operations-idempotent.md +12 -0
- package/framework/skills/ponytail/references/principle-model-the-domain.md +7 -0
- package/framework/skills/ponytail/references/principle-prove-it-works.md +27 -0
- package/framework/skills/ponytail/references/principle-sequence-verifiable-units.md +7 -0
- package/framework/skills/review/SKILL.md +106 -11
- package/framework/skills/review/examples.md +4 -3
- package/framework/skills/review/scripts/render_review.py +95 -0
- package/framework/skills/review/scripts/resolve_spec_context.py +723 -0
- package/framework/skills/review/scripts/validate_review_json.py +348 -0
- package/framework/skills/unslop/SKILL.md +34 -3
- package/framework/skills/unslop/examples.md +2 -0
- package/framework/skills/unslop/references/eval.md +44 -0
- package/package.json +1 -1
- package/src/catalog.js +6 -7
- package/framework/commands/changelog.md +0 -44
- package/framework/commands/commit.md +0 -28
- package/framework/commands/mr.md +0 -45
- package/framework/commands/pr.md +0 -39
- package/framework/commands/release.md +0 -34
- package/framework/commands/review.md +0 -24
package/framework/commands/pr.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create a GitHub PR for the current branch
|
|
3
|
-
agent: build
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
PR $ARGUMENTS
|
|
7
|
-
|
|
8
|
-
Create or update a pull request for the current branch using `gh` cli.
|
|
9
|
-
|
|
10
|
-
## Process
|
|
11
|
-
|
|
12
|
-
1. **Collect information**
|
|
13
|
-
- Get current branch name: `git branch --show-current`
|
|
14
|
-
- Read PR template from `.github/pull_request_template.md` of exsits
|
|
15
|
-
|
|
16
|
-
2. **Format PR title**
|
|
17
|
-
- Take the branch name, replace all `-` with spaces, capitalize first character
|
|
18
|
-
|
|
19
|
-
3. **Collect commits and build summary**
|
|
20
|
-
- List commits on the branch that are not on `dev`: `git log dev..HEAD --oneline`
|
|
21
|
-
- Read each commit message, convert to a bullet list summarizing user-facing changes
|
|
22
|
-
- Merge/squash related commits (e.g. multiple commits for the same change)
|
|
23
|
-
- Keep concise, one bullet per logical change
|
|
24
|
-
|
|
25
|
-
4. **Fill template**
|
|
26
|
-
- Set Summary to the bullet list from step 3
|
|
27
|
-
- Keep the Checklist section as-is
|
|
28
|
-
|
|
29
|
-
5. **Present plan and confirm** - Show:
|
|
30
|
-
- Source branch
|
|
31
|
-
- Target branch: `develop`
|
|
32
|
-
- Title
|
|
33
|
-
- Filled description
|
|
34
|
-
- Ask: "Shall I create this PR?"
|
|
35
|
-
- Push the changes if user says Yes
|
|
36
|
-
|
|
37
|
-
6. **Create upon confirmation** - Use `gh` cli:
|
|
38
|
-
- `gh pr create --title "<title>" --body "<body>" --base <target>`
|
|
39
|
-
- Show the resulting URL.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Create a release by tagging the current state, generating changelog, and bumping version
|
|
3
|
-
agent: build
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Release $ARGUMENTS
|
|
7
|
-
|
|
8
|
-
Create a release from the current branch state.
|
|
9
|
-
|
|
10
|
-
## Process
|
|
11
|
-
|
|
12
|
-
1. **Review recent commits** - Run `git fetch --tags`, `git describe --tags --abbrev=0` to find the latest tag. Run `git log <latest-tag>..HEAD --oneline --format="%s"` to collect all conventional commits since the last release. Read any existing `CHANGELOG.md`.
|
|
13
|
-
|
|
14
|
-
2. **Categorize commits** - Group commits by conventional commit type:
|
|
15
|
-
- `feat!:` or `BREAKING CHANGE:` → breaking change
|
|
16
|
-
- `feat:` → minor feature
|
|
17
|
-
- `fix:` → patch fix
|
|
18
|
-
- `perf:`, `refactor:`, `test:` → patch (if no features)
|
|
19
|
-
- `chore:`, `docs:`, `ci:` → filtered from changelog
|
|
20
|
-
|
|
21
|
-
3. **Determine next version** - Based on the [`commit.md`](./commit.md) semver convention:
|
|
22
|
-
- Breaking changes → increment major version (e.g., `1.2.3` → `2.0.0`)
|
|
23
|
-
- New features → increment minor version (e.g., `1.2.3` → `1.3.0`)
|
|
24
|
-
- Only fixes/refactors → increment patch version (e.g., `1.2.3` → `1.3.4`)
|
|
25
|
-
- If no previous tag exists, propose `0.1.0`
|
|
26
|
-
|
|
27
|
-
4. **Present release plan** - Show: current version, new version, categorized changelog entries, and ask: "Shall I create this release (tag vX.Y.Z and update CHANGELOG.md)?"
|
|
28
|
-
|
|
29
|
-
5. **Execute on confirmation**:
|
|
30
|
-
- Update `CHANGELOG.md`: create a new `## [vX.Y.Z]` section under `## Unreleased`, move categorized entries (excluding chore/docs/ci) into it, add the release date, keep the `## Unreleased` section empty for future work
|
|
31
|
-
- Run `git add CHANGELOG.md && git commit -m "chore: release vX.Y.Z"`
|
|
32
|
-
- Run `git tag -a vX.Y.Z -m "vX.Y.Z"`
|
|
33
|
-
|
|
34
|
-
6. **Verify** - Run `git log --oneline -n 3` and `git tag --list --sort=-v:refname -n5` to confirm the release tag and commit are in place.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Perform comprehensive code quality review
|
|
3
|
-
agent: plan
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Review $ARGUMENTS
|
|
7
|
-
|
|
8
|
-
Perform comprehensive code quality review.
|
|
9
|
-
|
|
10
|
-
## Process
|
|
11
|
-
|
|
12
|
-
1. **Review conversation and diff** - Read conversation history, run `git diff` for staged/unstaged changes, identify the problem being solved and the behavior being modified. Read related standards: [`references/standards/naming.md`](../references/standards/naming.md), [`references/standards/testing.md`](../references/standards/testing.md), [`references/standards/security.md`](../references/standards/security.md), [`references/standards/performance.md`](../references/standards/performance.md).
|
|
13
|
-
|
|
14
|
-
2. **Check correctness** - Edge cases, concurrency, error handling, state transitions, backward compatibility. Read contracts and interfaces before implementation.
|
|
15
|
-
|
|
16
|
-
3. **Check maintainability** - Naming reflects business meaning, structure matches project conventions, comments explain why not what.
|
|
17
|
-
|
|
18
|
-
4. **Check testing** - Do tests prove the behavior change? Missing edge cases or failure paths? Tests should verify behavior, not mirror implementation.
|
|
19
|
-
|
|
20
|
-
5. **Check performance** - N+1 queries, unbounded loops, unnecessary allocations, caching opportunities.
|
|
21
|
-
|
|
22
|
-
6. **Check security** - Input validation, authentication enforcement, secrets exposure, least privilege.
|
|
23
|
-
|
|
24
|
-
7. **Present findings** - Distinguish blockers from suggestions, explain reasoning for each, summarize overall risk and production readiness.
|