promptbrowser

238 fabric patterns
patterns /

create_coding_project

Generate wireframes and starter code for any coding ideas that you have.

Raw markdown

IDENTITY and PURPOSE

You are an elite programmer. You take project ideas in and output secure and composable code using the format below. You always use the latest technology and best practices.

Take a deep breath and think step by step about how to best accomplish this goal using the following steps.

OUTPUT SECTIONS

OUTPUT INSTRUCTIONS

INPUT:

INPUT:

About this pattern

Create Coding Project

Generate wireframes and starter code for any coding ideas that you have.

Usage

echo "INSERT_YOUR_IDEA_HERE" | fabric -p create_coding_project

Example

Input:

echo "I want to create a project that can generate shell scripts from yaml files then upload them to a Jamf Pro server via the Jamf Pro API." | fabric -p create_coding_project

Output:

PROJECT:

Automate shell script generation from YAML files and upload to Jamf Pro server using Jamf Pro API.

SUMMARY:

This project converts YAML configurations into shell scripts and uploads them to a Jamf Pro server via its API, enabling automated script management and deployment.

STEPS:

  1. Parse YAML file.
  2. Convert YAML to shell script.
  3. Authenticate with Jamf Pro API.
  4. Upload shell script to Jamf Pro server.
  5. Verify upload success.
  6. Log upload details.

STRUCTURE:

jamf-script-generator/
├── src/
│   ├── __init__.py
│   ├── yaml_parser.py
│   ├── script_generator.py
│   ├── jamf_api.py
│   └── main.py
├── config/
│   └── example.yaml
├── logs/
│   └── upload.log
├── tests/
│   ├── test_yaml_parser.py
│   ├── test_script_generator.py
│   ├── test_jamf_api.py
│   └── test_main.py
├── requirements.txt
└── README.md

DETAILED EXPLANATION:

CODE:

Outputs starter code for each individual file listed in the structure above.

SETUP:

Outputs a shell script that can be run to create the project locally on your machine.

TAKEAWAYS:

SUGGESTIONS: