Skip to content

new skill freecad-scripts#1328

Open
jhauga wants to merge 7 commits intogithub:stagedfrom
jhauga:skill-freecad-scripts
Open

new skill freecad-scripts#1328
jhauga wants to merge 7 commits intogithub:stagedfrom
jhauga:skill-freecad-scripts

Conversation

@jhauga
Copy link
Copy Markdown
Contributor

@jhauga jhauga commented Apr 8, 2026

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

For full test results ctrl + click support-repo.

  • Agent: Local
  • Model: Claude Opus 4.6
  • Number of Prompts: 1
  • Post Edits: none

Prompt

freecad-scripts Write a script to make a 3d printable iPhone case. Use:

- O cut in half
- Rotate where apex is on ground plain
- Add a base
- Add four "L" corners that will hold the phone

The end result should export as an "stl" file. Call it - phoneCase.py
Add how-to directions at the top of the file commented out.

Results

Good. A case that could work for carrying, and desktop use. Results can be viewed in index.html


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Copilot AI review requested due to automatic review settings April 8, 2026 02:18
@jhauga jhauga requested a review from aaronpowell as a code owner April 8, 2026 02:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new freecad-scripts skill to the skills catalog, providing structured guidance and reference material for generating FreeCAD Python scripts/macros and related automation tasks.

Changes:

  • Added a new skills/freecad-scripts skill with a comprehensive SKILL.md.
  • Added topic-organized reference docs under skills/freecad-scripts/references/.
  • Registered the new skill in docs/README.skills.md.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
skills/freecad-scripts/SKILL.md Introduces the new skill definition and primary guidance/examples for FreeCAD Python scripting.
skills/freecad-scripts/references/scripting-fundamentals.md Reference notes for document model, selection, console, units, and properties.
skills/freecad-scripts/references/geometry-and-shapes.md Reference notes for Part/Mesh/Sketcher geometry creation and manipulation.
skills/freecad-scripts/references/parametric-objects.md Reference notes for FeaturePython objects, view providers, properties, and migration patterns.
skills/freecad-scripts/references/gui-and-interface.md Reference notes for GUI commands, task panels, dialogs, and Coin3D/Pivy.
skills/freecad-scripts/references/workbenches-and-advanced.md Reference notes for workbench templates and advanced topics (FEM/Path/recipes).
docs/README.skills.md Adds freecad-scripts to the skills index with its reference files.

@jhauga jhauga marked this pull request as draft April 8, 2026 02:28
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🔍 Skill Validator Results

2 resource(s) checked | ✅ All checks passed

Full output
Found 1 skill(s)
[freecad-scripts] 📊 freecad-scripts: 5,659 BPE tokens [chars/4: 5,330] (comprehensive ✗), 92 sections, 19 code blocks
�[31m❌ [freecad-scripts] SKILL.md body is 685 lines — maximum is 500. Move detailed reference material to separate files.�[0m
[freecad-scripts]    ⚠  Skill is 5,659 BPE tokens (chars/4 estimate: 5,330) — "comprehensive" skills hurt performance by 2.9pp on average. Consider splitting into 2–3 focused skills.
{Ansi.Red}Skill spec conformance failures — fix the errors above.{Ansi.Reset}

Note: Errors were found. These are currently reported as warnings and do not block merge. Please review and address when possible.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.

jhauga and others added 2 commits April 7, 2026 23:02
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jhauga jhauga marked this pull request as ready for review April 8, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants