Λογότυπο Oss Submit Pr

Oss Submit Pr

Κοινότητα
chiruu12
oss-submit-pr

Submit a pull request following the repo's contribution guidelines. Reviews the diff, checks for common rejection reasons, and helps the user write their own PR description. The LLM reviews. the user writes. Use when implementation is complete and tests pass. Not for responding to review comments after the PR is open. Use oss-post-pr for that.

Επισκόπηση

Εκδότηςchiruu12
ΑποθετήριοOSS-Skills
Όνομα δεξιότηταςoss-submit-pr
Αστέρια
62
Διακλαδώσεις
6
Συνοδευτικά αρχεία
Μόνο οδηγίες
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό chiruu12. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Oss Submit Pr στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/chiruu12/OSS-Skills/tree/main/skills/oss-submit-pr
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chiruu12/OSS-Skills.git /tmp/OSS-Skills
mkdir -p .claude/skills
cp -r /tmp/OSS-Skills/skills/oss-submit-pr .claude/skills/oss-submit-pr
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Oss Submit Pr σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Oss Submit Pr μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Oss Submit Pr δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Submit PR

Get your PR right the first time. This skill checks your work against the repo's rules, catches common rejection reasons, and helps you write a PR description that maintainers actually want to read. You write the description. the LLM reviews it.

Purpose

A clean PR gets reviewed and merged. A sloppy PR gets ignored or closed. Most new contributors get rejected not because their code is bad, but because they didn't follow the process. wrong branch, missing tests, unclear description, scope creep. This skill catches all of that before you hit submit.

Prerequisites

  • Implementation complete (from oss-contribute)
  • Tests pass locally
  • Lint/formatting passes locally
  • User can explain what they changed and why (verified in oss-contribute step 6)

Process

1. Re-read contribution requirements

Even if oss-prep-to-contribute already read these, read them again. specifically for PR submission rules:

bash
# Fetch latest CONTRIBUTING.md
gh api repos/{owner}/{repo}/contents/CONTRIBUTING.md --jq '.content' | base64 -d 2>/dev/null

# Check for PR template - all standard locations
for path in \
  ".github/PULL_REQUEST_TEMPLATE.md" \
  ".github/pull_request_template.md" \
  "PULL_REQUEST_TEMPLATE.md" \
  "pull_request_template.md" \
  "docs/PULL_REQUEST_TEMPLATE.md" \
  "docs/pull_request_template.md"; do
  if content=$(gh api "repos/{owner}/{repo}/contents/$path" --jq '.content' 2>/dev/null); then
    printf '%s' "$content" | base64 -d 2>/dev/null
    break
  fi
done

# Check for multiple PR templates (directory-based)
gh api "repos/{owner}/{repo}/contents/.github/PULL_REQUEST_TEMPLATE" \
  --jq '.[] | .name' 2>/dev/null

If a single template is found: use it. The PR description must follow its structure exactly.

If a template directory exists with multiple templates: present each template name to the user and ask which one matches their contribution type (bug fix, feature, docs, etc.). Fetch the selected template and use it.

If no template is found: no template required. follow the general PR description guidance below.

Extract PR-specific requirements:

  • PR template (must follow if present. check ALL locations above)
  • Branch naming convention
  • Commit message format (conventional commits? sign-off required? DCO?)
  • Squash policy (squash before merge? maintainer squashes?)
  • Linked issue format ("Fixes #123" vs "Closes #123" vs "Resolves #123")
  • Required reviewers or labels
  • CI checks that must pass

2. Find the gates that are not in the docs

CONTRIBUTING.md describes the rules a human will judge the PR by. The rules a bot enforces live in .github/workflows/, and they fail a PR that is otherwise fine, often with an error that does not say what it wants.

bash
# Scan every workflow for the gates below in one pass
for f in $(gh api repos/{owner}/{repo}/contents/.github/workflows \
             --jq '.[] | select(.type == "file") | .name
                   | select(test("\\.ya?ml$"))'); do
  hits=$(gh api "repos/{owner}/{repo}/contents/.github/workflows/$f" --jq '.content' \
         | base64 -d 2>/dev/null \
         | grep -oiE 'semantic-pull-request|semantic-pr|issue-link|signed-off-by|[-/]dco|cla-assistant|contributor-assistant|towncrier|changeset|commitlint' \
         | sort -u | tr '\n' ' ')
  [ -n "$hits" ] && echo "$f: $hits"
done

# Then read any workflow that matched, to see what it actually requires
gh api repos/{owner}/{repo}/contents/.github/workflows/{file} --jq '.content' | base64 -d

A hit is a lead, not a verdict. Read the workflow it names and find the condition it fails on.

Each of these rejects a correct patch, so find them before writing anything:

GateWhat it demandsWhat to grep the workflows for
Semantic PR titleTitle shaped fix: ... or feat: ...semantic-pull-request, semantic-pr
Linked issueThe body must reference an issueissue-link, a step named like "Validate PR to Issue link"
DCOEvery commit carries Signed-off-bydco, signed-off-by
CLAAn agreement signed before reviewcla-assistant, contributor-assistant
Changelog entryA news fragment or CHANGELOG edittowncrier, changeset, changelog
Commit lintCommit messages match a conventioncommitlint, conventional
Branch namingThe branch matches a patterna step reading github.head_ref

Branch protection adds requirements that no file in the repo mentions:

bash
gh api repos/{owner}/{repo}/rulesets --jq '.[] | "\(.name)\t\(.target)"' 2>/dev/null

Tell the user what each gate requires before they write a line of code. A DCO gate means git commit -s from the first commit. Finding out afterwards means rewriting every commit on the branch. A changelog gate means an extra file that reviewers will ask for anyway.

3. Pre-flight checks

Run every check the CI will run. locally, before pushing:

bash
# Rebase on latest upstream
git fetch upstream
git rebase upstream/main

# Run tests
# {repo-specific test command}

# Run linting/formatting
# {repo-specific lint command}

# Check the diff is focused
git diff upstream/main...HEAD --stat

Re-check that the issue is still the user's. Implementation takes days, and a claim made on Monday can be overtaken by Thursday. Before pushing anything, run the same checks oss-find-issue step 5 runs:

bash
gh issue view {number} -R {owner}/{repo} --json state,assignees,labels,comments

gh api repos/{owner}/{repo}/issues/{number}/timeline --paginate \
  --jq '.[] | select(.event == "cross-referenced") | .source.issue
        | select(.pull_request != null)
        | "\(.state)\t\(.repository.full_name)#\(.number)\t\(.user.login)"'

If somebody else opened a PR for this issue while the user was working, stop. Do not open a competing PR. Say so in a comment, offer to review theirs, and move on to the next issue. Losing a few days of work is cheaper than the reputation of someone who races other contributors.

4. Review the diff

Go through the entire diff and flag issues:

bash
git diff upstream/main...HEAD

Check for:

CheckWhat to look for
Scope creepChanges to files unrelated to the issue
Debug leftoversconsole.log, print(), debugger, TODO comments
Style driftNaming that doesn't match repo conventions
Missing testsCode changes without corresponding test changes
Commented-out codeDead code that shouldn't be committed
Unrelated formattingWhitespace-only changes to lines you didn't modify
Hardcoded valuesMagic numbers, hardcoded strings that should be constants
Error handlingNew code paths without error handling (if repo expects it)

For each issue found, present it to the user with the exact location:

"Found a potential issue at src/foo.ts:42: you left a console.log from debugging. Remove it before submitting."

Don't auto-fix. Tell the user what and where.

5. Verify commit conventions

bash
# Check commit messages against repo conventions
git log upstream/main..HEAD --oneline

If the repo uses conventional commits and the user's messages don't conform, explain the format and ask them to amend. If sign-off is required:

bash
# Check for sign-off
git log upstream/main..HEAD --format='%B' | grep -c 'Signed-off-by'

6. Thinking gate: user writes the PR description

The user writes the PR description, not the LLM.

Tell the user:

"Write your PR description. Start with one sentence: what does this PR do?

Then add:

  1. Link to the issue ('Fixes #{number}')
  2. Why this approach. remember the trade-offs from /oss-contribute? Mention the key one
  3. How you tested it. what did you run, what passed?

Keep it short. If the repo has a PR template, follow it. Write in your own words. I'll review it after."

Wait for the user to write it.

7. Review the PR description

Once the user has written their description, review it for conciseness and clarity:

  • Does it link the issue? ("Fixes #{number}")
  • Does it follow the repo's PR template structure? (If a template was found in step 1, every section from the template must be addressed)
  • Is it short and direct? Maintainers review dozens of PRs. they skim
  • Does it explain non-obvious decisions without over-explaining obvious ones?
  • Does it mention how the change was tested?

Writing rules for PR descriptions:

  • Lead with what changed, not why you're writing
  • One sentence per point. No paragraphs where a bullet works
  • No filler: "This PR addresses the issue where..." → "Fixes null check in auth handler"
  • No AI jargon: "comprehensive", "robust", "leverages", "utilizing". Cut all of it
  • No self-narration: "I noticed that..." / "After investigating...". Just state the facts
  • Technical terms are fine. Buzzwords are not
  • If the PR template asks for something, answer it. Don't add extra sections

Give specific feedback:

"Your description is good, but trim the first paragraph. the reviewer doesn't need the backstory. Lead with what changed."

Don't rewrite it. give feedback and let the user revise.

8. Submit

Once the description passes review:

bash
# Push the branch
git push origin {branch-name}

# Create the PR
gh pr create \
  --repo {owner}/{repo} \
  --title "{title following repo convention}" \
  --body "$(cat <<'EOF'
{user's PR description}
EOF
)"

9. Post-submission verification

bash
# Check CI status
gh pr checks {pr-number} -R {owner}/{repo} --watch

If CI fails:

  • Explain WHAT failed (test name, lint rule, build error)
  • Point to the relevant code
  • Don't fix it. tell the user what needs to change

Common rejection reasons (educate the user)

Present these before submission as a final checklist:

  1. Scope creep: PR touches files unrelated to the issue
  2. No tests: code changes without test changes in a repo that expects tests
  3. CI failure: tests or lint fail (never submit with red CI)
  4. Poor description: maintainer can't understand what the PR does from the description alone
  5. Wrong base branch: PR targets wrong branch (check repo conventions)
  6. Style violations: code doesn't match repo's formatting/naming conventions
  7. Breaking changes without discussion: changes public API without prior maintainer approval

Related Skills

  • Previous step: ← oss-contribute: the implementation work
  • Next step: → oss-post-pr: handle review feedback after submission
  • If CI fails: Fix locally and push again (don't invoke another skill, just fix and push)

Common Rationalizations

ShortcutWhy It Fails
"CI will catch any issues, I don't need to run checks locally"CI failures are public. Every maintainer sees your red check. Running locally first is basic professionalism. and saves a round-trip of push-wait-fix-push.
"The code speaks for itself, I don't need a detailed description"Maintainers review 10+ PRs a week. They skim descriptions first to decide priority. No description = no context = bottom of the queue.
"Let me just submit and iterate based on feedback"First impressions matter. A sloppy first submission signals carelessness. Maintainers are less likely to invest review time in a PR that wasn't polished before submission.
"I'll write the description later, let me just get the PR up"The description IS the PR for the reviewer. They read it before the code. A PR without a description is a PR without context. it gets deprioritized or closed.
"The diff is small, I don't need to review it"Small diffs still contain debug leftovers, commented-out code, unrelated formatting changes. A 5-line diff with a console.log gets the same rejection as a 500-line mess.

Red Flags

  • Diff touches files unrelated to the issue. scope creep that will trigger reviewer questions
  • PR description is longer than 3 paragraphs. over-explaining signals uncertainty about the approach
  • User can't summarize what the PR does in one sentence. the change isn't focused enough
  • CI has been failing for multiple pushes. stop pushing and debug locally

Verification Checklist

  • Workflow gates identified (semantic title, DCO, linked issue, changelog) (step 2)
  • Issue re-checked: still open, still unassigned, no competing PR opened while the user was implementing (step 3)
  • All local tests pass (including new tests)
  • Lint/formatting passes locally
  • Diff only touches files relevant to the issue (no scope creep)
  • No debug leftovers (console.log, print, debugger, TODO)
  • Commit messages follow repo convention
  • PR description links the issue (Fixes #{number})
  • PR description follows repo template (if one exists)
  • PR description written by user, reviewed by LLM
  • CI passes after submission

Anti-patterns

  • DO NOT write the PR description for the user. review and give feedback on theirs
  • DO NOT auto-fix diff issues. tell the user what and where, they fix it
  • DO NOT open a PR against an issue somebody else claimed while the user was working. stand down and take the next one
  • DO NOT submit with failing CI. ever
  • DO NOT skip the pre-flight checks. "it works on my machine" is not enough
  • DO NOT include "AI-generated" boilerplate in the PR unless the repo's CODE_OF_CONDUCT requires disclosure

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Oss Submit Pr;

Submit a pull request following the repo's contribution guidelines. Reviews the diff, checks for common rejection reasons, and helps the user write their own PR description. The LLM reviews. the user writes. Use when implementation is complete and tests pass. Not for responding to review comments after the PR is open. Use oss-post-pr for that.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Oss Submit Pr στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Oss Submit Pr είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Oss Submit Pr στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/chiruu12/OSS-Skills/tree/main/skills/oss-submit-pr. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Oss Submit Pr;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Oss Submit Pr;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Oss Submit Pr με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Oss Submit Pr;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό chiruu12 με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇