add snippets
This commit is contained in:
parent
a0b0f88a17
commit
52a26a76b5
3 changed files with 65 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,3 +6,5 @@
|
|||
!init.org
|
||||
!README.org
|
||||
!.gitignore
|
||||
!snippets
|
||||
!snippets/**
|
||||
|
|
55
snippets/markdown-mode/specc
Normal file
55
snippets/markdown-mode/specc
Normal file
|
@ -0,0 +1,55 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: specc
|
||||
# key: specc
|
||||
# --
|
||||
# $1 Specification Template
|
||||
> Ingest the information from this file, implement the Low-Level Tasks, and generate the code that will satisfy the High and Mid-Level Objectives.
|
||||
|
||||
## High-Level Objective
|
||||
|
||||
- [High level goal goes here - what do you want to build?]
|
||||
|
||||
## Mid-Level Objectives
|
||||
|
||||
- [List of mid-level objectives - what are the steps to achieve the high-level objective?]
|
||||
- [Each objective should be concrete and measurable]
|
||||
- [But not too detailed - save details for implementation notes]
|
||||
|
||||
## Implementation Notes
|
||||
- [Important technical details - what are the important technical details?]
|
||||
- [Dependencies and requirements - what are the dependencies and requirements?]
|
||||
- [Coding standards to follow - what are the coding standards to follow?]
|
||||
- [Other technical guidance - what are other technical guidance?]
|
||||
|
||||
## Context
|
||||
|
||||
### Beginning context
|
||||
- [List of files that exist at start - what files exist at start?]
|
||||
|
||||
### Ending context
|
||||
- [List of files that will exist at end - what files will exist at end?]
|
||||
|
||||
## Low-Level Tasks
|
||||
> Ordered from start to finish
|
||||
|
||||
1. [First task - what is the first task?]
|
||||
```aider
|
||||
What prompt would you run to complete this task?
|
||||
What file do you want to CREATE or UPDATE?
|
||||
What function do you want to CREATE or UPDATE?
|
||||
What are details you want to add to drive the code changes?
|
||||
```
|
||||
2. [Second task - what is the second task?]
|
||||
```aider
|
||||
What prompt would you run to complete this task?
|
||||
What file do you want to CREATE or UPDATE?
|
||||
What function do you want to CREATE or UPDATE?
|
||||
What are details you want to add to drive the code changes?
|
||||
```
|
||||
3. [Third task - what is the third task?]
|
||||
```aider
|
||||
What prompt would you run to complete this task?
|
||||
What file do you want to CREATE or UPDATE?
|
||||
What function do you want to CREATE or UPDATE?
|
||||
What are details you want to add to drive the code changes?
|
||||
```
|
7
snippets/org-mode/short-babel-source-block
Normal file
7
snippets/org-mode/short-babel-source-block
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: short babel source block
|
||||
# key: <s
|
||||
# --
|
||||
#+BEGIN_SRC $1
|
||||
$0
|
||||
#+END_SRC
|
Loading…
Reference in a new issue