Know Which Suggestion Came With a License
A routine for flagged suggestions that resemble open-source code: decide licenses up front, record attribution, or rewrite from behavior.
به چه درد میخورد
پیشنهادهایی که شبیه کد متنباز هستند نشانهگذاری میشوند؛ مشکل جایی است که با عجله قبولشان میکنی و بعد هیچکس نمیداند از کجا آمدهاند. این روال میگوید پیش از شروع پروژه چه مجوزهایی را میپذیری، سر هر پیشنهاد نشانهدار چه کار کنی، و چرا بازنویسی خطبهخط راهحل نیست. ثبت نکردن منبع یعنی اصلا منبع ندادی.
خود اسکیل
Do this once, then on every flagged suggestion. Once: - Turn on the code reference setting, so suggestions resembling known open-source code are flagged with their repository and license. - Write down, before you are in a hurry, which licenses this project can accept. Most commercial work cannot take copyleft. On every flagged suggestion: 1. Stop. Do not accept it to clean up later. Once it is in the file and committed, nobody will remember where it came from. 2. Read the license it names. If it is outside your accepted list, reject the suggestion outright. 3. If it is acceptable, record the attribution now: repository, license, and date, in a comment beside the code or in a NOTICE file. Attribution you did not record is attribution you did not give. 4. If you cannot use it, do not paraphrase it line by line. Close the suggestion, write the behavior you need in one sentence, and implement from the sentence. Every release: - Read the reference log for the whole project, not just today's file, and confirm every entry still has a matching attribution. - Ask whether any flagged block has since been copied into another file. Failure this prevents: a customer's legal review finding licensed code inside a proprietary product, with no record of how it arrived and nobody left who wrote it.
نصبش چطور است
1. Open the tool and start a new conversation, project or template. 2. Paste the text below wherever the tool keeps standing instructions — usually called system prompt, instructions, or persona. 3. Save it so it applies to every run rather than a single message.